summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/utils.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/utils.c b/src/utils.c
index e4425f3..00fafea 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -970,10 +970,7 @@ str_toupper (char *s)
void
file_close (FILE *f, const char *pos)
{
- int ret;
-
- ret = fclose (f);
- EXIT_IF (ret != 0, _("Error when closing file at %s"), pos);
+ EXIT_IF ((fclose (f)) != 0, _("Error when closing file at %s"), pos);
}
/*