]> git.imager.perl.org - imager.git/commitdiff
[rt #69243] remove unnecessary warning comment from i_gsampf()
authorTony Cook <tony@develop-help.com>
Fri, 24 May 2013 13:01:37 +0000 (23:01 +1000)
committerTony Cook <tony@develop-help.com>
Fri, 24 May 2013 13:01:37 +0000 (23:01 +1000)
Imager.xs

index 18511db061cbb03ae818e6475e0a49a29cf7d658..35dbd3e4ac96b548bd7e5c70f46392756888c783 100644 (file)
--- a/Imager.xs
+++ b/Imager.xs
@@ -3476,8 +3476,7 @@ i_gsampf(im, l, r, y, channels)
         }
         else {
           if (GIMME_V != G_ARRAY) {
         }
         else {
           if (GIMME_V != G_ARRAY) {
-            EXTEND(SP, 1);
-            PUSHs(&PL_sv_undef);
+           XSRETURN_UNDEF;
           }
         }
 
           }
         }