]> git.ozlabs.org Git - ccan/blobdiff - ccan/order/order.c
Mark unused arguments in many modules.
[ccan] / ccan / order / order.c
index 863a8e16e1425803621ee0bc68e37ee376693f20..5ff85a987fec66fd5c55aa89d3a18ba5bcd9020c 100644 (file)
@@ -24,7 +24,7 @@
                           const _type *b,                              \
                           void *ctx)                                   \
        {                                                               \
-               return _order_##_oname(a, b, int2ptr(0));               \
+               (void)ctx; return _order_##_oname(a, b, int2ptr(0));    \
        }                                                               \
        int _order_##_oname##_reverse(const void *a,                    \
                                      const void *b,                    \
@@ -36,6 +36,7 @@
                                     const _type *b,                    \
                                     void *ctx)                         \
        {                                                               \
+               (void)ctx;                                              \
                return _order_##_oname##_reverse(a, b, int2ptr(0));     \
        }                                                               \
        int order_##_oname##_noctx(const void *a,                       \