Skip to content

Commit

Permalink
Remove err message in closeLog method
Browse files Browse the repository at this point in the history
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
  • Loading branch information
iwamatsu committed Jun 26, 2012
1 parent dd73041 commit db1a036
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ LogUnit::openLog(const char * filename)
void
LogUnit::closeLog()
{
if (logFile.is_open()) {
if (logFile.is_open())
logFile.close();
} else {
cerr << APPNAME << ": closing Log file, while is already closed" << endl;
}
}

0 comments on commit db1a036

Please sign in to comment.