[Bf-blender-cvs] [358a8e00bd0] master: Cleanup: Quiet unused variables warning

Hans Goudey noreply at git.blender.org
Tue Sep 22 20:36:19 CEST 2020


Commit: 358a8e00bd07c658a8a3d7a3fd6224953f50e09a
Author: Hans Goudey
Date:   Tue Sep 22 13:36:06 2020 -0500
Branches: master
https://developer.blender.org/rB358a8e00bd07c658a8a3d7a3fd6224953f50e09a

Cleanup: Quiet unused variables warning

===================================================================

M	source/blender/makesrna/intern/rna_brush.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c
index 1f5aaabe59f..9a43766d667 100644
--- a/source/blender/makesrna/intern/rna_brush.c
+++ b/source/blender/makesrna/intern/rna_brush.c
@@ -980,7 +980,7 @@ static bool rna_GPencilBrush_pin_mode_get(PointerRNA *ptr)
   return false;
 }
 
-static void rna_GPencilBrush_pin_mode_set(PointerRNA *ptr, bool value)
+static void rna_GPencilBrush_pin_mode_set(PointerRNA *UNUSED(ptr), bool UNUSED(value))
 {
   /* All data is set in update. Keep this function only to avoid RNA compilation errors. */
   return;



More information about the Bf-blender-cvs mailing list