tray.c: Avoid -Waddress with MinGW

tray.c:783:36: error: the comparison will always
evaluate as ‘true’ for the pointer operand [...]
must not be NULL [-Werror=address]

True.

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
master
Frank Lichtenheld 2025-01-21 18:36:47 +01:00 committed by Gert Doering
parent 39c31aef98
commit 91b0b1e5be
1 changed files with 1 additions and 1 deletions

2
tray.c
View File

@ -780,7 +780,7 @@ SetMenuStatus(connection_t *c, conn_state_t state)
config_group_t *parent = &o.groups[0];
int pos = c->pos;
if (USE_NESTED_CONFIG_MENU && CONFIG_GROUP(c))
if (USE_NESTED_CONFIG_MENU)
{
parent = CONFIG_GROUP(c);
}