summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);