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>
Tue, 10 Sep 2019 23:47:28 +0000 (19:47 -0400)
commit7ff4dd491700dd2be4bb9f29c025550f733abf12
treec477e2e7f571780df7e4fc601bdd51403eb2fbb5
parent9927c13b08e58e711104893496060fc5eb505f34
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.025493 seconds and 4 git commands to generate.