summaryrefslogtreecommitdiffstats
path: root/libblkid/src/read.c
diff options
context:
space:
mode:
authorKarel Zak2016-06-14 13:55:27 +0200
committerKarel Zak2016-06-14 14:39:16 +0200
commit7f787ced5d401ccd56a82bb2b1202f1ea7164783 (patch)
tree2156288adc10a43c9509f1378fe60597f994e02f /libblkid/src/read.c
parentlibmount: don't check nonnull attributes for NULL [-Wnonnull-compare] (diff)
downloadkernel-qcow2-util-linux-7f787ced5d401ccd56a82bb2b1202f1ea7164783.tar.gz
kernel-qcow2-util-linux-7f787ced5d401ccd56a82bb2b1202f1ea7164783.tar.xz
kernel-qcow2-util-linux-7f787ced5d401ccd56a82bb2b1202f1ea7164783.zip
libblkid: don't check nonnull attributes for NULL [-Wnonnull-compare]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libblkid/src/read.c')
-rw-r--r--libblkid/src/read.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libblkid/src/read.c b/libblkid/src/read.c
index b7afe2cd2..c081baff5 100644
--- a/libblkid/src/read.c
+++ b/libblkid/src/read.c
@@ -395,9 +395,6 @@ void blkid_read_cache(blkid_cache cache)
int fd, lineno = 0;
struct stat st;
- if (!cache)
- return;
-
/*
* If the file doesn't exist, then we just return an empty
* struct so that the cache can be populated.