cli: Remove unnecessary NULL check in print_value_rec
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 25 Oct 2019 21:56:36 +0000 (17:56 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 30 Oct 2019 01:19:34 +0000 (21:19 -0400)
commit3eb16918a387958f9ce459b89f09347f6ee682a8
treea5306a1f83f9bade0a41ad21158f9a6eff518589
parent7d632b96cb0c572a64e34ab3bb66bddaf9eef2d6
cli: Remove unnecessary NULL check in print_value_rec

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>
src/cli/babeltrace2.c
This page took 0.026041 seconds and 4 git commands to generate.