Fix CID 171497, ignore return value from remove()

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2016-10-04 12:37:36 +02:00
parent 8f05b36551
commit 75b1ac8199
+1 -1
View File
@@ -123,7 +123,7 @@ static int do_clean(const char *fpath, const struct stat *UNUSED(sb), int UNUSED
if (ftwbuf->level == 0)
return 1;
remove(fpath);
(void)remove(fpath);
return 0;
}