| 820 | } |
| 821 | |
| 822 | static gboolean have_non_null_conds(const struct srd_decoder_inst *di) |
| 823 | { |
| 824 | GSList *l, *cond; |
| 825 | |
| 826 | if (!di) |
| 827 | return FALSE; |
| 828 | |
| 829 | for (l = di->condition_list; l; l = l->next) { |
| 830 | cond = l->data; |
| 831 | if (cond) |
| 832 | return TRUE; |
| 833 | } |
| 834 | |
| 835 | return FALSE; |
| 836 | } |
| 837 | |
| 838 | static void update_old_pins_array(struct srd_decoder_inst *di) |
| 839 | { |