summaryrefslogtreecommitdiff
path: root/value.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 /value.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 'value.cc')
-rw-r--r--value.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/value.cc b/value.cc
index 52d9fd6d..cc75be00 100644
--- a/value.cc
+++ b/value.cc
@@ -1879,6 +1879,9 @@ value_t value_t::value(const datetime_t& moment) const
throw new value_error("Cannot find the value of a pointer");
case SEQUENCE:
throw new value_error("Cannot find the value of a sequence");
+ default:
+ assert(0);
+ return value_t();
}
}