From d47ddea1958ca758ceb0c4575e943f7c1aaf8071 Mon Sep 17 00:00:00 2001 From: David Malcolm Date: Thu, 10 Dec 2015 15:11:37 +0000 Subject: [PATCH] Fix misleading indentation in gcc/fortran/io.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 | 4 ++++ gcc/fortran/io.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index f417aa8..413318d 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,7 @@ +2015-12-10 David Malcolm + + * io.c (gfc_match_open): Fix indentation. + 2015-12-09 Tobias Burnus Alessandro Fanfarillo diff --git a/gcc/fortran/io.c b/gcc/fortran/io.c index 9a77234..e33fc56 100644 --- a/gcc/fortran/io.c +++ b/gcc/fortran/io.c @@ -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, -- 2.7.4