Skip to content

Commit 4ef31c3

Browse files
committed
fix clang tidy issue
1 parent a0378de commit 4ef31c3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/CLI/impl/Option_inl.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -396,9 +396,8 @@ CLI11_NODISCARD CLI11_INLINE std::string Option::get_flag_value(const std::strin
396396
return input_value;
397397
}
398398
return (val == 1) ? falseString : (val == (-1) ? trueString : std::to_string(-val));
399-
} else {
400-
return input_value;
401399
}
400+
return input_value;
402401
}
403402

404403
CLI11_INLINE Option *Option::add_result(std::string s) {

0 commit comments

Comments
 (0)