From 7ac17ccee61fb464b43c0f595b73b79d08d9ced8 Mon Sep 17 00:00:00 2001 From: Dan Pasanen Date: Wed, 11 Nov 2015 11:26:25 -0600 Subject: libblkid: remove various no-op variable checks * These cause warning errors since they will always evaluate to true Change-Id: Iecdacc40807095893af357a962e238a3d263ca5a --- libblkid/src/read.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libblkid/src/read.c') diff --git a/libblkid/src/read.c b/libblkid/src/read.c index 81ab0dfd6..99a9684c8 100644 --- a/libblkid/src/read.c +++ b/libblkid/src/read.c @@ -402,9 +402,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. -- cgit v1.2.3