From 75b1ac8199147b997c19024d40ea4889c3a5429d Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 4 Oct 2016 12:37:36 +0200 Subject: [PATCH] Fix CID 171497, ignore return value from remove() Signed-off-by: Joachim Nilsson --- finit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finit.c b/finit.c index 51261202..f95b61dc 100644 --- a/finit.c +++ b/finit.c @@ -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; }