chronovu-la: re-add return that was inadvertently removed in commit aeff7fa2

This commit is contained in:
Aurelien Jacobs 2014-06-03 16:43:04 +02:00 committed by Bert Vermeulen
parent a153d6b8ff
commit 13dd25bdb8
1 changed files with 1 additions and 0 deletions

View File

@ -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));