summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2013-11-24 14:44:40 +0000
committerDavid Mitchell <davem@iabyn.com>2013-11-24 20:24:24 +0000
commit7616a0c2898b38b86404e7b0afa635e0bf786677 (patch)
treeff0944c12ff1ecdcd536a917dd65743aa7047847 /ext
parent9e9ecfdf61f3e4c265964c187777be5b6f8f4631 (diff)
downloadperl-7616a0c2898b38b86404e7b0afa635e0bf786677.tar.gz
XS::APItest: remove unused var
(see Message-ID: <20131121221646.GB21945@fysh.org>)
Diffstat (limited to 'ext')
-rw-r--r--ext/XS-APItest/APItest.xs3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/XS-APItest/APItest.xs b/ext/XS-APItest/APItest.xs
index 40eaa96482..f8770473ad 100644
--- a/ext/XS-APItest/APItest.xs
+++ b/ext/XS-APItest/APItest.xs
@@ -2545,13 +2545,12 @@ void
test_rv2cv_op_cv()
PROTOTYPE:
PREINIT:
- GV *troc_gv, *wibble_gv;
+ GV *troc_gv;
CV *troc_cv;
OP *o;
CODE:
troc_gv = gv_fetchpv("XS::APItest::test_rv2cv_op_cv", 0, SVt_PVGV);
troc_cv = get_cv("XS::APItest::test_rv2cv_op_cv", 0);
- wibble_gv = gv_fetchpv("XS::APItest::wibble", 0, SVt_PVGV);
o = newCVREF(0, newGVOP(OP_GV, 0, troc_gv));
if (rv2cv_op_cv(o, 0) != troc_cv) croak_fail();
if (rv2cv_op_cv(o, RV2CVOPCV_RETURN_NAME_GV) != (CV*)troc_gv)