Permalink
Browse files

Suppress "-Wimplicit-fallthrough" warning

Observed when running make with g++-8 as C compiler.
  • Loading branch information...
jkeenan committed Oct 10, 2018
1 parent 51684e3 commit 8cecfd7789748ab92fae67fd786ebdb7baaf4804
@@ -347,6 +347,7 @@ CODE:
/* fallthrough to NV now */
retnv = retiv;
accum = ACC_NV;
__attribute__ ((fallthrough));
case ACC_NV:
is_product ? (retnv *= slu_sv_value(sv))
: (retnv += slu_sv_value(sv));
@@ -15,7 +15,7 @@ our @EXPORT_OK = qw(
all any first min max minstr maxstr none notall product reduce sum sum0 shuffle uniq uniqnum uniqstr
head tail pairs unpairs pairkeys pairvalues pairmap pairgrep pairfirst
);
our $VERSION = "1.50";
our $VERSION = "1.51";
our $XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
@@ -3,7 +3,7 @@ use strict;
use warnings;
use List::Util;
our $VERSION = "1.50"; # FIXUP
our $VERSION = "1.51"; # FIXUP
$VERSION = eval $VERSION; # FIXUP
1;
@@ -17,7 +17,7 @@ our @EXPORT_OK = qw(
dualvar isdual isvstring looks_like_number openhandle readonly set_prototype
tainted
);
our $VERSION = "1.50";
our $VERSION = "1.51";
$VERSION = eval $VERSION;
require List::Util; # List::Util loads the XS
@@ -15,7 +15,7 @@ our @EXPORT_OK = qw(
subname set_subname
);
our $VERSION = "1.50";
our $VERSION = "1.51";
$VERSION = eval $VERSION;
require List::Util; # as it has the XS

0 comments on commit 8cecfd7

Please sign in to comment.