]> git.imager.perl.org - imager.git/commitdiff
remove more unused variable warnings
authorTony Cook <tony@develop-help.com>
Mon, 13 Aug 2012 00:37:32 +0000 (10:37 +1000)
committerTony Cook <tony@develop-help.com>
Sat, 24 Nov 2012 03:59:22 +0000 (14:59 +1100)
Imager.xs

index 03a919aeed953911e852eadb7a89ccff9226bfd3..2c3695f2ba2abbb4fd937bf130493e7cd1c7f2fd 100644 (file)
--- a/Imager.xs
+++ b/Imager.xs
@@ -4066,6 +4066,7 @@ im_context_DESTROY(ctx)
 void
 im_context_CLONE(...)
     CODE:
+      (void)items;
       MY_CXT_CLONE;
       /* the following sv_setref_pv() will free this inc */
       im_context_refinc(MY_CXT.ctx, "CLONE");
@@ -4077,6 +4078,9 @@ im_context_CLONE(...)
 BOOT:
         PERL_SET_GLOBAL_CALLBACKS;
        PERL_PL_SET_GLOBAL_CALLBACKS;
-        MY_CXT_INIT;
+       {
+          MY_CXT_INIT;
+         (void)MY_CXT;
+       }
        start_context(aTHX);
        im_get_context = perl_get_context;