summaryrefslogtreecommitdiff
path: root/mro.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2010-11-27 07:13:13 -0800
committerFather Chrysostomos <sprout@cpan.org>2010-11-27 07:41:48 -0800
commite0aa26060134190dff602c6f37e9d7f75df6b824 (patch)
tree84ec88662f1005f6f542b4a97e4d1a8b24ae6dd6 /mro.c
parent06f3ce8671cf9695edecc29f8df95fec541d24ed (diff)
downloadperl-e0aa26060134190dff602c6f37e9d7f75df6b824.tar.gz
mro.c: Assert that the previous commit is correct
Diffstat (limited to 'mro.c')
-rw-r--r--mro.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mro.c b/mro.c
index ec0fb60291..170741caf1 100644
--- a/mro.c
+++ b/mro.c
@@ -992,6 +992,7 @@ S_mro_gather_and_rename(pTHX_ HV * const stashes, HV * const seen_stashes,
it, so subclasses could be listed in isarev hashes belonging to
any of the names, so we have to check all of them.
*/
+ assert(!oldstash || HvENAME(oldstash));
if (oldstash) {
/* Extra variable to avoid a compiler warning */
char * const hvename = HvENAME(oldstash);