Cleanup: Silence compilation warnings (unused variables)
authorDalai Felinto <dalai@blender.org>
Tue, 25 Feb 2020 16:18:25 +0000 (17:18 +0100)
committerDalai Felinto <dalai@blender.org>
Tue, 25 Feb 2020 16:21:01 +0000 (17:21 +0100)
source/blender/makesrna/intern/rna_image.c

index 94b5786665c9c114f267aed018850dba9592f615..b8174f094ecb98c86eefa04d23bcd8f357b0ea0d 100644 (file)
@@ -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;