libarchive: open_zipped() does not need to check extensions for e.g. gzip
[oweals/busybox.git] / libbb / fclose_nonstdin.c
index 5ce9d5b486a9244b6c128a0acf122b87fa7d8b5f..1b14413474ecab9a9aa6e8c389335fc5c77b58aa 100644 (file)
@@ -18,7 +18,8 @@ int FAST_FUNC fclose_if_not_stdin(FILE *f)
 {
        /* Some more paranoid applets want ferror() check too */
        int r = ferror(f); /* NB: does NOT set errno! */
-       if (r) errno = EIO; /* so we'll help it */
+       if (r)
+               errno = EIO; /* so we'll help it */
        if (f != stdin)
                return (r | fclose(f)); /* fclose does set errno on error */
        return r;