summaryrefslogtreecommitdiff
path: root/XSUB.h
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@covalent.net>2001-06-13 03:02:16 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-13 16:17:42 +0000
commit349b520e234d80b6e0b5e71ce38de85721a7d943 (patch)
tree1596be79bdcea16d5c0199127d4030d7856aa2db /XSUB.h
parent895349d4a309bd187260c1e6ada40aadb52544cb (diff)
downloadperl-349b520e234d80b6e0b5e71ce38de85721a7d943.tar.gz
Re: ext/ + -Wall
Message-ID: <Pine.LNX.4.21.0106130959050.24181-100000@mako.covalent.net> p4raw-id: //depot/perl@10566
Diffstat (limited to 'XSUB.h')
-rw-r--r--XSUB.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/XSUB.h b/XSUB.h
index 74e37ed5f0..a5f8e591ad 100644
--- a/XSUB.h
+++ b/XSUB.h
@@ -66,10 +66,7 @@ handled automatically by C<xsubpp>.
# define XS(name) void name(pTHXo_ CV* cv)
#endif
-/* gcc -Wall: if an xsub has no arguments and PPCODE is used
- * and none of ST, XSRETURN or XSprePUSH macros are used
- * then `ax' (setup by dXSARGS) is unused. */
-#define dAX I32 ax PERL_UNUSED_DECL = MARK - PL_stack_base + 1
+#define dAX I32 ax = MARK - PL_stack_base + 1
#define dITEMS I32 items = SP - MARK