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>
Thu, 19 Sep 2019 19:31:48 +0000 (15:31 -0400)
commitc2cff76c0f3afa83c968a5414f16a2f6e27809ed
treedacb412f31eeb7220231301f35068f0e0851864d
parent7e0a8f85d65b2df39e1b8455bd88c2e5da995956
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.024994 seconds and 4 git commands to generate.