diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-15 10:12:04 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-15 05:14:00 -0400 |
commit | 968a6f3c0ac4690a6fc74e8d84058bce91019c2e (patch) | |
tree | 25874de7e90c34224c842e6b716ca9e82fe01028 /src/textual.cc | |
parent | 76b1ed68509d11308d50710f0542cef8fa437329 (diff) | |
download | fork-ledger-968a6f3c0ac4690a6fc74e8d84058bce91019c2e.tar.gz fork-ledger-968a6f3c0ac4690a6fc74e8d84058bce91019c2e.tar.bz2 fork-ledger-968a6f3c0ac4690a6fc74e8d84058bce91019c2e.zip |
Changes for building with Visual Studio 2008
Diffstat (limited to 'src/textual.cc')
-rw-r--r-- | src/textual.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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, |