]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decoderstack.cpp
Use bool literals for boolean values.
[pulseview.git] / pv / data / decoderstack.cpp
index 3499baf22205cb1d0338f8d77d8645ab7d437cbd..d3e1f4acd25de681fd147253ddc8d423ce5cd2bc 100644 (file)
@@ -40,8 +40,6 @@ using std::make_pair;
 using std::max;
 using std::min;
 using std::list;
-using std::map;
-using std::pair;
 using std::shared_ptr;
 using std::make_shared;
 using std::vector;
@@ -425,7 +423,7 @@ void DecoderStack::annotation_callback(srd_proto_data *pdata, void *decoder)
        if (row_iter == d->rows_.end()) {
                qDebug() << "Unexpected annotation: decoder = " << decc <<
                        ", format = " << a.format();
-               assert(0);
+               assert(false);
                return;
        }