diff options
author | David Malcolm <dmalcolm@redhat.com> | 2015-12-10 15:11:37 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2015-12-10 15:11:37 +0000 |
commit | d47ddea1958ca758ceb0c4575e943f7c1aaf8071 (patch) | |
tree | 0855b4571323f526bc3c1777ef4261728729284e /gcc/fortran/io.c | |
parent | a589e68fd0953761128a2194edd3ea7e10feac48 (diff) | |
download | gcc-d47ddea1958ca758ceb0c4575e943f7c1aaf8071.zip gcc-d47ddea1958ca758ceb0c4575e943f7c1aaf8071.tar.gz gcc-d47ddea1958ca758ceb0c4575e943f7c1aaf8071.tar.bz2 |
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.
From-SVN: r231519
Diffstat (limited to 'gcc/fortran/io.c')
-rw-r--r-- | gcc/fortran/io.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |