From c9730d781c33e5cbece892f78008e379cfabe2e2 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 4 Feb 2011 03:07:27 -0500 Subject: Fixed compiler warnings when building with Clang --- src/utils.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/utils.cc') 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 -- cgit v1.2.3