diff options
author | Jack Lloyd <[email protected]> | 2015-12-26 22:08:02 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-12-26 22:08:02 -0500 |
commit | fce8f2149757b6b234d89685e58db79ade27040a (patch) | |
tree | 8d718cc72ef23cdcf8d9f6a156ed3b61d1879e63 /src/cli | |
parent | c2515f7b098a5569cb97a134ffa83fc475cac07c (diff) | |
parent | 8b7a31fbfcbbd47f34f4f4edad4d05f25a9d0ecd (diff) |
Merge pull request #378 from neusdan/warning_fixes
Some trivial compiler and PVS-Studio warning fixes
Diffstat (limited to 'src/cli')
-rw-r--r-- | src/cli/cli.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/cli.h b/src/cli/cli.h index 8c37b8728..85d6770ba 100644 --- a/src/cli/cli.h +++ b/src/cli/cli.h @@ -372,7 +372,7 @@ class Command { return static_cast<size_t>(std::stoul(s)); } - catch(std::exception& e) + catch(std::exception&) { throw CLI_Usage_Error("Invalid integer value '" + s + "' for option " + opt_name); } |