summaryrefslogtreecommitdiff
path: root/xpath.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 /xpath.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 'xpath.h')
-rw-r--r--xpath.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xpath.h b/xpath.h
index 5c364b6a..f62a3082 100644
--- a/xpath.h
+++ b/xpath.h
@@ -311,6 +311,7 @@ private:
if (&other == this)
return *this;
assert(0);
+ return *this;
}
void clear() {
@@ -606,6 +607,7 @@ public:
unsigned long * end_pos) const {
if (ptr)
ptr->write(out, relaxed, op_to_find, start_pos, end_pos);
+ return true;
}
public: