summaryrefslogtreecommitdiff
path: root/src/generate.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-15 10:12:04 +0100
committerJohn Wiegley <johnw@newartisans.com>2010-06-15 05:14:00 -0400
commit968a6f3c0ac4690a6fc74e8d84058bce91019c2e (patch)
tree25874de7e90c34224c842e6b716ca9e82fe01028 /src/generate.cc
parent76b1ed68509d11308d50710f0542cef8fa437329 (diff)
downloadfork-ledger-968a6f3c0ac4690a6fc74e8d84058bce91019c2e.tar.gz
fork-ledger-968a6f3c0ac4690a6fc74e8d84058bce91019c2e.tar.bz2
fork-ledger-968a6f3c0ac4690a6fc74e8d84058bce91019c2e.zip
Changes for building with Visual Studio 2008
Diffstat (limited to 'src/generate.cc')
-rw-r--r--src/generate.cc4
1 files changed, 2 insertions, 2 deletions
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());