Skip to content

Commit

Permalink
Correctly initialize warnCount
Browse files Browse the repository at this point in the history
  • Loading branch information
grunt-lucas committed Aug 8, 2023
1 parent 0261d9b commit 13866a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/errors_warnings.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ struct ErrorsAndWarnings {
WarningMode transparentRepresentativeAnimTileMode;

ErrorsAndWarnings()
: errCount{0}, printErrors{true}, colorPrecisionLossMode{WarningMode::OFF},
: errCount{0}, warnCount{0}, printErrors{true}, colorPrecisionLossMode{WarningMode::OFF},
paletteAllocEfficMode{WarningMode::OFF}, transparentRepresentativeAnimTileMode{WarningMode::OFF}
{
}
Expand Down

0 comments on commit 13866a9

Please sign in to comment.