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/generate.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/generate.cc') diff --git a/src/generate.cc b/src/generate.cc index fbfca342..05f754e6 100644 --- a/src/generate.cc +++ b/src/generate.cc @@ -367,13 +367,13 @@ post_t * generate_posts_iterator::operator()() post = posts(); } } - catch (std::exception& err) { + catch (std::exception&) { add_error_context(_("While parsing generated transaction (seed %1):") << seed); add_error_context(buf.str()); throw; } - catch (int status) { + catch (int) { add_error_context(_("While parsing generated transaction (seed %1):") << seed); add_error_context(buf.str()); -- cgit v1.2.3