From: Dave Mitchell Date: Sat, 31 Jul 2004 16:27:09 +0000 (+0000) Subject: shut up a warning in mg.c X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1990e48c66466d2315d6307ae43a02140969e8dc;p=p5sagit%2Fp5-mst-13.2.git shut up a warning in mg.c p4raw-id: //depot/perl@23177 --- diff --git a/mg.c b/mg.c index ec9817f..bf9ecee 100644 --- a/mg.c +++ b/mg.c @@ -208,7 +208,7 @@ Perl_mg_get(pTHX_ SV *sv) if (SvREFCNT(sv) == 1) { /* We hold the last reference to this SV, which implies that the SV was deleted as a side effect of the routines we called. */ - SvOK_off(sv); + (void)SvOK_off(sv); } return 0; }