diff options
author | Andy Lester <andy@petdance.com> | 2017-02-26 21:15:46 -0600 |
---|---|---|
committer | James E Keenan <jkeenan@cpan.org> | 2017-06-01 11:03:27 -0400 |
commit | c9a0dcdc162f48aff88d967bc239701e38e52680 (patch) | |
tree | ad85e9bd2969ef1f617718d5fbf0b834e527fff5 /sv.c | |
parent | f566c7cf87dd8cddca3b53169472641c74a2051b (diff) | |
download | perl-c9a0dcdc162f48aff88d967bc239701e38e52680.tar.gz |
Add NOT_REACHED to quiet clang -Weverything warnings
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1651,6 +1651,7 @@ Perl_sv_setiv(pTHX_ SV *const sv, const IV i) /* diag_listed_as: Can't coerce %s to %s in %s */ Perl_croak(aTHX_ "Can't coerce %s to integer in %s", sv_reftype(sv,0), OP_DESC(PL_op)); + NOT_REACHED; /* NOTREACHED */ break; default: NOOP; } @@ -1763,6 +1764,7 @@ Perl_sv_setnv(pTHX_ SV *const sv, const NV num) /* diag_listed_as: Can't coerce %s to %s in %s */ Perl_croak(aTHX_ "Can't coerce %s to number in %s", sv_reftype(sv,0), OP_DESC(PL_op)); + NOT_REACHED; /* NOTREACHED */ break; default: NOOP; } @@ -13884,6 +13886,7 @@ S_sv_dup_common(pTHX_ const SV *const sstr, CLONE_PARAMS *const param) switch (sv_type) { default: Perl_croak(aTHX_ "Bizarre SvTYPE [%" IVdf "]", (IV)SvTYPE(sstr)); + NOT_REACHED; /* NOTREACHED */ break; case SVt_PVGV: |