projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
clean some lint findings
[p5sagit/p5-mst-13.2.git]
/
universal.c
diff --git
a/universal.c
b/universal.c
index
0601645
..
705573e
100644
(file)
--- a/
universal.c
+++ b/
universal.c
@@
-415,11
+415,8
@@
XS(XS_version_new)
if ( items == 1 ) {
/* no parameter provided */
- if ( sv_isobject(ST(0)) ) {
- /* copy existing object */
- vs = ST(0);
- }
- else {
+ if ( sv_isobject(ST(0)) )
+ {
/* create empty object */
vs = sv_newmortal();
sv_setpvn(vs,"",0);