1. 24 Jul, 2022 5 commits
  2. 20 Jul, 2022 3 commits
  3. 13 Apr, 2020 1 commit
  4. 17 Feb, 2019 3 commits
  5. 15 Oct, 2014 1 commit
  6. 24 Sep, 2014 1 commit
  7. 17 Apr, 2014 10 commits
  8. 29 Jan, 2014 1 commit
  9. 23 Aug, 2013 7 commits
  10. 06 Feb, 2013 1 commit
    • Jon Turney's avatar
      Fix compilation when NDEBUG is defined · 3577db11
      Jon Turney authored and Peter Harris's avatar Peter Harris committed
      
      
      XORG_DEFAULT_OPTIONS enables -Werror=return-type
      
      xcb_image_get_pixel() and xcb_image_create_native() assume assert(0) is
      noreturn, and don't return a value in that case.  But assert(0) isn't noreturn
      if NDEBUG is defined.
      
      Fix this by returning a suitable value.
      
      (Also, on the MinGW target, assert(0) is non-standard and may return even in the
      !NDEBUG case, as the C runtime may ask the user if they want to abort or not...)
      
      /jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c: In function 'xcb_image_get_pixel':
      /jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c:754:1: error: control reaches end of non-void function [-Wreturn-type]
      /jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c: In function 'xcb_image_create_native':
      /jhbuild/checkout/xcb/xcb-util-image/image/xcb_image.c:190:1: error: control reaches end of non-void function [-Wreturn-type]
      Signed-off-by: Jon Turney's avatarJon TURNEY <jon.turney@dronecode.org.uk>
      Signed-off-by: Peter Harris's avatarPeter Harris <pharris@opentext.com>
      3577db11
  11. 28 Oct, 2012 1 commit
  12. 30 May, 2012 1 commit
  13. 22 May, 2012 3 commits
  14. 21 May, 2012 2 commits