X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=type_decoder.c;fp=type_decoder.c;h=314251102da0b8e83836d4eee65bcefaba9f3350;hp=6692c3d44e34c54960381aa56812748726e81406;hb=4f0d192d748e987af43ec5b811a643eb0a8601b2;hpb=2d0ef8bdad13fa50dbb9073c0ce4fd0ce4e025b6 diff --git a/type_decoder.c b/type_decoder.c index 6692c3d..3142511 100644 --- a/type_decoder.c +++ b/type_decoder.c @@ -254,7 +254,7 @@ static inline struct srd_decoder_inst *srd_inst_find_by_obj( sess = sessions->data; di = sess->di_list->data; if (di->py_inst == obj) - return di; + return di; di = NULL; for (l = sessions; di == NULL && l != NULL; l = l->next) {