[PATCH xserver 0/4] Warning fixes

Jon Turney jon.turney at dronecode.org.uk
Tue Apr 18 10:53:03 UTC 2017


Experimenting with building with meson, it likes to use a different set of 
warning flags by default, which make the following a bit more obvious.

Jon Turney (4):
  Don't declare variables which will be unused if XSERVER_LIBPICACCESS
    isn't defined
  hw/xwin: Fix -Wmaybe-uninitialized warning in winWindowProc
  hw/xwin: Fix -Wmaybe-uninitialized warnings in engine CloseScreen
    wrappers
  hw/xwin: Fix -Wunused-function warning for MessageName() in non-debug
    builds

 hw/xfree86/common/xf86Config.c |  2 ++
 hw/xwin/winmultiwindowwm.c     |  2 ++
 hw/xwin/winshadddnl.c          |  2 +-
 hw/xwin/winshadgdi.c           |  2 +-
 hw/xwin/winwndproc.c           | 10 +++++++---
 5 files changed, 13 insertions(+), 5 deletions(-)

-- 
2.8.3



More information about the xorg-devel mailing list