about summary refs log tree commit diff stats
path: root/077trace_browser.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-22 22:44:05 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-22 22:44:05 -0700
commitcffb135096c0a4774ead9033ab8fa2a480f7be1d (patch)
treeb5aed50e5409034f73d92ba1e94834af7bb700c4 /077trace_browser.cc
parentd60f69bbe91bde69275c2de2c09f38f6c377b7d3 (diff)
downloadmu-cffb135096c0a4774ead9033ab8fa2a480f7be1d.tar.gz
1426
As often happens, the asserts I come up with fail to survive contact
with reality. In this case because the current line may not have
anything left to expand.
Diffstat (limited to '077trace_browser.cc')
-rw-r--r--077trace_browser.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/077trace_browser.cc b/077trace_browser.cc
index 297c3cee..74082bd6 100644
--- a/077trace_browser.cc
+++ b/077trace_browser.cc
@@ -97,10 +97,6 @@ void start_trace_browser() {
 //?       cerr << "min_depth is " << min_depth << '\n';
       long long int end_index = index;
 //?       cerr << "end_index is " << end_index << '\n';
-      // min_depth must be greater than the depths of the end-points
-      assert(min_depth > Trace_stream->past_lines.at(start_index).depth);
-      if (end_index < SIZE(Trace_stream->past_lines))
-        assert(min_depth > Trace_stream->past_lines.at(end_index).depth);
       // mark as visible all intervening indices at min_depth
       for (index = start_index; index < end_index; ++index) {
         trace_line& curr_line = Trace_stream->past_lines.at(index);