lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [lucy-commits] svn commit: r1059158 - in /incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Perl: Constructor.pm Method.pm
Date Fri, 14 Jan 2011 20:34:10 GMT
Author: marvin
Date: Fri Jan 14 20:34:10 2011
New Revision: 1059158

URL: http://svn.apache.org/viewvc?rev=1059158&view=rev
Log:
Remove UNUSED_VAR macro protecting XS variable "ax", since we now use XSRETURN
in every binding and XSRETURN uses ax.

Modified:
    incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Perl/Constructor.pm
    incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Perl/Method.pm

Modified: incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Perl/Constructor.pm
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Perl/Constructor.pm?rev=1059158&r1=1059157&r2=1059158&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Perl/Constructor.pm (original)
+++ incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Perl/Constructor.pm Fri Jan 14 20:34:10
2011
@@ -124,7 +124,6 @@ XS($c_name)
 {
     dXSARGS;
     CHY_UNUSED_VAR(cv);
-    CHY_UNUSED_VAR(ax);
     if (items < 1) { CFISH_THROW(CFISH_ERR, "Usage: %s(class_name, ...)",  GvNAME(CvGV(cv)));
}
     SP -= items;
 

Modified: incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Perl/Method.pm
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Perl/Method.pm?rev=1059158&r1=1059157&r2=1059158&view=diff
==============================================================================
--- incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Perl/Method.pm (original)
+++ incubator/lucy/trunk/clownfish/lib/Clownfish/Binding/Perl/Method.pm Fri Jan 14 20:34:10
2011
@@ -168,7 +168,6 @@ XS($c_name)
 {
     dXSARGS;
     CHY_UNUSED_VAR(cv);
-    CHY_UNUSED_VAR(ax);
     SP -= items;
     $num_args_check;
 
@@ -251,7 +250,6 @@ XS($c_name)
 {
     dXSARGS;
     CHY_UNUSED_VAR(cv);
-    CHY_UNUSED_VAR(ax);
     $num_args_check;
     SP -= items;
 



Mime
View raw message