Silence a gcc warning.
Rafael Garcia-Suarez [Sun, 21 Mar 2004 13:26:33 +0000 (13:26 +0000)]
p4raw-id: //depot/perl@22546

sv.c

diff --git a/sv.c b/sv.c
index 02e2b55..00c5cde 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -3494,7 +3494,7 @@ Perl_sv_utf8_upgrade_flags(pTHX_ register SV *sv, I32 flags)
         }
         if (hibit) {
              STRLEN len;
-             SvOOK_off(sv);
+             (void)SvOOK_off(sv);
              s = (U8*)SvPVX(sv);
              len = SvCUR(sv) + 1; /* Plus the \0 */
              SvPVX(sv) = (char*)bytes_to_utf8((U8*)s, &len);