summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-05-08 18:49:25 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-05-08 18:49:25 +0000
commit929a4907d56d33ad69150da8025e2267d4eeb613 (patch)
tree315751bf10cdabbb3833e1f330a06fe71d28812b /pp_hot.c
parent0171352b2ec1a5da767060462636c95507386538 (diff)
downloadperl-929a4907d56d33ad69150da8025e2267d4eeb613.tar.gz
Suppress a few compilation warnings in pp_hot.c.
p4raw-id: //depot/perl@19454
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 416eba5fd1..926a1f84c8 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -795,7 +795,6 @@ PP(pp_rv2hv)
{
dSP; dTOPss;
HV *hv;
- I32 gimme = GIMME_V;
if (SvROK(sv)) {
wasref:
@@ -1498,7 +1497,7 @@ Perl_do_readline(pTHX)
/* undef TARG, and push that undefined value */
if (type != OP_RCATLINE) {
SV_CHECK_THINKFIRST_COW_DROP(TARG);
- SvOK_off(TARG);
+ (void)SvOK_off(TARG);
}
PUSHTARG;
}
@@ -1562,7 +1561,7 @@ Perl_do_readline(pTHX)
if (gimme == G_SCALAR) {
if (type != OP_RCATLINE) {
SV_CHECK_THINKFIRST_COW_DROP(TARG);
- SvOK_off(TARG);
+ (void)SvOK_off(TARG);
}
SPAGAIN;
PUSHTARG;