diff --git a/lib/log/log.c b/lib/log/log.c index 34c92fee4..0ca9a2ad2 100644 --- a/lib/log/log.c +++ b/lib/log/log.c @@ -276,8 +276,8 @@ void print_log(int level, const char *file, int line, int dm_errno, log_it: if (!_log_suppress) { if (verbose_level() > _LOG_DEBUG) - dm_snprintf(locn, sizeof(locn), "#%s:%d ", - file, line); + (void) dm_snprintf(locn, sizeof(locn), "#%s:%d ", + file, line); else locn[0] = '\0';