test/cmdline: fix inputs array
authorKevin Traynor <ktraynor@redhat.com>
Tue, 20 Apr 2021 13:21:49 +0000 (14:21 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 20 Apr 2021 22:40:52 +0000 (00:40 +0200)
commit414245bbc527b6ff6da0dc0787c6e5c67556d9ec
tree57150965fde1b7d94b6e93fed57d91dd406905d4
parent1b4c86a721c90ad52899264c21a1d50f6fe11dcb
test/cmdline: fix inputs array

clang 12 gives a warning about string concatenation in arrays.
In this case it looks like it was unintentional to concatenate
the strings. Separate with a comma.

$ clang --version
clang version 12.0.0 (Fedora 12.0.0-0.3.rc1.fc34)

../app/test/test_cmdline_ipaddr.c:259:3: warning:
suspicious concatenation of string literals in an array initialization;
did you mean to separate the elements with a comma?
[-Wstring-concatenation]
"random invalid text",
^
../app/test/test_cmdline_ipaddr.c:258:3: note:
place parentheses around the string literal to silence warning
"1234:1234:1234:1234:1234:1234:1234:1234:1234:1234:1234"
^

Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
app/test/test_cmdline_ipaddr.c