summaryrefslogtreecommitdiff
path: root/src/draft.cc
diff options
context:
space:
mode:
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