• Mike Gabriel's avatar
    hw/nxagent/NX*.c: Amend re-introduced nxagent warnings by fixing the… · 3bdcd172
    Mike Gabriel authored
    hw/nxagent/NX*.c: Amend re-introduced nxagent warnings by fixing the corresponding code section in files included from "somewhere" in nx-X11/programs/Xserver/.
    
     (1)
     In file included from NXrender.c:44:0:
     ../../mi/../render/render.c: In function ‘swapStops’:
     ../../mi/../render/render.c:2541:13: warning: variable ‘colors’ set but not used [-Wunused-but-set-variable]
          CARD16 *colors;
                  ^
    
     (2)
     In file included from NXevents.c:133:0:
     ../../dix/events.c: In function ‘ReinitializeRootWindow’:
     ../../dix/events.c:2046:15: warning: unused variable ‘pScreen’ [-Wunused-variable]
          ScreenPtr pScreen = win->drawable.pScreen;
                    ^
     ../../dix/events.c: In function ‘XineramaPointInWindowIsVisible’:
     ../../dix/events.c:2177:15: warning: variable ‘pScreen’ set but not used [-Wunused-but-set-variable]
          ScreenPtr pScreen = pWin->drawable.pScreen;
                    ^
     In file included from NXevents.c:133:0:
     ../../dix/events.c: In function ‘XineramaPointInWindowIsVisible’:
     ../../dix/events.c:2191:2: error: ‘pScreen’ undeclared (first use in this function)
       pScreen = pWin->drawable.pScreen;
       ^
    
     (3)
     In file included from NXdixfonts.c:77:0:
     ../../dix/dixfonts.c: In function ‘GetFontPath’:
     ../../dix/dixfonts.c:1890:2: warning: return makes pointer from integer without a cast
       return BadAlloc;
       ^
    3bdcd172
Name
Last commit
Last update
..
BuiltInAtoms Loading commit data...
CHANGES Loading commit data...
Imakefile Loading commit data...
atom.c Loading commit data...
buildatoms Loading commit data...
colormap.c Loading commit data...
cursor.c Loading commit data...
devices.c Loading commit data...
dispatch.c Loading commit data...
dispatch.h Loading commit data...
dixfonts.c Loading commit data...
dixutils.c Loading commit data...
events.c Loading commit data...
extension.c Loading commit data...
ffs.c Loading commit data...
gc.c Loading commit data...
globals.c Loading commit data...
glyphcurs.c Loading commit data...
grabs.c Loading commit data...
initatoms.c Loading commit data...
main.c Loading commit data...
pixmap.c Loading commit data...
privates.c Loading commit data...
property.c Loading commit data...
region.c Loading commit data...
resource.c Loading commit data...
swaprep.c Loading commit data...
swapreq.c Loading commit data...
tables.c Loading commit data...
window.c Loading commit data...
xpstubs.c Loading commit data...