summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2006-01-21 15:31:06 +0000
committerMarcus Holland-Moritz <mhx-perl@gmx.net>2006-01-21 15:31:06 +0000
commit2593c6c6ec6db0c4fc4ec479ff2dcc27740704c8 (patch)
treecc27168707f1f291b636c29c3169f64c522feb10 /util.c
parent7a1c739b67fd7d50a3ebda573fb9722f1a02a122 (diff)
downloadperl-2593c6c6ec6db0c4fc4ec479ff2dcc27740704c8.tar.gz
Remove wrong cast to (void *), which fixes a gcc warning, and use
the return value of upg_version() at least once in the core. p4raw-id: //depot/perl@26918
Diffstat (limited to 'util.c')
-rw-r--r--util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util.c b/util.c
index 9895f263f2..abbf4ed899 100644
--- a/util.c
+++ b/util.c
@@ -4183,8 +4183,7 @@ Perl_new_version(pTHX_ SV *ver)
#ifdef SvVOK
}
#endif
- upg_version(rv);
- return rv;
+ return upg_version(rv);
}
/*