tree-wide: replace MAYBE_UNUSED with ASSERTED
[mesa.git] / src / gallium / auxiliary / util / u_inlines.h
index 1254e3f9e98cb4b702a50fadb977fc787d688690..40512625ad9ad4b83e28df0df55b7cc5d69a0706 100644 (file)
@@ -77,7 +77,7 @@ pipe_reference_described(struct pipe_reference *dst,
    if (dst != src) {
       /* bump the src.count first */
       if (src) {
-         MAYBE_UNUSED int count = p_atomic_inc_return(&src->count);
+         ASSERTED int count = p_atomic_inc_return(&src->count);
          assert(count != 1); /* src had to be referenced */
          debug_reference(src, get_desc, 1);
       }