]> sigrok.org Git - pulseview.git/blobdiff - pv/view/decodetrace.cpp
Replaced duplicated code with Trace::get_y
[pulseview.git] / pv / view / decodetrace.cpp
index 700b221b3b9d12c94bc1f9b64cc4877743cc69c4..cb455c5ae3c5246f7111f5fc455032e979688002 100644 (file)
@@ -181,7 +181,6 @@ void DecodeTrace::paint_mid(QPainter &p, int left, int right)
        }
 
        // Iterate through the rows
-       assert(_view);
        int y = get_y();
        pair<uint64_t, uint64_t> sample_range = get_sample_range(left, right);