- Enabled compiler warnings, which were off.  Yikes.
- Fixed all compiler warnings on OSX.
This commit is contained in:
Paul Beckingham 2011-05-28 23:59:43 -04:00
parent 36e24fa1fb
commit 0260aff441
40 changed files with 121 additions and 82 deletions

View file

@ -46,7 +46,7 @@ CmdHistoryMonthly::CmdHistoryMonthly ()
}
////////////////////////////////////////////////////////////////////////////////
int CmdHistoryMonthly::execute (const std::string& command_line, std::string& output)
int CmdHistoryMonthly::execute (const std::string&, std::string& output)
{
int rc = 0;
std::map <time_t, int> groups; // Represents any month with data
@ -202,7 +202,7 @@ CmdHistoryAnnual::CmdHistoryAnnual ()
}
////////////////////////////////////////////////////////////////////////////////
int CmdHistoryAnnual::execute (const std::string& command_line, std::string& output)
int CmdHistoryAnnual::execute (const std::string&, std::string& output)
{
int rc = 0;
std::map <time_t, int> groups; // Represents any month with data
@ -355,7 +355,7 @@ CmdGHistoryMonthly::CmdGHistoryMonthly ()
}
////////////////////////////////////////////////////////////////////////////////
int CmdGHistoryMonthly::execute (const std::string& command_line, std::string& output)
int CmdGHistoryMonthly::execute (const std::string&, std::string& output)
{
int rc = 0;
std::map <time_t, int> groups; // Represents any month with data
@ -551,7 +551,7 @@ CmdGHistoryAnnual::CmdGHistoryAnnual ()
}
////////////////////////////////////////////////////////////////////////////////
int CmdGHistoryAnnual::execute (const std::string& command_line, std::string& output)
int CmdGHistoryAnnual::execute (const std::string&, std::string& output)
{
int rc = 0;
std::map <time_t, int> groups; // Represents any month with data