[Bf-blender-cvs] [280d2a9a17a] master: Cleanup: Silence compilation warnings (unused variables)

Dalai Felinto noreply at git.blender.org
Tue Feb 25 17:21:12 CET 2020


Commit: 280d2a9a17aeef56a590ab18ee150142b4fadfcd
Author: Dalai Felinto
Date:   Tue Feb 25 17:18:25 2020 +0100
Branches: master
https://developer.blender.org/rB280d2a9a17aeef56a590ab18ee150142b4fadfcd

Cleanup: Silence compilation warnings (unused variables)

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

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

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

diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c
index 94b5786665c..b8174f094ec 100644
--- a/source/blender/makesrna/intern/rna_image.c
+++ b/source/blender/makesrna/intern/rna_image.c
@@ -193,7 +193,9 @@ static char *rna_ImageUser_path(PointerRNA *ptr)
   return BLI_strdup("");
 }
 
-static void rna_Image_gpu_texture_update(Main *bmain, Scene *scene, PointerRNA *ptr)
+static void rna_Image_gpu_texture_update(Main *UNUSED(bmain),
+                                         Scene *UNUSED(scene),
+                                         PointerRNA *ptr)
 {
   Image *ima = (Image *)ptr->owner_id;



More information about the Bf-blender-cvs mailing list