summaryrefslogtreecommitdiff
path: root/src/textual.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/textual.cc
parentbed70c8670cd328447f61439832ffc7b3a7affb4 (diff)
downloadfork-ledger-add6f6ca2a711e3337f83bd15be5a03e22842591.tar.gz
fork-ledger-add6f6ca2a711e3337f83bd15be5a03e22842591.tar.bz2
fork-ledger-add6f6ca2a711e3337f83bd15be5a03e22842591.zip
Removed unused variables
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 6dd0caa6..ecdf53d4 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -1165,11 +1165,7 @@ post_t * instance_t::parse_post(char * line,
// Parse the optional amount
- bool saw_amount = false;
-
if (next && *next && (*next != ';' && *next != '=')) {
- saw_amount = true;
-
beg = next - line;
ptristream stream(next, len - beg);
@@ -1569,6 +1565,7 @@ xact_t * instance_t::parse_xact(char * line,
}
}
+#if 0
if (xact->_state == item_t::UNCLEARED) {
item_t::state_t result = item_t::CLEARED;
@@ -1582,6 +1579,7 @@ xact_t * instance_t::parse_xact(char * line,
}
}
}
+#endif
xact->pos->end_pos = curr_pos;
xact->pos->end_line = linenum;