diff options
author | Andy Lester <andy@petdance.com> | 2006-04-24 08:44:51 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2006-04-25 08:41:38 +0000 |
commit | 6f207bd3ddac24959aa7f00f2d7a66f116dcc7ed (patch) | |
tree | c05c17685623eb0158a63b0fb5143f2e64863eba /gv.c | |
parent | 9feacc09fc3837bdf59595c9a1e3a32b7651c763 (diff) | |
download | perl-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) |