diff options
author | John Wiegley <johnw@newartisans.com> | 2008-09-19 06:55:07 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-09-19 06:55:07 -0400 |
commit | 43ba0bb03807eea3fdcd4dd40fba10b00f823e24 (patch) | |
tree | 38e1ce20400744158f27bd2a9b800416f0d20479 | |
parent | a3a65c3a73c6f3fed3a68d9bb556c79885f0e2a0 (diff) | |
download | fork-ledger-43ba0bb03807eea3fdcd4dd40fba10b00f823e24.tar.gz fork-ledger-43ba0bb03807eea3fdcd4dd40fba10b00f823e24.tar.bz2 fork-ledger-43ba0bb03807eea3fdcd4dd40fba10b00f823e24.zip |
Corrected a harmless warning.
-rw-r--r-- | src/value.cc | 2 |
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 |