From: Martin Ling Date: Wed, 27 Aug 2014 18:36:56 +0000 (+0100) Subject: Remove broken assert(). X-Git-Tag: pulseview-0.3.0~554 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=611d50a5b44c0ffa914360f13b2737778def0f07;p=pulseview.git Remove broken assert(). This is no longer valid since c82c7e4 changed _data to a std::vector. --- diff --git a/pv/data/logicsnapshot.cpp b/pv/data/logicsnapshot.cpp index f1ff3c3c..825d2f1f 100644 --- a/pv/data/logicsnapshot.cpp +++ b/pv/data/logicsnapshot.cpp @@ -263,7 +263,6 @@ void LogicSnapshot::append_payload_to_mipmap() uint64_t LogicSnapshot::get_sample(uint64_t index) const { - assert(_data); assert(index < _sample_count); return unpack_sample((uint8_t*)_data.data() + index * _unit_size);