summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,