[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 18511db..35dbd3e 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) {
-            EXTEND(SP, 1);
-            PUSHs(&PL_sv_undef);
+           XSRETURN_UNDEF;
           }
         }