summaryrefslogtreecommitdiff
path: root/src/draft.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-08-18 14:46:36 -0400
committerJohn Wiegley <johnw@newartisans.com>2011-08-18 14:46:36 -0400
commitadd6f6ca2a711e3337f83bd15be5a03e22842591 (patch)
tree7d0735ef510319f1eda492c5d3876bc063eefde5 /src/draft.cc
parentbed70c8670cd328447f61439832ffc7b3a7affb4 (diff)
downloadfork-ledger-add6f6ca2a711e3337f83bd15be5a03e22842591.tar.gz
fork-ledger-add6f6ca2a711e3337f83bd15be5a03e22842591.tar.bz2
fork-ledger-add6f6ca2a711e3337f83bd15be5a03e22842591.zip
Removed unused variables
Diffstat (limited to 'src/draft.cc')
-rw-r--r--src/draft.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/draft.cc b/src/draft.cc
index ca2d35df..0cce1d5d 100644
--- a/src/draft.cc
+++ b/src/draft.cc
@@ -66,16 +66,6 @@ void draft_t::xact_template_t::dump(std::ostream& out) const
<< _("<Posting copied from last related transaction>")
<< std::endl;
} else {
- bool has_only_from = true;
- bool has_only_to = true;
-
- foreach (const post_template_t& post, posts) {
- if (post.from)
- has_only_to = false;
- else
- has_only_from = false;
- }
-
foreach (const post_template_t& post, posts) {
straccstream accum;
out << std::endl