Clean-up: lttng: silence warning in regenerate command handler
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 10 Sep 2019 23:47:28 +0000 (19:47 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 19 Sep 2019 19:31:48 +0000 (15:31 -0400)
commit5ba15d379e34c74726269b4999295c02c93ed299
treebe6d7e4edf43743a9afe74db5b56284e92922af0
parentc2cff76c0f3afa83c968a5414f16a2f6e27809ed
Clean-up: lttng: silence warning in regenerate command handler

argv[0] is used before checking argc, resulting in a warning
that argv could be of zero-length.

This is not a reachable bug; it really is a false positive.

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