mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 00:58:00 +02:00
libnm/tests: avoid potential crash in test code test_nm_utils_escaped_tokens()
It causes a Coverity warning, so let's work around it.
This commit is contained in:
parent
bbe39ed095
commit
6646ee6546
1 changed files with 1 additions and 1 deletions
|
|
@ -1262,7 +1262,7 @@ test_nm_utils_escaped_tokens(void)
|
|||
num_options);
|
||||
g_print(">>> combined = \"%s\"\n", combined->str);
|
||||
g_print(">>> %c parsed[%5d].key = \"%s\"\n",
|
||||
nm_streq(key, expected_key) ? ' ' : 'X',
|
||||
nm_streq0(key, expected_key) ? ' ' : 'X',
|
||||
i_option,
|
||||
key);
|
||||
g_print(">>> %c parsed[%5d].val = %s%s%s\n",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue