]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: cli: appease a null-deref warning in cli_gen_usage_msg()
authorWilly Tarreau <w@1wt.eu>
Mon, 10 May 2021 05:47:05 +0000 (07:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 10 May 2021 05:47:05 +0000 (07:47 +0200)
commit5db446d7e1325322fc950a28d77e8f7b947ff227
treeb59af0d59d88888d7c38a8a63646b8e324b41039
parent7deb28ce6510bbc764eddd4e381cb7268792254a
BUILD: cli: appease a null-deref warning in cli_gen_usage_msg()

The compiler sees the possibility of null-deref for which a path is
possible but which doesn't exist as we didn't pass a null args outside
of the help request. The test was introduced by the simplified test on
ishelp variable, so let's add it to shut the warning.
src/cli.c