1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Trivial, add void to ignore dm_snprinf result

This commit is contained in:
Zdenek Kabelac 2011-08-11 19:21:42 +00:00
parent 40dbaac892
commit 4afdf187a1

View File

@ -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';