mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-17 20:03:39 +00:00
tc_util: Silence spurious compiler warning
GCC version 7.2.1 complains that 'result1' may be used uninitialized in parse_action_control_slash_spaces(). This should not be possible in practice, so the actual value 'result1' is initialized with does not matter. Signed-off-by: Phil Sutter <phil@nwl.cc>
This commit is contained in:
parent
b7c61286de
commit
66942e522e
@ -572,7 +572,7 @@ static int parse_action_control_slash_spaces(int *argc_p, char ***argv_p,
|
||||
{
|
||||
int argc = *argc_p;
|
||||
char **argv = *argv_p;
|
||||
int result1, result2;
|
||||
int result1 = -1, result2;
|
||||
int *result_p = &result1;
|
||||
int ok = 0;
|
||||
int ret;
|
||||
|
Loading…
Reference in New Issue
Block a user