Clean-up: assert that get_count_order() returns a positive value
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 12 Sep 2019 14:02:06 +0000 (10:02 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 12 Sep 2019 14:02:06 +0000 (10:02 -0400)
commit46b4dda689c362426f3306e98b1e39759d387f6f
treef0df75d9f4c10ad239d5e73197e8c6b47c4f8b95
parent1f2292f6d16cea53dc94c0e16ab08eb71b70b938
Clean-up: assert that get_count_order() returns a positive value

The callers of get_count_order() don't handle negative values
correctly. However, those should not happen without a previous
bug. Assert that its return value is >= 0.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/ust-metadata.c
This page took 0.024806 seconds and 4 git commands to generate.