Skip to content

Commit 91b0b1e

Browse files
flichtenheldcron2
authored andcommitted
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 <[email protected]>
1 parent 39c31ae commit 91b0b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tray.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ SetMenuStatus(connection_t *c, conn_state_t state)
780780
config_group_t *parent = &o.groups[0];
781781
int pos = c->pos;
782782

783-
if (USE_NESTED_CONFIG_MENU && CONFIG_GROUP(c))
783+
if (USE_NESTED_CONFIG_MENU)
784784
{
785785
parent = CONFIG_GROUP(c);
786786
}

0 commit comments

Comments
 (0)