[Bf-blender-cvs] [ffc0e4d4104] master: Fix building with MSVC

Campbell Barton noreply at git.blender.org
Wed Sep 7 05:05:18 CEST 2022


Commit: ffc0e4d4104597cd5bc19a7802d8b34eadedcdbe
Author: Campbell Barton
Date:   Wed Sep 7 13:03:46 2022 +1000
Branches: master
https://developer.blender.org/rBffc0e4d4104597cd5bc19a7802d8b34eadedcdbe

Fix building with MSVC

Correct error from [0] which built with GCC.

[0]: b8d986451805f324b0ba98f4b57b4cf89cee04ed

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

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

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

diff --git a/source/blender/makesrna/intern/rna_access_compare_override.c b/source/blender/makesrna/intern/rna_access_compare_override.c
index 69043dbad7b..808578b4746 100644
--- a/source/blender/makesrna/intern/rna_access_compare_override.c
+++ b/source/blender/makesrna/intern/rna_access_compare_override.c
@@ -54,7 +54,7 @@ static CLG_LogRef LOG = {"rna.access_compare_override"};
  * #RNA_find_real_ID_and_path, since in overrides we also consider shape keys as embedded data, not
  * only root node trees and master collections.
  */
-static ID *rna_property_override_property_real_id_owner(Main * /*bmain*/,
+static ID *rna_property_override_property_real_id_owner(Main *UNUSED(bmain),
                                                         PointerRNA *ptr,
                                                         PropertyRNA *prop,
                                                         char **r_rna_path)



More information about the Bf-blender-cvs mailing list