From b947555f87aa8da9fd94293cec598e05856ce2e0 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Thu, 30 Apr 2020 11:03:57 +0200 Subject: [PATCH] main: remove superflous check pnode cannot be NULL. Signed-off-by: Giuseppe Scrivano --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index f14552f..e50e6af 100644 --- a/main.c +++ b/main.c @@ -1760,7 +1760,7 @@ do_lookup_file (struct ovl_data *lo, fuse_ino_t parent, const char *name) char whpath[PATH_MAX]; const char *wh_name; - if (pnode && pnode->last_layer == it) + if (pnode->last_layer == it) stop_lookup = true; strconcat3 (path, PATH_MAX, pnode->path, "/", name);