Fix -Wall on XS::Typemap
Tim Jenness [Thu, 31 May 2001 16:15:37 +0000 (06:15 -1000)]
Message-ID: <Pine.LNX.4.33.0105311610110.9337-100000@lapaki.jach.hawaii.edu>

p4raw-id: //depot/perl@10370

ext/XS/Typemap/Typemap.xs

index 5b1ab84..b97a9bf 100644 (file)
@@ -769,6 +769,7 @@ T_ARRAY( dummy, array, ... )
  PREINIT:
   U32 size_RETVAL;
  CODE:
+  dummy += 0; /* Fix -Wall */
   size_RETVAL = ix_array;
   RETVAL = array;
  OUTPUT: