summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-03-08 16:09:53 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:07 -0400
commit56b5f5fccedef6e87c8bb64ad2d9ea559b480384 (patch)
treece799e9d8a5b2edd25703da28d37208acf3c6436
parentb671d2934b64c7b693cacfd06ca0a5c08e4b24c5 (diff)
downloadfork-ledger-56b5f5fccedef6e87c8bb64ad2d9ea559b480384.tar.gz
fork-ledger-56b5f5fccedef6e87c8bb64ad2d9ea559b480384.tar.bz2
fork-ledger-56b5f5fccedef6e87c8bb64ad2d9ea559b480384.zip
*** empty log message ***
-rw-r--r--textual.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/textual.cc b/textual.cc
index 39a5ae9f..94beb000 100644
--- a/textual.cc
+++ b/textual.cc
@@ -308,10 +308,7 @@ bool textual_parser_t::test(std::istream& in) const
{
char buf[5];
- assert(in.good());
in.read(buf, 5);
- std::cerr << "buf (" << buf[0] << ")" << std::endl;
- assert(in.good());
if (std::strncmp(buf, "<?xml", 5) == 0) {
#ifdef HAVE_XMLPARSE
throw parse_error(path, linenum, "Ledger file contains XML data, but no XML support present");