diff options
author | David Mitchell <davem@iabyn.com> | 2011-02-04 15:19:41 +0000 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2011-02-04 15:19:41 +0000 |
commit | 82336099d393c4ac04507e58e4402ba9c413f791 (patch) | |
tree | ba4a7c459010c4eecdafd8a477f320f2fc1712a7 | |
parent | be6c6a23f06d680159ce323c1906d297abbe85cd (diff) | |
download | perl-82336099d393c4ac04507e58e4402ba9c413f791.tar.gz |
silence do_curse() compiler warning
Usage of the static function do_curse() in sv.c has been temporarily
disabled; comment out the function definition too, to avoid a compiler
warning about an unused function.
-rw-r--r-- | sv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -552,6 +552,7 @@ do_clean_named_io_objs(pTHX_ SV *const sv) } /* Void wrapper to pass to visit() */ +/* XXX static void do_curse(pTHX_ SV * const sv) { if ((PL_stderrgv && GvGP(PL_stderrgv) && (SV*)GvIO(PL_stderrgv) == sv) @@ -559,6 +560,7 @@ do_curse(pTHX_ SV * const sv) { return; (void)curse(sv, 0); } +*/ /* =for apidoc sv_clean_objs |