summaryrefslogtreecommitdiff
path: root/src/option.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-15 06:28:30 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-15 06:28:30 -0400
commitbe91f38ab4ccdba6006106d45fd7061db2110470 (patch)
tree25874de7e90c34224c842e6b716ca9e82fe01028 /src/option.cc
parentf3bedb88b24ae8b2047ad86e57b161265c2812f5 (diff)
parent968a6f3c0ac4690a6fc74e8d84058bce91019c2e (diff)
downloadfork-ledger-be91f38ab4ccdba6006106d45fd7061db2110470.tar.gz
fork-ledger-be91f38ab4ccdba6006106d45fd7061db2110470.tar.bz2
fork-ledger-be91f38ab4ccdba6006106d45fd7061db2110470.zip
Merge branch 'next'
Diffstat (limited to 'src/option.cc')
-rw-r--r--src/option.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option.cc b/src/option.cc
index 16f7713d..dae0f0af 100644
--- a/src/option.cc
+++ b/src/option.cc
@@ -86,7 +86,7 @@ namespace {
opt(args);
}
- catch (const std::exception& err) {
+ catch (const std::exception&) {
if (name[0] == '-')
add_error_context(_("While parsing option '%1'") << name);
@@ -137,7 +137,7 @@ void process_environment(const char ** envp, const string& tag,
if (! value.empty())
process_option(string("$") + buf, string(buf), scope, q + 1, value);
}
- catch (const std::exception& err) {
+ catch (const std::exception&) {
add_error_context(_("While parsing environment variable option '%1':")
<< *p);
throw;