1Make clang happy since it squashes the control warning, ideally it will never reach that return value due to assert
2but there is a chance when NDEBUG is defined
3
4| In file included from ../../xcb-util-image-0.4.0/image/xcb_image.c:37:
5| ../../xcb-util-image-0.4.0/image/xcb_bitops.h:210:1: error: control may reach end of non-void function [-Werror,-Wreturn-type]
6| }
7| ^
8| 1 error generated.
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11Upstream-Status: Pending
12
13Index: xcb-util-image-0.4.0/image/xcb_bitops.h
14===================================================================
15--- xcb-util-image-0.4.0.orig/image/xcb_bitops.h
16+++ xcb-util-image-0.4.0/image/xcb_bitops.h
17@@ -207,6 +207,7 @@ xcb_host_byte_order(void) {
18       return XCB_IMAGE_ORDER_LSB_FIRST;
19   }
20   assert(0);
21+  return -1;
22 }
23
24 #endif /* __XCB_BITOPS_H__ */
25