mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
coverity: ignore ret val
Since we intentionaly do not want to check them, cast result values to void.
This commit is contained in:
parent
d11617864a
commit
bcd6deea18
@ -495,9 +495,10 @@ static int _blkid_wipe(blkid_probe probe, struct device *dev, const char *name,
|
|||||||
offset_value = strtoll(offset, NULL, 10);
|
offset_value = strtoll(offset, NULL, 10);
|
||||||
|
|
||||||
if (!usage)
|
if (!usage)
|
||||||
blkid_probe_lookup_value(probe, "USAGE", &usage, NULL);
|
(void) blkid_probe_lookup_value(probe, "USAGE", &usage, NULL);
|
||||||
blkid_probe_lookup_value(probe, "LABEL", &label, NULL);
|
(void) blkid_probe_lookup_value(probe, "LABEL", &label, NULL);
|
||||||
blkid_probe_lookup_value(probe, "UUID", &uuid, NULL);
|
(void) blkid_probe_lookup_value(probe, "UUID", &uuid, NULL);
|
||||||
|
/* Return values ignored here, in the worst case we print NULL */
|
||||||
|
|
||||||
log_verbose("Found existing signature on %s at offset %s: LABEL=\"%s\" "
|
log_verbose("Found existing signature on %s at offset %s: LABEL=\"%s\" "
|
||||||
"UUID=\"%s\" TYPE=\"%s\" USAGE=\"%s\"",
|
"UUID=\"%s\" TYPE=\"%s\" USAGE=\"%s\"",
|
||||||
|
Loading…
Reference in New Issue
Block a user