diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-08 00:17:53 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-08 00:17:53 -0400 |
commit | afc592c52c94059feae55d9e4dac6e85f58a85c0 (patch) | |
tree | 56326599e7009c791a72648439a1daab3461845e /src | |
parent | b55564958933e39f834b29c1ba3877d03b57fe5b (diff) | |
download | ledger-afc592c52c94059feae55d9e4dac6e85f58a85c0.tar.gz ledger-afc592c52c94059feae55d9e4dac6e85f58a85c0.tar.bz2 ledger-afc592c52c94059feae55d9e4dac6e85f58a85c0.zip |
Fixed some spurious warnings in the non-debug build.
Diffstat (limited to 'src')
-rw-r--r-- | src/value.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/value.cc b/src/value.cc index ea52af1f..16d114ca 100644 --- a/src/value.cc +++ b/src/value.cc @@ -122,7 +122,9 @@ void value_t::storage_t::destroy() void value_t::initialize() { +#if defined(DEBUG_ON) LOGGER("value.initialize"); +#endif true_value = new storage_t; true_value->type = BOOLEAN; @@ -313,7 +315,9 @@ value_t::sequence_t value_t::to_sequence() const void value_t::in_place_simplify() { +#if defined(DEBUG_ON) LOGGER("amounts.values.simplify"); +#endif if (is_realzero()) { DEBUG_("Zeroing type " << static_cast<int>(type())); |