summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-09-19 06:55:07 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-09-19 06:55:07 -0400
commit43ba0bb03807eea3fdcd4dd40fba10b00f823e24 (patch)
tree38e1ce20400744158f27bd2a9b800416f0d20479
parenta3a65c3a73c6f3fed3a68d9bb556c79885f0e2a0 (diff)
downloadfork-ledger-43ba0bb03807eea3fdcd4dd40fba10b00f823e24.tar.gz
fork-ledger-43ba0bb03807eea3fdcd4dd40fba10b00f823e24.tar.bz2
fork-ledger-43ba0bb03807eea3fdcd4dd40fba10b00f823e24.zip
Corrected a harmless warning.
-rw-r--r--src/value.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc
index ea0bdf7b..ef908f59 100644
--- a/src/value.cc
+++ b/src/value.cc
@@ -1265,6 +1265,7 @@ bool value_t::is_realzero() const
default:
throw_(value_error, "Cannot determine if " << label() << " is really zero");
}
+ return false;
}
bool value_t::is_zero() const
@@ -1295,6 +1296,7 @@ bool value_t::is_zero() const
default:
throw_(value_error, "Cannot determine if " << label() << " is zero");
}
+ return false;
}
value_t value_t::value(const optional<datetime_t>& moment) const