Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

Commit

Permalink
Fix for Clang warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraser Hutchison committed Aug 9, 2014
1 parent ecbebc9 commit 2f9df27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/maidsafe/common/log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ void ParseProgramOptions(const po::options_description& log_config, const std::s
unused_options.emplace_back(unused.c_str(), unused.c_str() + unused.size() + 1u);
}

#if USE_LOGGING
void DoCasts(int col_mode, const std::string& log_folder, ColourMode& colour_mode,
fs::path& log_folder_path) {
if (col_mode != -1) {
Expand All @@ -327,6 +328,7 @@ void DoCasts(int col_mode, const std::string& log_folder, ColourMode& colour_mod
}
log_folder_path = log_folder;
}
#endif

int GetLogLevel(std::string level) {
boost::to_lower(level);
Expand Down

0 comments on commit 2f9df27

Please sign in to comment.