summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7d632b9)
There's no reason for `value` to legitimately be NULL here. Replace
that with an assert so we can catch eventual mistakes.
Change-Id: I9272c4c5e862601d7c9c7b9c67a1cf332ee1770b
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2265
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
const char *str_val;
GPtrArray *map_keys = NULL;
const char *str_val;
GPtrArray *map_keys = NULL;
- if (!value) {
- goto end;
- }
switch (bt_value_get_type(value)) {
case BT_VALUE_TYPE_NULL:
switch (bt_value_get_type(value)) {
case BT_VALUE_TYPE_NULL: