From 63cfc8f9f6d623f33b50c5c07976af2b22845713 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Mon, 5 Sep 2022 11:28:30 -0500 Subject: Cleanup: Fix unused variable warnings --- source/blender/draw/intern/draw_debug.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/blender/draw/intern/draw_debug.cc b/source/blender/draw/intern/draw_debug.cc index 9cb79d73812..b0662a42ea0 100644 --- a/source/blender/draw/intern/draw_debug.cc +++ b/source/blender/draw/intern/draw_debug.cc @@ -671,6 +671,8 @@ void DRW_debug_modelmat(const float modelmat[4][4]) return; } reinterpret_cast(DST.debug)->modelmat_set(modelmat); +#else + UNUSED_VARS(modelmat); #endif } @@ -718,6 +720,8 @@ void DRW_debug_bbox(const BoundBox *bbox, const float color[4]) return; } reinterpret_cast(DST.debug)->draw_bbox(*bbox, color); +#else + UNUSED_VARS(bbox, color); #endif } -- cgit v1.2.3