- Fixed compiler warnings on Solaris with --enable-debug=off.
This commit is contained in:
Paul Beckingham 2009-07-02 18:35:00 -04:00
parent c89a0bbbd8
commit c00e5138e0
2 changed files with 4 additions and 4 deletions

View file

@ -209,7 +209,7 @@ int TDB::loadPending (std::vector <Task>& tasks, Filter& filter)
Timer t ("TDB::loadPending");
std::string file;
int line_number;
int line_number = 1;
try
{

View file

@ -1443,9 +1443,9 @@ std::string handleReportCalendar ()
Date today;
bool getpendingdate = false;
int monthsToDisplay;
int mFrom;
int yFrom;
int monthsToDisplay = 1;
int mFrom = today.month ();
int yFrom = today.year ();
int mTo;
int yTo;