Remove attempts to quieten compiler static-checking (more)
[exim.git] / src / src / spool_mbox.c
index 4f3c4d25bb26de9a6db786685927843131cb05d7..9f1efbf59f41353fc6a1d0ef9775916886377eb8 100644 (file)
@@ -226,12 +226,11 @@ if (spool_mbox_ok && !f.no_mbox_unspool)
   for (struct dirent *entry; entry = readdir(tempdir); )
     {
     uschar *name = US entry->d_name;
-    int dummy;
     if (Ustrcmp(name, US".") == 0 || Ustrcmp(name, US"..") == 0) continue;
 
     file_path = string_sprintf("%s/%s", mbox_path, name);
     debug_printf("unspool_mbox(): unlinking '%s'\n", file_path);
-    dummy = unlink(CS file_path); dummy = dummy;       /* compiler quietening */
+    (void) unlink(CS file_path);
     }
 
   closedir(tempdir);