diff options
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, |