• 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
..
config Loading commit data...
extras Loading commit data...
include Loading commit data...
lib Loading commit data...
programs Loading commit data...
.gitignore Loading commit data...
Imakefile Loading commit data...
Makefile Loading commit data...
x-indent-all.sh Loading commit data...
x-indent.sh Loading commit data...