summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-14 06:13:14 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:35:32 -0400
commit0e02961b00a9eb52cf3e1cbdbede7d5295a80b8f (patch)
tree8328fa28555c1ba64ee2eca5d3fbb6324f0a906c /textual.cc
parent608d4f59fe00269a23079d3bbae7f06ec9711e6a (diff)
downloadfork-ledger-0e02961b00a9eb52cf3e1cbdbede7d5295a80b8f.tar.gz
fork-ledger-0e02961b00a9eb52cf3e1cbdbede7d5295a80b8f.tar.bz2
fork-ledger-0e02961b00a9eb52cf3e1cbdbede7d5295a80b8f.zip
Cleaned up warnings revealed by building with Xcode.
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/textual.cc b/textual.cc
index b1c19308..b2370157 100644
--- a/textual.cc
+++ b/textual.cc
@@ -563,7 +563,6 @@ unsigned int textual_parser_t::parse(std::istream& in,
{
static bool added_auto_entry_hook = false;
static char line[MAX_LINE + 1];
- char c;
unsigned int count = 0;
unsigned int errors = 0;
@@ -830,7 +829,7 @@ unsigned int textual_parser_t::parse(std::istream& in,
}
default: {
- unsigned int first_line = linenum;
+ //unsigned int first_line = linenum;
unsigned long pos = end_pos;
if (entry_t * entry = parse_entry(in, line, journal,
account_stack.front(),