summaryrefslogtreecommitdiff
path: root/xml.h
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 /xml.h
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 'xml.h')
-rw-r--r--xml.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xml.h b/xml.h
index 2ddb247a..5c91bc31 100644
--- a/xml.h
+++ b/xml.h
@@ -93,6 +93,7 @@ public:
virtual const char * text() const {
assert(0);
+ return NULL;
}
const char * name() const {
@@ -301,6 +302,7 @@ template <typename T>
inline parent_node_t * wrap_node(document_t * doc, T * item,
void * parent_node = NULL) {
assert(0);
+ return NULL;
}
template <>