]> git.gir.st - base65536.git/commitdiff
fix -Werror=misleading-indentation master github/master
authorgirst <girst@users.noreply.github.com>
Thu, 8 Nov 2018 10:15:41 +0000 (11:15 +0100)
committergirst <girst@users.noreply.github.com>
Thu, 8 Nov 2018 10:15:41 +0000 (11:15 +0100)
main.c

diff --git a/main.c b/main.c
index 7669227f0dd0b94b9eb66060475e90e5a3a0cf72..c4072e4458ea588ee865094bf5f2f4e8c8b2f3e2 100644 (file)
--- a/main.c
+++ b/main.c
@@ -55,12 +55,13 @@ int main (int argc, char** argv) {
                fprintf (stderr, "%s: extra operand '%s'. \n", argv[0], argv[argc-1]);
                return 1;
        } else if (optind < argc) {
-               if (strcmp (argv [optind], "-") != 0)
+               if (strcmp (argv [optind], "-") != 0) {
                        op.f = fopen (argv[optind], "rb");
                        if (op.f == NULL) {
                                fprintf (stderr, "%s: %s: %s\n", argv[0], argv[optind], strerror(errno));
                                return 1;
                        }
+               }
         }
 
        if (op.d) {
Imprint / Impressum