summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2007-02-10 18:51:31 +0000
committerNicholas Clark <nick@ccl4.org>2007-02-10 18:51:31 +0000
commit81e3fc254f697a77f623afd4d35468dd9ca691c7 (patch)
treec705d62229ffa64e875daf81ceec0acc0ed574e2 /pp.c
parented140128eb692ebeaa21f2775f8d3c34e9a94094 (diff)
downloadperl-81e3fc254f697a77f623afd4d35468dd9ca691c7.tar.gz
These casts to GV are no longer needed.
p4raw-id: //depot/perl@30195
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pp.c b/pp.c
index e1a45c1a42..04fab022d2 100644
--- a/pp.c
+++ b/pp.c
@@ -251,17 +251,17 @@ Perl_softref2xv(pTHX_ SV *const sv, const char *const what, const U32 type,
if ((PL_op->op_flags & OPf_SPECIAL) &&
!(PL_op->op_flags & OPf_MOD))
{
- gv = (GV*)gv_fetchsv(sv, 0, type);
+ gv = gv_fetchsv(sv, 0, type);
if (!gv
&& (!is_gv_magical_sv(sv,0)
- || !(gv = (GV*)gv_fetchsv(sv, GV_ADD, type))))
+ || !(gv = gv_fetchsv(sv, GV_ADD, type))))
{
**spp = &PL_sv_undef;
return NULL;
}
}
else {
- gv = (GV*)gv_fetchsv(sv, GV_ADD, type);
+ gv = gv_fetchsv(sv, GV_ADD, type);
}
return gv;
}