summaryrefslogtreecommitdiff
path: root/src/filters.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-15 06:28:30 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-15 06:28:30 -0400
commitbe91f38ab4ccdba6006106d45fd7061db2110470 (patch)
tree25874de7e90c34224c842e6b716ca9e82fe01028 /src/filters.cc
parentf3bedb88b24ae8b2047ad86e57b161265c2812f5 (diff)
parent968a6f3c0ac4690a6fc74e8d84058bce91019c2e (diff)
downloadfork-ledger-be91f38ab4ccdba6006106d45fd7061db2110470.tar.gz
fork-ledger-be91f38ab4ccdba6006106d45fd7061db2110470.tar.bz2
fork-ledger-be91f38ab4ccdba6006106d45fd7061db2110470.zip
Merge branch 'next'
Diffstat (limited to 'src/filters.cc')
-rw-r--r--src/filters.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/filters.cc b/src/filters.cc
index 69183991..03baadc6 100644
--- a/src/filters.cc
+++ b/src/filters.cc
@@ -93,7 +93,7 @@ pass_down_posts::pass_down_posts(post_handler_ptr handler,
try {
item_handler<post_t>::operator()(*post);
}
- catch (const std::exception& err) {
+ catch (const std::exception&) {
add_error_context(item_context(*post, _("While handling posting")));
throw;
}
@@ -256,9 +256,9 @@ void anonymize_posts::render_commodity(amount_t& amt)
void anonymize_posts::operator()(post_t& post)
{
- SHA1 sha;
- uint_least32_t message_digest[5];
- bool copy_xact_details = false;
+ SHA1 sha;
+ unsigned int message_digest[5];
+ bool copy_xact_details = false;
if (last_xact != post.xact) {
temps.copy_xact(*post.xact);