summaryrefslogtreecommitdiff
path: root/x11/xcb-util-image/patches/patch-image_xcb__bitops.h
blob: 07541b2ad597af4368ffe2f583469c7bf86e0545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-image_xcb__bitops.h,v 1.1 2018/01/25 13:47:22 jperkin Exp $

Workaround clang "error: control may reach end of non-void function".

--- image/xcb_bitops.h.orig	2011-06-30 08:05:22.000000000 +0000
+++ image/xcb_bitops.h
@@ -207,6 +207,7 @@ xcb_host_byte_order(void) {
       return XCB_IMAGE_ORDER_LSB_FIRST;
   }
   assert(0);
+  return -1;
 }
 
 #endif /* __XCB_BITOPS_H__ */