X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=instance.c;h=5264bd0bd3a54d72f8503e926931f542ab310d96;hb=88b84b3ce771a49680644c4a30819ccd90030018;hp=36fb2d0c32889b609712ba6dc2f42a00f1aecda2;hpb=b92543610e86daf57b0f042a899c9897d8234fa0;p=libsigrokdecode.git diff --git a/instance.c b/instance.c index 36fb2d0..5264bd0 100644 --- a/instance.c +++ b/instance.c @@ -895,6 +895,8 @@ static gboolean all_terms_match(const struct srd_decoder_inst *di, for (l = cond; l; l = l->next) { term = l->data; + if (term->type == SRD_TERM_ALWAYS_FALSE) + return FALSE; if (!term_matches(di, term, sample_pos)) return FALSE; }