summaryrefslogtreecommitdiff
path: root/libgfortran/caf
diff options
context:
space:
mode:
authorAndre Vehreschild <vehre@gcc.gnu.org>2016-11-30 15:34:13 +0100
committerAndre Vehreschild <vehre@gcc.gnu.org>2016-11-30 15:34:13 +0100
commit9a0f271862f5a029c046ed49468ed1bbfcce9e00 (patch)
tree3b76c54dcc97667a0e87e6f8c065ba365b719e4d /libgfortran/caf
parent6d0e8a552fb42d90257212604c521f4fbf330afe (diff)
single.c (_gfortran_caf_is_present): Prevent fallthrough warnings.
libgfortran/ChangeLog: 2016-11-30 Andre Vehreschild <vehre@gcc.gnu.org> * caf/single.c (_gfortran_caf_is_present): Prevent fallthrough warnings. From-SVN: r243024
Diffstat (limited to 'libgfortran/caf')
-rw-r--r--libgfortran/caf/single.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgfortran/caf/single.c b/libgfortran/caf/single.c
index 5e2932ca007..3eceed90087 100644
--- a/libgfortran/caf/single.c
+++ b/libgfortran/caf/single.c
@@ -2949,6 +2949,7 @@ _gfortran_caf_is_present (caf_token_t token,
if (riter->next == NULL)
break;
/* else fall through reporting an error. */
+ /* FALLTHROUGH */
case CAF_ARR_REF_VECTOR:
case CAF_ARR_REF_RANGE:
case CAF_ARR_REF_OPEN_END:
@@ -2976,6 +2977,7 @@ _gfortran_caf_is_present (caf_token_t token,
if (riter->next == NULL)
break;
/* else fall through reporting an error. */
+ /* FALLTHROUGH */
case CAF_ARR_REF_VECTOR:
case CAF_ARR_REF_RANGE:
case CAF_ARR_REF_OPEN_END: