diff options
author | Nicholas Clark <nick@ccl4.org> | 2007-04-10 19:39:01 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2007-04-10 19:39:01 +0000 |
commit | 5a5094bd2bc239cc8cbe175655a49a3401f3ed50 (patch) | |
tree | 9b6dc0b3f0d2e4d96ea0a1027b1d6f98c869004e /perl.c | |
parent | e02b91128a20d30213f621b1a24c2fecc2033e4a (diff) | |
download | perl-5a5094bd2bc239cc8cbe175655a49a3401f3ed50.tar.gz |
Silence the g++ warnings "right-hand operand of comma has no effect"
p4raw-id: //depot/perl@30900
Diffstat (limited to 'perl.c')
-rw-r--r-- | perl.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3554,14 +3554,14 @@ S_init_main_stash(pTHX) SvREADONLY_on(gv); PL_incgv = gv_HVadd(gv_AVadd(gv_fetchpvs("INC", GV_ADD|GV_NOTQUAL, SVt_PVAV))); - SvREFCNT_inc_simple(PL_incgv); /* Don't allow it to be freed */ + SvREFCNT_inc_simple_void(PL_incgv); /* Don't allow it to be freed */ GvMULTI_on(PL_incgv); PL_hintgv = gv_fetchpvs("\010", GV_ADD|GV_NOTQUAL, SVt_PV); /* ^H */ GvMULTI_on(PL_hintgv); PL_defgv = gv_fetchpvs("_", GV_ADD|GV_NOTQUAL, SVt_PVAV); - SvREFCNT_inc_simple(PL_defgv); + SvREFCNT_inc_simple_void(PL_defgv); PL_errgv = gv_HVadd(gv_fetchpvs("@", GV_ADD|GV_NOTQUAL, SVt_PV)); - SvREFCNT_inc_simple(PL_errgv); + SvREFCNT_inc_simple_void(PL_errgv); GvMULTI_on(PL_errgv); PL_replgv = gv_fetchpvs("\022", GV_ADD|GV_NOTQUAL, SVt_PV); /* ^R */ GvMULTI_on(PL_replgv); |