From: girst Date: Thu, 8 Nov 2018 10:15:41 +0000 (+0100) Subject: fix -Werror=misleading-indentation X-Git-Url: https://git.gir.st/base65536.git/commitdiff_plain fix -Werror=misleading-indentation --- diff --git a/main.c b/main.c index 7669227..c4072e4 100644 --- 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) {