From: dmalcolm Date: Thu, 10 Dec 2015 15:11:37 +0000 (+0000) Subject: Fix misleading indentation in gcc/fortran/io.c X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=24b1b3eb907eb8e15180daf3cb92a3f7311da12b;p=thirdparty%2Fgcc.git Fix misleading indentation in gcc/fortran/io.c 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231519 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index f417aa8c2d01..413318de8318 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 9a7723466861..e33fc56fa991 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,