• Ulrich Sibiller's avatar
    Pixmap.c: fix variable shadowing · 7977b9f8
    Ulrich Sibiller authored
    Pixmap.c: In function ‘nxagentDisconnectAllPixmaps’:
    Pixmap.c:677:19: warning: declaration of ‘r’ shadows a previous local [-Wshadow=compatible-local]
       for (int i = 0, r = 1; i < MAXCLIENTS; r = 1, i++)
                       ^
    Pixmap.c:652:7: note: shadowed declaration is here
       int r = 1;
           ^
    Pixmap.c: In function ‘nxagentReconnectAllPixmaps’:
    Pixmap.c:840:19: warning: declaration of ‘result’ shadows a previous local [-Wshadow=compatible-local]
       for (int i = 0, result = 1; i < MAXCLIENTS; result = 1, i++)
                       ^~~~~~
    Pixmap.c:807:8: note: shadowed declaration is here
       Bool result = 1;
            ^~~~~~
    7977b9f8
Name
Last commit
Last update
..
nxagent Loading commit data...