Skip to content

Commit

Permalink
Fix pclewis#1
Browse files Browse the repository at this point in the history
I have forgotten the initialization of pointer value in logger class. Recent windows update revealed this problem. Unassigned pointer member is no longer NULL?
  • Loading branch information
Makopo committed Feb 22, 2014
1 parent 48fd48a commit 29baa29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger.hh
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class Logger {
}

protected:
Logger() : errors(0), warnings(0), show_end(false), show_info(false), sort(true), show_error_codes(false), check_assertions(false), last_message(NULL), file(stderr) {};
Logger() : errors(0), warnings(0), show_end(false), show_info(false), sort(true), show_error_codes(false), check_assertions(false), file_path(NULL), last_message(NULL), file(stderr) {};
int errors;
int warnings;
bool show_end;
Expand Down

0 comments on commit 29baa29

Please sign in to comment.