projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0b1209
)
nspawn: tell coverity that we ignore return value
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sat, 14 Mar 2015 02:10:15 +0000
(21:10 -0500)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sat, 14 Mar 2015 03:42:16 +0000
(23:42 -0400)
CID #1271353.
src/nspawn/nspawn.c
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index
136933e
..
300b6df
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");