diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-14 06:13:14 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:35:32 -0400 |
commit | 0e02961b00a9eb52cf3e1cbdbede7d5295a80b8f (patch) | |
tree | 8328fa28555c1ba64ee2eca5d3fbb6324f0a906c /gnucash.cc | |
parent | 608d4f59fe00269a23079d3bbae7f06ec9711e6a (diff) | |
download | fork-ledger-0e02961b00a9eb52cf3e1cbdbede7d5295a80b8f.tar.gz fork-ledger-0e02961b00a9eb52cf3e1cbdbede7d5295a80b8f.tar.bz2 fork-ledger-0e02961b00a9eb52cf3e1cbdbede7d5295a80b8f.zip |
Cleaned up warnings revealed by building with Xcode.
Diffstat (limited to 'gnucash.cc')
-rw-r--r-- | gnucash.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -358,14 +358,14 @@ unsigned int gnucash_parser_t::parse(std::istream& in, in.getline(buf, BUFSIZ - 1); std::strcat(buf, "\n"); if (! XML_Parse(parser, buf, std::strlen(buf), in.eof())) { - unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; + //unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; const char * msg = XML_ErrorString(XML_GetErrorCode(parser)); XML_ParserFree(parser); throw new parse_error(msg); } if (! have_error.empty()) { - unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; + //unsigned long line = XML_GetCurrentLineNumber(parser) - offset++; parse_error err(have_error); std::cerr << "Error: " << err.what() << std::endl; have_error = ""; |