Commented out code that's not being used yet.

This commit is contained in:
John Wiegley 2008-07-19 21:02:58 -04:00
parent 931e5aa12d
commit 150abce0db
3 changed files with 4 additions and 4 deletions

View file

@ -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);

View file

@ -32,7 +32,7 @@
#ifndef _PYINTERP_H
#define _PYINTERP_H
#include "xpath.h"
#include "valexpr.h"
#include <boost/python.hpp>
#include <Python.h>

View file

@ -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);