diff options
author | Daniel Neus <[email protected]> | 2015-12-22 21:50:43 +0100 |
---|---|---|
committer | Daniel Neus <[email protected]> | 2015-12-22 21:50:43 +0100 |
commit | aedb8d8ef646ed480296eb0a53513c74475cef08 (patch) | |
tree | b57a9fc558d859baf39730278b7f56d881c31e6e /src/cli | |
parent | a589d7a2ede70871d3f563ed34cdd3c10046e5c2 (diff) |
some trivial compiler/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 fdc83e97b..df7e345f5 100644 --- a/src/cli/cli.h +++ b/src/cli/cli.h @@ -371,7 +371,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); } |