From 734cbab2a1a19fe33ee8f8090354277ed36ec8e7 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Fri, 25 Feb 2011 18:26:31 -0600 Subject: [PATCH] small cleanup --- src/Bookkeeper.cpp | 3 --- src/Bookkeeper.h | 1 - 2 files changed, 4 deletions(-) diff --git a/src/Bookkeeper.cpp b/src/Bookkeeper.cpp index 89b6dc18b6..3798a26d17 100644 --- a/src/Bookkeeper.cpp +++ b/src/Bookkeeper.cpp @@ -10,7 +10,6 @@ #include "XmlFileUtil.h" #include - Bookkeeper* BOOKKEEPER = NULL; // global and accessable from anywhere in our program static const RString COINS_DAT = "Save/Coins.xml"; @@ -18,7 +17,6 @@ static const RString COINS_DAT = "Save/Coins.xml"; Bookkeeper::Bookkeeper() { ClearAll(); - ReadFromDisk(); } @@ -172,7 +170,6 @@ int Bookkeeper::GetCoinsTotal() const return GetNumCoinsInRange( m_mapCoinsForHour.begin(), m_mapCoinsForHour.end() ); } - void Bookkeeper::GetCoinsLastDays( int coins[NUM_LAST_DAYS] ) const { time_t lOldTime = time(NULL); diff --git a/src/Bookkeeper.h b/src/Bookkeeper.h index 07272e7928..b1014c04f5 100644 --- a/src/Bookkeeper.h +++ b/src/Bookkeeper.h @@ -61,7 +61,6 @@ private: map m_mapCoinsForHour; }; - extern Bookkeeper* BOOKKEEPER; // global and accessable from anywhere in our program #endif