Clean-up: lttng: silence warning in metadata command handler
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 10 Sep 2019 23:43:16 +0000 (19:43 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 10 Sep 2019 23:43:18 +0000 (19:43 -0400)
commit9927c13b08e58e711104893496060fc5eb505f34
tree9cdca12034d997e241341633b8be8a1e89c20595
parent5c956ba3bc1704612d52068aea1d27c1d9b558d0
Clean-up: lttng: silence warning in metadata 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/metadata.c
This page took 0.025657 seconds and 4 git commands to generate.