summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2026-03-03 00:24:25 +0100
committerThomas Voss <mail@thomasvoss.com> 2026-03-03 00:24:25 +0100
commit9ec3f88a38e074cdaf5db39d7221c254a8d957f8 (patch)
tree2db3512ea1ff349daaca3eefa64ea1dc342b5512
parent25b3393dc477547c2d6b1e3515c8340fb0db1a13 (diff)
Silence compiler warning
-rw-r--r--oryxc/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/oryxc/src/main.rs b/oryxc/src/main.rs
index c833e6d..1b5577f 100644
--- a/oryxc/src/main.rs
+++ b/oryxc/src/main.rs
@@ -41,7 +41,7 @@ impl Flags {
Short('s') | Long("error-style") => {
/* TODO: Check for error (user could pass the flag twice) */
/* TODO: Don’t unwrap */
- errors::ERROR_STYLE.set(
+ let _ = errors::ERROR_STYLE.set(
match parser.value()?.to_str().unwrap() {
"oneline" => errors::ErrorStyle::OneLine,
"standard" => errors::ErrorStyle::Standard,