More bug fixes and dead code elimination
[xonotic/gmqcc.git] / test.c
diff --git a/test.c b/test.c
index cdb90415f4ed8532ae067b0ccb2a632206b33f59..29aefc10106093b3cce7a4ccf90e457fb06965b4 100644 (file)
--- a/test.c
+++ b/test.c
@@ -896,7 +896,7 @@ static void task_destroy(void) {
             else
                 util_debug("TEST", "removed stderr log file: %s\n", task_tasks[i].stderrlogfile);
 
-            remove(task_tasks[i].tmpl->tempfilename);
+            (void)!remove(task_tasks[i].tmpl->tempfilename);
         }
 
         /* free util_strdup data for log files */