[disk-utils/cfdisk.c:1181] -> [disk-utils/cfdisk.c:1181]: (warning) Possible null pointer dereference: data - otherwise it is redundant to check it against null. Signed-off-by: Boris Egorov <egorov@xxxxxxxxx> --- disk-utils/cfdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk-utils/cfdisk.c b/disk-utils/cfdisk.c index 6f26a3d..4627107 100644 --- a/disk-utils/cfdisk.c +++ b/disk-utils/cfdisk.c @@ -1178,7 +1178,7 @@ inline static int extra_insert_pair(struct cfdisk_line *l, const char *name, con assert(l); - if (!data && !*data) + if (!data || !*data) return 0; lsl = scols_table_new_line(l->extra, NULL); -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in