From 968a6f3c0ac4690a6fc74e8d84058bce91019c2e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 15 Jun 2010 10:12:04 +0100 Subject: Changes for building with Visual Studio 2008 --- src/option.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/option.cc') 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; -- cgit v1.2.3