Skip to content

Commit

Permalink
Fix missing default value in ldp_log::write
Browse files Browse the repository at this point in the history
  • Loading branch information
nassibnassar committed Dec 26, 2023
1 parent 0da06dd commit 50cbd17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ void ldp_log::write(log_level lv, const char* type, const string& table,
if (console && !quiet)
fprintf(stderr, "%s\n", printmsg.c_str());
return;
default:
level_str = "";
}

// Log the message, and print if the log is not available.
Expand Down

0 comments on commit 50cbd17

Please sign in to comment.