projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
515a4f7
)
Use 1 line of code in place of 6 in Perl_sv_derived_from().
Nicholas Clark [Thu, 11 Sep 2008 21:27:07 +0000 (21:27 +0000)]
p4raw-id: //depot/perl@34350
universal.c
patch
|
blob
|
blame
|
history
diff --git
a/universal.c
b/universal.c
index
c6de960
..
3e52535
100644
(file)
--- a/
universal.c
+++ b/
universal.c
@@
-116,12
+116,7
@@
Perl_sv_derived_from(pTHX_ SV *sv, const char *const name)
stash = gv_stashsv(sv, 0);
}
- if (stash) {
- return isa_lookup(stash, name);
- }
- else
- return FALSE;
-
+ return stash ? isa_lookup(stash, name) : FALSE;
}
/*