summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2006-04-24 08:44:51 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-04-25 08:41:38 +0000
commit6f207bd3ddac24959aa7f00f2d7a66f116dcc7ed (patch)
treec05c17685623eb0158a63b0fb5143f2e64863eba /gv.c
parent9feacc09fc3837bdf59595c9a1e3a32b7651c763 (diff)
downloadperl-6f207bd3ddac24959aa7f00f2d7a66f116dcc7ed.tar.gz
use NOOP macro
Message-ID: <20060424184451.GA1479@petdance.com> p4raw-id: //depot/perl@27958
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gv.c b/gv.c
index 879a14bebb..5d1991a705 100644
--- a/gv.c
+++ b/gv.c
@@ -974,7 +974,7 @@ Perl_gv_fetchpvn_flags(pTHX_ const char *nambeg, STRLEN full_len, I32 flags,
if (len > 1) {
#ifndef EBCDIC
if (*name > 'V' ) {
- /*EMPTY*/;
+ NOOP;
/* Nothing else to do.
The compiler will probably turn the switch statement into a
branch table. Make sure we avoid even that small overhead for
@@ -1484,7 +1484,7 @@ Perl_Gv_AMupdate(pTHX_ HV *stash)
lim = DESTROY_amg; /* Skip overloading entries. */
#ifdef PERL_DONT_CREATE_GVSV
else if (!sv) {
- /*EMPTY*/; /* Equivalent to !SvTRUE and !SvOK */
+ NOOP; /* Equivalent to !SvTRUE and !SvOK */
}
#endif
else if (SvTRUE(sv))