chiark / gitweb /
nspawn: tell coverity that we ignore return value
[elogind.git] / src / nspawn / nspawn.c
index 136933ec6cdb3d8c07f68da76b1c4c405d059c7a..300b6dffe2ad663e61997d70fa068cf5244b73cb 100644 (file)
@@ -2823,7 +2823,7 @@ static int dissect_image(
                 return -errno;
         }
 
                 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");
 
         is_gpt = streq_ptr(pttype, "gpt");
         is_mbr = streq_ptr(pttype, "dos");