Unverified Commit 9382362e by Donghwa Jeong Committed by Christian Brauner

coverity: #1425794

parent 8cf133e2
...@@ -2258,8 +2258,6 @@ static int do_includedir(const char *dirp, struct lxc_conf *lxc_conf) ...@@ -2258,8 +2258,6 @@ static int do_includedir(const char *dirp, struct lxc_conf *lxc_conf)
while ((direntp = readdir(dir))) { while ((direntp = readdir(dir))) {
const char *fnam; const char *fnam;
if (!direntp)
break;
fnam = direntp->d_name; fnam = direntp->d_name;
if (!strcmp(fnam, ".")) if (!strcmp(fnam, "."))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment