Code changes for cppcheck 2.1 warnings
This commit is contained in:
@@ -569,6 +569,7 @@ log_message(const enum logLevels lvl, const char *msg, ...)
|
||||
if (len > LOG_BUFFER_SIZE)
|
||||
{
|
||||
log_message(LOG_LEVEL_WARNING, "next message will be truncated");
|
||||
len = LOG_BUFFER_SIZE;
|
||||
}
|
||||
|
||||
/* forcing the end of message string */
|
||||
|
||||
Reference in New Issue
Block a user