chronovu-la: re-add return that was inadvertently removed in commit aeff7fa2
This commit is contained in:
parent
a153d6b8ff
commit
13dd25bdb8
|
@ -378,6 +378,7 @@ static int config_list(int key, GVariant **data, const struct sr_dev_inst *sdi,
|
||||||
break;
|
break;
|
||||||
case SR_CONF_TRIGGER_MATCH:
|
case SR_CONF_TRIGGER_MATCH:
|
||||||
if (!sdi || !sdi->priv || !(devc = sdi->priv) || !devc->prof)
|
if (!sdi || !sdi->priv || !(devc = sdi->priv) || !devc->prof)
|
||||||
|
return SR_ERR_BUG;
|
||||||
*data = g_variant_new_fixed_array(G_VARIANT_TYPE_INT32,
|
*data = g_variant_new_fixed_array(G_VARIANT_TYPE_INT32,
|
||||||
trigger_matches, devc->prof->num_trigger_matches,
|
trigger_matches, devc->prof->num_trigger_matches,
|
||||||
sizeof(int32_t));
|
sizeof(int32_t));
|
||||||
|
|
Loading…
Reference in New Issue