summaryrefslogtreecommitdiff
path: root/src/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/global.h')
-rw-r--r--src/global.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/global.h b/src/global.h
index 2cb7842e..ce0534b0 100644
--- a/src/global.h
+++ b/src/global.h
@@ -82,6 +82,7 @@ public:
void pop_report() {
assert(! report_stack.empty());
report_stack.pop_front();
+
// There should always be the "default report" waiting on the stack.
assert(! report_stack.empty());
scope_t::default_scope = &report();