x11support.c:78: wierd increment ?
Brought to you by:
realh
roxterm-3.3.2/src/x11support.c:78:15: warning: variable 'i' is incremented both in the loop header and in the loop body [-Wfor-loop-analysis]
Code is
for (i = 0; i < nitems; i++)
{
if (atoms[i] == hidden_atom)
{
minimized = TRUE;
break;
}
++i;
}
This code only checks even numbered entries, which is probably
not what you want.
Suggest code rework.
Anonymous