mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-06 17:59:52 +00:00
perl: disable warnings
This commit is contained in:
parent
eac0f83864
commit
b4ae6bf82c
1 changed files with 1 additions and 0 deletions
|
|
@ -480,6 +480,7 @@ sub execute {
|
|||
|
||||
sub _count {
|
||||
my ( $self, $value ) = @_;
|
||||
no warnings; # FIXME
|
||||
my $byte = unpack( 'C', substr( $value, $p++, 1 ) ); # get header
|
||||
|
||||
Carp::croak('invalid data') unless defined $byte;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue