summaryrefslogtreecommitdiff
path: root/times.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-19 21:02:58 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-19 21:02:58 -0400
commit150abce0dbd11863e4a8309fd306a4c2667501f8 (patch)
treef2ebe8db57792e268d2ea8008f5ec19800f0895a /times.cc
parent931e5aa12dd3cbab5590b6fcb7a251c77d435af0 (diff)
downloadfork-ledger-150abce0dbd11863e4a8309fd306a4c2667501f8.tar.gz
fork-ledger-150abce0dbd11863e4a8309fd306a4c2667501f8.tar.bz2
fork-ledger-150abce0dbd11863e4a8309fd306a4c2667501f8.zip
Commented out code that's not being used yet.
Diffstat (limited to 'times.cc')
-rw-r--r--times.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/times.cc b/times.cc
index 45bd6659..b90f71aa 100644
--- a/times.cc
+++ b/times.cc
@@ -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);