summaryrefslogtreecommitdiffstats
path: root/src/if_perl.xs
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-10-24 21:49:36 +0200
committerBram Moolenaar <Bram@vim.org>2017-10-24 21:49:36 +0200
commit2f40d129bf45cd35976e4120336ae6d504f5a5dd (patch)
tree28165f91d583148c96dca3f4fe5d0c7e61b2e860 /src/if_perl.xs
parent4f1982800f0aff28df6875e718a786f6c4b11ad9 (diff)
patch 8.0.1215: newer gcc warns for implicit fallthroughv8.0.1215
Problem: Newer gcc warns for implicit fallthrough. Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r--src/if_perl.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs
index 4ead057c1c..2e6004bb93 100644
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -1101,6 +1101,7 @@ perl_to_vim(SV *sv, typval_T *rettv)
rettv->vval.v_number = SvIV(sv);
break;
}
+ /* FALLTHROUGH */
case SVt_PV: /* string */
{
size_t len = 0;