Fix a compiler warning
authorFlorian Ragwitz <rafl@debian.org>
Wed, 13 Jul 2011 17:22:52 +0000 (19:22 +0200)
committerFlorian Ragwitz <rafl@debian.org>
Wed, 13 Jul 2011 17:22:52 +0000 (19:22 +0200)
gimme is being set by POPBLOCK, but otherwise unused. PERL_UNUSED_VAR stops the
warning gcc generates for that.

pp_ctl.c

index 854c89d..63efd9a 100644 (file)
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -5003,6 +5003,8 @@ PP(pp_continue)
     I32 gimme;
     SV **newsp;
     PMOP *newpm;
+
+    PERL_UNUSED_VAR(gimme);
     
     cxix = dopoptowhen(cxstack_ix); 
     if (cxix < 0)