- Timestamp:
- 11/30/20 03:40:28 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/loggers/loggers.cpp
r874 r1037 162 162 msg = ssprintf("%d error(s)", getErrorCount()); 163 163 int w; 164 if ( w = getWarningCount() - getErrorCount())164 if ((w = getWarningCount() - getErrorCount())) 165 165 msg += ssprintf("%s%d warning(s)", (getErrorCount() ? ", " : ""), w); 166 if ( w = getInfoCount() - getWarningCount())166 if ((w = getInfoCount() - getWarningCount())) 167 167 msg += ssprintf("%s%d message(s)", (getWarningCount() ? ", " : ""), w); 168 168 return msg;
Note: See TracChangeset
for help on using the changeset viewer.