Clean-up: sessiond: cmd: fix bogus -Wmaybe-uninitialized
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 19 Apr 2021 15:00:23 +0000 (11:00 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 19 Apr 2021 15:00:23 +0000 (11:00 -0400)
commit3e47be6dfb6ce33d0879ed2b28175ebf429e9c01
tree811c74b56a986affd74074ec642ae8383d51f5d6
parentb006f85d9d07af970f24cfa5ab077bfe599d75c9
Clean-up: sessiond: cmd: fix bogus -Wmaybe-uninitialized

Old gcc versions report:
cmd.c:4751: ‘query_target_action’ may be used uninitialized in this function [-Wmaybe-uninitialized]

For this to be reachable, a query target would have to change suddenly
during the execution of the function.

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