[Bf-blender-cvs] [63cfc8f9f6d] master: Cleanup: Fix unused variable warnings
Hans Goudey
noreply at git.blender.org
Mon Sep 5 18:28:46 CEST 2022
Commit: 63cfc8f9f6d623f33b50c5c07976af2b22845713
Author: Hans Goudey
Date: Mon Sep 5 11:28:30 2022 -0500
Branches: master
https://developer.blender.org/rB63cfc8f9f6d623f33b50c5c07976af2b22845713
Cleanup: Fix unused variable warnings
===================================================================
M source/blender/draw/intern/draw_debug.cc
===================================================================
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<blender::draw::DebugDraw *>(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<blender::draw::DebugDraw *>(DST.debug)->draw_bbox(*bbox, color);
+#else
+ UNUSED_VARS(bbox, color);
#endif
}
More information about the Bf-blender-cvs
mailing list