diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-01-09 21:44:30 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2020-01-09 21:51:57 +0100 |
commit | 7977b9f8f1c6b0ab9a37ce33fc53b8ef36400262 (patch) | |
tree | 4431e26cb4f061dbe394e38d06cc212499d643de /nx-X11/programs/Xserver/hw/nxagent/NXpicture.c | |
parent | a93e25077c84f08a1aeea88968c3629909961a92 (diff) | |
download | nx-libs-7977b9f8f1c6b0ab9a37ce33fc53b8ef36400262.tar.gz nx-libs-7977b9f8f1c6b0ab9a37ce33fc53b8ef36400262.tar.bz2 nx-libs-7977b9f8f1c6b0ab9a37ce33fc53b8ef36400262.zip |
Pixmap.c: fix variable shadowing
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;
^~~~~~
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/NXpicture.c')
0 files changed, 0 insertions, 0 deletions