• Ulrich Sibiller's avatar
    Events.c: fix two shadowed variables · 7031219d
    Ulrich Sibiller authored
    Events.c: In function ‘nxagentDispatchEvents’:
    Events.c:1241:21: warning: declaration of ‘pScreen’ shadows a previous local [-Wshadow=compatible-local]
               ScreenPtr pScreen = nxagentScreen(X.xbutton.window);
                         ^~~~~~~
    Events.c:827:13: note: shadowed declaration is here
       ScreenPtr pScreen = NULL;
                 ^~~~~~~
    Events.c:1383:19: warning: declaration of ‘pScreen’ shadows a previous local [-Wshadow=compatible-local]
             ScreenPtr pScreen = nxagentScreen(X.xmotion.window);
                       ^~~~~~~
    Events.c:827:13: note: shadowed declaration is here
       ScreenPtr pScreen = NULL;
                 ^~~~~~~
    
    Events.c: In function ‘nxagentDispatchEvents’:
    Events.c:1383:19: warning: declaration of ‘pScreen’ shadows a previous local [-Wshadow=compatible-local]
             ScreenPtr pScreen = nxagentScreen(X.xmotion.window);
                       ^~~~~~~
    Events.c:827:13: note: shadowed declaration is here
       ScreenPtr pScreen = NULL;
                 ^~~~~~~
    7031219d
Events.c 121 KB