result is already set to NULL by the BT_VALUE_PUT_REF_AND_RESET just
above, so there is no need to set it again.
Change-Id: I9ab4839a8f9011fde846a0ee9cdb30d28786a362
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1997
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
error:
BT_VALUE_PUT_REF_AND_RESET(result);
- result = NULL;
if (status >= 0) {
status = BT_COMPONENT_CLASS_QUERY_METHOD_STATUS_ERROR;