Fix misleading indentation in gcc/fortran/io.c
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 10 Dec 2015 15:11:37 +0000 (15:11 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Thu, 10 Dec 2015 15:11:37 +0000 (15:11 +0000)
Fix this warning:
../../../src/gcc/fortran/io.c: In function ‘match gfc_match_open()’:
../../../src/gcc/fortran/io.c:2003:4: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation]
    if (!compare_to_allowed_values ("DELIM", delim, NULL, NULL,
    ^
../../../src/gcc/fortran/io.c:2000:2: note: ...this ‘if’ clause, but it is not
  if (!is_char_type ("DELIM", open->delim))
  ^

gcc/fortran/ChangeLog:
* io.c (gfc_match_open): Fix indentation.

From-SVN: r231519

gcc/fortran/ChangeLog
gcc/fortran/io.c

index f417aa8c2d01629e10960d68ec7df6a46bfaafc0..413318de8318c39cf18e02113b3f93be1dde1b09 100644 (file)
@@ -1,3 +1,7 @@
+2015-12-10  David Malcolm  <dmalcolm@redhat.com>
+
+       * io.c (gfc_match_open): Fix indentation.
+
 2015-12-09  Tobias Burnus  <burnus@net-b.de>
            Alessandro Fanfarillo <fanfarillo.gcc@gmail.com>
 
index 9a7723466861199cc9f48b5cc41752e8ab5dd67f..e33fc56fa9916628f712c953b6d4b6ae5b91dc29 100644 (file)
@@ -2006,8 +2006,8 @@ gfc_match_open (void)
        {
          static const char *delim[] = { "APOSTROPHE", "QUOTE", "NONE", NULL };
 
-       if (!is_char_type ("DELIM", open->delim))
-         goto cleanup;
+         if (!is_char_type ("DELIM", open->delim))
+           goto cleanup;
 
          if (!compare_to_allowed_values ("DELIM", delim, NULL, NULL,
                                          open->delim->value.character.string,