From: Tony Cook <tony@develop-help.com>
Date: Fri, 24 May 2013 13:01:37 +0000 (+1000)
Subject: [rt #69243] remove unnecessary warning comment from i_gsampf()
X-Git-Tag: v0.96_01~16^2~10
X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/5736f5889f770320c6f84bc9364864a01d3b3cf6

[rt #69243] remove unnecessary warning comment from i_gsampf()
---

diff --git a/Imager.xs b/Imager.xs
index 18511db0..35dbd3e4 100644
--- 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;
           }
         }