[Bf-blender-cvs] [0ee9e3c6ef6] temp-text-undo-memcmp: Quiet warning

Campbell Barton noreply at git.blender.org
Thu Jul 11 08:10:57 CEST 2019


Commit: 0ee9e3c6ef6fbe4e86e4b9749e6d34a3850be8d9
Author: Campbell Barton
Date:   Thu Jul 11 16:10:25 2019 +1000
Branches: temp-text-undo-memcmp
https://developer.blender.org/rB0ee9e3c6ef6fbe4e86e4b9749e6d34a3850be8d9

Quiet warning

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

M	source/blender/editors/space_text/text_undo.c

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

diff --git a/source/blender/editors/space_text/text_undo.c b/source/blender/editors/space_text/text_undo.c
index 7b72161fdba..eca2baf1e65 100644
--- a/source/blender/editors/space_text/text_undo.c
+++ b/source/blender/editors/space_text/text_undo.c
@@ -114,7 +114,7 @@ static void text_undosys_step_encode_init(struct bContext *C, UndoStep *us_p)
   TextUndoStep *us = (TextUndoStep *)us_p;
   BLI_assert(BLI_array_is_zeroed(&us->data, 1));
 
-  UNUSED_VARS(C);
+  UNUSED_VARS(C, us);
   /* XXX, use to set the undo type only. */
 }



More information about the Bf-blender-cvs mailing list