diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-08-05 09:57:27 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-08-05 10:04:06 -0700 |
commit | 6a49ea24d15bce8ca15e2f11160e8256ce43c8af (patch) | |
tree | bb94abdd06814da790809689ef84775f98371688 | |
parent | 6bb2e7118094d93823c25daf6de3fd9134649eef (diff) | |
download | mu-6a49ea24d15bce8ca15e2f11160e8256ce43c8af.tar.gz |
4488
-rw-r--r-- | subx/003trace.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/subx/003trace.cc b/subx/003trace.cc index 61526371..92f198fc 100644 --- a/subx/003trace.cc +++ b/subx/003trace.cc @@ -112,10 +112,9 @@ struct trace_stream { ostringstream* curr_stream; string curr_label; int curr_depth; - int callstack_depth; int collect_depth; ofstream null_stream; // never opens a file, so writes silently fail - trace_stream() :curr_stream(NULL), curr_depth(Max_depth), callstack_depth(0), collect_depth(Max_depth) {} + trace_stream() :curr_stream(NULL), curr_depth(Max_depth), collect_depth(Max_depth) {} ~trace_stream() { if (curr_stream) delete curr_stream; } ostream& stream(string label) { |