summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--type_decoder.c2
1 files changed, 1 insertions, 1 deletions
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) {