main: remove superflous check

pnode cannot be NULL.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
Giuseppe Scrivano 2020-04-30 11:03:57 +02:00
parent 33a3a7970e
commit b947555f87
No known key found for this signature in database
GPG Key ID: E4730F97F60286ED

2
main.c
View File

@ -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);