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, 19 Sep 2019 19:31:48 +0000 (15:31 -0400)
commit706ccad28482dc26697fecb15996a02446f73298
treed658874a13d47515e67c1ab126b128e3bab75a8e
parentc779502b1d01b1763fc6b5823f7c522bf20ebb4b
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.025947 seconds and 4 git commands to generate.