]> sigrok.org Git - libsigrok.git/commitdiff
chronovu-la: re-add return that was inadvertently removed in commit aeff7fa2
authorAurelien Jacobs <redacted>
Tue, 3 Jun 2014 14:43:04 +0000 (16:43 +0200)
committerBert Vermeulen <redacted>
Tue, 3 Jun 2014 16:59:01 +0000 (18:59 +0200)
hardware/chronovu-la/api.c

index c4d80d7e2eed25676d35af07ea09f751be30b9cf..526d51cf3bba27f05dcd820e7c213f5fa5d9335c 100644 (file)
@@ -378,6 +378,7 @@ static int config_list(int key, GVariant **data, const struct sr_dev_inst *sdi,
                break;
        case SR_CONF_TRIGGER_MATCH:
                if (!sdi || !sdi->priv || !(devc = sdi->priv) || !devc->prof)
+                       return SR_ERR_BUG;
                *data = g_variant_new_fixed_array(G_VARIANT_TYPE_INT32,
                                trigger_matches, devc->prof->num_trigger_matches,
                                sizeof(int32_t));