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/textual.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/textual.cc') diff --git a/src/textual.cc b/src/textual.cc index 800d0c4e..828a093d 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -611,7 +611,7 @@ void instance_t::automated_xact_directive(char * line) ae.release(); } - catch (const std::exception& err) { + catch (const std::exception&) { if (reveal_context) { add_error_context(_("While parsing automated transaction:")); add_error_context(source_context(pathname, pos, curr_pos, "> ")); @@ -657,7 +657,7 @@ void instance_t::period_xact_directive(char * line) } } - catch (const std::exception& err) { + catch (const std::exception&) { if (reveal_context) { add_error_context(_("While parsing periodic transaction:")); add_error_context(source_context(pathname, pos, curr_pos, "> ")); @@ -1359,7 +1359,7 @@ post_t * instance_t::parse_post(char * line, return post.release(); } - catch (const std::exception& err) { + catch (const std::exception&) { add_error_context(_("While parsing posting:")); add_error_context(line_context(buf, beg, len)); throw; @@ -1557,7 +1557,7 @@ xact_t * instance_t::parse_xact(char * line, return xact.release(); } - catch (const std::exception& err) { + catch (const std::exception&) { if (reveal_context) { add_error_context(_("While parsing transaction:")); add_error_context(source_context(xact->pos->pathname, -- cgit v1.2.3