diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-19 21:02:58 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-19 21:02:58 -0400 |
commit | 150abce0dbd11863e4a8309fd306a4c2667501f8 (patch) | |
tree | f2ebe8db57792e268d2ea8008f5ec19800f0895a | |
parent | 931e5aa12dd3cbab5590b6fcb7a251c77d435af0 (diff) | |
download | ledger-150abce0dbd11863e4a8309fd306a4c2667501f8.tar.gz ledger-150abce0dbd11863e4a8309fd306a4c2667501f8.tar.bz2 ledger-150abce0dbd11863e4a8309fd306a4c2667501f8.zip |
Commented out code that's not being used yet.
-rw-r--r-- | binary.cc | 2 | ||||
-rw-r--r-- | pyinterp.h | 2 | ||||
-rw-r--r-- | times.cc | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -654,9 +654,9 @@ unsigned int read_journal(std::istream& in, base_commodities = base_commodities_next = new commodity_t::base_t *[bc_count]; for (commodity_t::ident_t i = 0; i < bc_count; i++) { +#if 0 commodity_t::base_t * base = read_commodity_base(data); -#if 0 // jww (2008-04-22): How does the pool get created here? amount_t::current_pool->commodities.push_back(commodity); @@ -32,7 +32,7 @@ #ifndef _PYINTERP_H #define _PYINTERP_H -#include "xpath.h" +#include "valexpr.h" #include <boost/python.hpp> #include <Python.h> @@ -51,6 +51,7 @@ int current_year(current_moment.date().year()); string input_time_format; string output_time_format = "%Y/%m/%d"; +#if 0 static const char * formats[] = { "%Y/%m/%d", "%m/%d", @@ -65,6 +66,7 @@ static const char * formats[] = { "%Y", NULL }; +#endif bool day_before_month = false; static bool day_before_month_initialized = false; @@ -136,8 +138,6 @@ datetime_t interval_t::first(const datetime_t& moment) const datetime_t interval_t::increment(const datetime_t& moment) const { - struct std::tm * desc = NULL; - #if 0 struct std::tm * desc = std::localtime(&moment.when); |