Commit 23daac97 authored by Daniel Salzman's avatar Daniel Salzman

conf: fix loop termination (clang analyzer)

parent acd1b69c
......@@ -80,7 +80,7 @@ static void rm_dir(const char *path)
char *file = sprintf_alloc("%s/%s", path, entry->d_name);
if (file == NULL) {
ret = KNOT_ENOMEM;
continue;
break;
}
remove(file);
free(file);
......
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