From 54064d2e6619d26b53f792b8649cf6b9f4724567 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Mon, 13 Aug 2012 10:37:32 +1000 Subject: [PATCH] remove more unused variable warnings --- Imager.xs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Imager.xs b/Imager.xs index 03a919ae..2c3695f2 100644 --- 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; -- 2.39.5