summaryrefslogtreecommitdiff
path: root/src/utils.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-02-04 03:07:27 -0500
committerJohn Wiegley <johnw@newartisans.com>2011-02-04 03:07:47 -0500
commitc9730d781c33e5cbece892f78008e379cfabe2e2 (patch)
tree1b5128f1ac5b0647fa9e9e55afa5195c97efc101 /src/utils.cc
parent67aadeb80894d7683f5e2e1b2bf29520eb42da41 (diff)
downloadfork-ledger-c9730d781c33e5cbece892f78008e379cfabe2e2.tar.gz
fork-ledger-c9730d781c33e5cbece892f78008e379cfabe2e2.tar.bz2
fork-ledger-c9730d781c33e5cbece892f78008e379cfabe2e2.zip
Fixed compiler warnings when building with Clang
Diffstat (limited to 'src/utils.cc')
-rw-r--r--src/utils.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/utils.cc b/src/utils.cc
index dce804ff..0cfe9e90 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -544,7 +544,7 @@ static inline void stream_memory_size(std::ostream& out, std::size_t size)
static bool logger_has_run = false;
static ptime logger_start;
-bool logger_func(log_level_t level)
+void logger_func(log_level_t level)
{
if (! logger_has_run) {
logger_has_run = true;
@@ -595,8 +595,6 @@ bool logger_func(log_level_t level)
*_log_stream << ' ' << _log_buffer.str() << std::endl;
_log_buffer.clear();
_log_buffer.str("");
-
- return true;
}
} // namespace ledger