diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-15 02:55:16 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:35:32 -0400 |
commit | a087e6ea97494d97580c97705c665cac317a0dc3 (patch) | |
tree | d771c7f88f5b6255cb46b2d69aeec9395b3f982d /balance.cc | |
parent | 691c29a696d2347faebd5663da9d1dc751f275eb (diff) | |
download | fork-ledger-a087e6ea97494d97580c97705c665cac317a0dc3.tar.gz fork-ledger-a087e6ea97494d97580c97705c665cac317a0dc3.tar.bz2 fork-ledger-a087e6ea97494d97580c97705c665cac317a0dc3.zip |
Cleared out all warnings; started work on getting Python up again.
Diffstat (limited to 'balance.cc')
-rw-r--r-- | balance.cc | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -64,10 +64,10 @@ datetime_t balance_t::date() const for (amounts_map::const_iterator i = amounts.begin(); i != amounts.end(); i++) { - datetime_t date = (*i).second.date(); - if (! temp && date) - temp = date; - else if (temp != date) + datetime_t tdate = (*i).second.date(); + if (! temp && tdate) + temp = tdate; + else if (temp != tdate) return datetime_t(); } @@ -320,6 +320,7 @@ balance_t::operator amount_t() const } // namespace ledger +#if 0 #ifdef USE_BOOST_PYTHON #include <boost/python.hpp> @@ -528,3 +529,4 @@ void export_balance() } #endif // USE_BOOST_PYTHON +#endif |