From: Vincent Pit Date: Mon, 5 Sep 2011 17:46:40 +0000 (+0200) Subject: Silence an "unused" compiler warning X-Git-Tag: v0.47~23 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=ea6cac3d17235f709aacab0785ebf0f83e6c5c9c;p=perl%2Fmodules%2FVariable-Magic.git Silence an "unused" compiler warning --- diff --git a/Magic.xs b/Magic.xs index f8a4650..6136d4b 100644 --- a/Magic.xs +++ b/Magic.xs @@ -124,7 +124,7 @@ STATIC SV *vmg_clone(pTHX_ SV *sv, tTHX owner) { #endif #ifndef SvREFCNT_inc_simple_void -# define SvREFCNT_inc_simple_void(sv) SvREFCNT_inc(sv) +# define SvREFCNT_inc_simple_void(sv) ((void) SvREFCNT_inc(sv)) #endif #ifndef mPUSHu