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)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 30 Oct 2019 19:14:53 +0000 (15:14 -0400)
commit59bd183253d6b72a6581998c088d0581d158ccd3
tree5dc344eca1866d2413dc78e15bc5738439a98a4d
parent961b4173af535c7ffc697520ca754418b859e265
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.02428 seconds and 4 git commands to generate.