chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nspawn: tell coverity that we ignore return value
[elogind.git]
/
src
/
nspawn
/
nspawn.c
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index 136933ec6cdb3d8c07f68da76b1c4c405d059c7a..300b6dffe2ad663e61997d70fa068cf5244b73cb 100644
(file)
--- 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");