From: Zbigniew Jędrzejewski-Szmek Date: Sat, 14 Mar 2015 02:10:15 +0000 (-0500) Subject: nspawn: tell coverity that we ignore return value X-Git-Tag: v220~757 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=48861960acbdf93000087bbf546b6589778fb460;p=thirdparty%2Fsystemd.git nspawn: tell coverity that we ignore return value CID #1271353. --- diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index 136933ec6cd..300b6dffe2a 100644 --- a/src/nspawn/nspawn.c +++ b/src/nspawn/nspawn.c @@ -2823,7 +2823,7 @@ static int dissect_image( return -errno; } - blkid_probe_lookup_value(b, "PTTYPE", &pttype, NULL); + (void) blkid_probe_lookup_value(b, "PTTYPE", &pttype, NULL); is_gpt = streq_ptr(pttype, "gpt"); is_mbr = streq_ptr(pttype, "dos");