about summary refs log tree commit diff stats
path: root/038scheduler.cc
diff options
context:
space:
mode:
Diffstat (limited to '038scheduler.cc')
-rw-r--r--038scheduler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/038scheduler.cc b/038scheduler.cc
index 9bda9de9..2e0e0322 100644
--- a/038scheduler.cc
+++ b/038scheduler.cc
@@ -275,7 +275,7 @@ recipe f2 [
 -warn: f2: divide by zero in '4:number <- divide-with-remainder 4, 0'
 
 :(after "operator<<(ostream& os, unused end)")
-  if (Trace_stream->curr_layer == "warn" && Current_routine) {
+  if (Trace_stream && Trace_stream->curr_layer == "warn" && Current_routine) {
     Current_routine->state = COMPLETED;
   }