]> sourceware.org Git - lvm2.git/commitdiff
cov: ignore error of vsnprintf
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 15 Oct 2018 15:37:30 +0000 (17:37 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 15 Oct 2018 15:49:44 +0000 (17:49 +0200)
device_mapper/vdo/status.c

index 6ae7b8424de52faad0f6c54dfd70f9ce9e901157..53dfe4d2d4ec31fa5a7dfca8b79925017366991b 100644 (file)
@@ -154,7 +154,7 @@ static void _set_error(struct dm_vdo_status_parse_result *result, const char *fm
        va_list ap;
 
        va_start(ap, fmt);
-       vsnprintf(result->error, sizeof(result->error), fmt, ap);
+       (void) vsnprintf(result->error, sizeof(result->error), fmt, ap);
        va_end(ap);
 }
 
This page took 0.032093 seconds and 5 git commands to generate.