]> sigrok.org Git - libsigrok.git/commit
rigol-ds: prevent config_list() to return empty g_variant
authorAurelien Jacobs <redacted>
Mon, 13 Jan 2014 22:38:32 +0000 (23:38 +0100)
committerBert Vermeulen <redacted>
Mon, 13 Jan 2014 23:01:50 +0000 (00:01 +0100)
commita31b2ccbd8db3716d2b13971a8519631e06727fa
treebd7632316fd8be35fb0b35b7f4b3a56272d1d144
parent69d83be9bf4b6aa7e6cabdf5ce1b6452182fa55b
rigol-ds: prevent config_list() to return empty g_variant

This fixes the following glib message:
$ ./sigrok-cli -d rigol-ds --show
[...]
g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed
hardware/rigol-ds/api.c