debug: silence unused ctx warning in build with NDEBUG defined

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Rohan Garg <rohan.garg@collabora.com>
macos/master
Gert Wollny 4 years ago
parent a296b90d19
commit b5d701683e
  1. 6
      src/vrend_debug.h

@ -97,9 +97,9 @@ virgl_debug_callback_type vrend_set_debug_callback(virgl_debug_callback_type cb)
} while (0) } while (0)
#else #else
#define VREND_DEBUG(flag, ctx, ...) #define VREND_DEBUG(flag, ctx, ...) (void)ctx
#define VREND_DEBUG_EXT(flag, ctx, X) #define VREND_DEBUG_EXT(flag, ctx, X) (void)ctx
#define VREND_DEBUG_NOCTX(flag, ctx, ...) #define VREND_DEBUG_NOCTX(flag, ctx, ...) (void)ctx
#endif #endif
#endif #endif

Loading…
Cancel
Save