From 37bd7cecb58a4dccb5922c4fb8999d7db7672291 Mon Sep 17 00:00:00 2001 From: Cristy Date: Thu, 18 Jan 2018 19:49:20 -0500 Subject: [PATCH] https://www.imagemagick.org/discourse-server/viewtopic.php?f=7&t=12502 --- PerlMagick/Magick.pm | 1 + PerlMagick/quantum/quantum.pm.in | 1 + 2 files changed, 2 insertions(+) diff --git a/PerlMagick/Magick.pm b/PerlMagick/Magick.pm index 4259b454d..1ded89e6e 100644 --- a/PerlMagick/Magick.pm +++ b/PerlMagick/Magick.pm @@ -50,6 +50,7 @@ sub AUTOLOAD { # This AUTOLOAD is used to 'autoload' constants from the constant() # XS function. If a constant is not found then control is passed # to the AUTOLOAD in AutoLoader. + no warnings; my $constname; ($constname = $AUTOLOAD) =~ s/.*:://; diff --git a/PerlMagick/quantum/quantum.pm.in b/PerlMagick/quantum/quantum.pm.in index 716fa100d..3c9cdb117 100644 --- a/PerlMagick/quantum/quantum.pm.in +++ b/PerlMagick/quantum/quantum.pm.in @@ -49,6 +49,7 @@ sub AUTOLOAD { # This AUTOLOAD is used to 'autoload' constants from the constant() # XS function. If a constant is not found then control is passed # to the AUTOLOAD in AutoLoader. + no warnings; my $constname; ($constname = $AUTOLOAD) =~ s/.*:://; -- 2.40.0