Fix: potential use of uninitialized return value
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 31 Jan 2020 21:33:26 +0000 (16:33 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 31 Jan 2020 21:33:26 +0000 (16:33 -0500)
commit235493868254e943513c6552c6821236284f00ac
treeeb2e3d780fd8371d3ed4a4ffcc5ade3c0d5a8ca6
parent9df6c82a8ea4064f9868028b9fc3412f45adbb0a
Fix: potential use of uninitialized return value

lttng_tracker_ids_serialize() can return an uninitialized value
when 0 ids are being tracked by a tracker. This is not currently
reachable, but generates a warning on some compilers.

'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ia54f5276d6a89d39badfc6c718ad0032edb98ec8
src/common/tracker.c
This page took 0.02641 seconds and 4 git commands to generate.