From: Father Chrysostomos Date: Fri, 21 Jun 2013 20:26:54 +0000 (-0700) Subject: sv.h: Correct assertion in BmUSEFUL X-Git-Tag: upstream/5.20.0~2981^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f156091762ac3e6be4932562e47615b3a785aa6f;p=platform%2Fupstream%2Fperl.git sv.h: Correct assertion in BmUSEFUL BmUSEFUL uses the NV slot, not the IV slot. So asserting that it is not IOK is not all that useful. --- diff --git a/sv.h b/sv.h index 0ba73d1..98d712d 100644 --- a/sv.h +++ b/sv.h @@ -1361,7 +1361,7 @@ sv_force_normal does nothing. (*({ SV *const _bmuseful = MUTABLE_SV(sv); \ assert(SvTYPE(_bmuseful) == SVt_PVMG); \ assert(SvVALID(_bmuseful)); \ - assert(!SvIOK(_bmuseful)); \ + assert(!SvNOK(_bmuseful)); \ &(((XPVMG*) SvANY(_bmuseful))->xnv_u.xbm_useful); \ })) #else