aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli
diff options
context:
space:
mode:
authorDaniel Neus <[email protected]>2015-12-22 21:50:43 +0100
committerDaniel Neus <[email protected]>2015-12-22 21:50:43 +0100
commitaedb8d8ef646ed480296eb0a53513c74475cef08 (patch)
treeb57a9fc558d859baf39730278b7f56d881c31e6e /src/cli
parenta589d7a2ede70871d3f563ed34cdd3c10046e5c2 (diff)
some trivial compiler/PVS-Studio warning fixes
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/cli.h2
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);
}