[Bf-blender-cvs] [24090ea] master: Quiet warning

Campbell Barton noreply at git.blender.org
Wed Jun 18 07:50:10 CEST 2014


Commit: 24090ead012e3774fabc25a88909e51931e1a5bc
Author: Campbell Barton
Date:   Wed Jun 18 15:48:22 2014 +1000
https://developer.blender.org/rB24090ead012e3774fabc25a88909e51931e1a5bc

Quiet warning

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

M	source/blender/datatoc/datatoc_icon.c

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

diff --git a/source/blender/datatoc/datatoc_icon.c b/source/blender/datatoc/datatoc_icon.c
index 59c9eeb..7df9269 100644
--- a/source/blender/datatoc/datatoc_icon.c
+++ b/source/blender/datatoc/datatoc_icon.c
@@ -314,6 +314,9 @@ static bool icon_merge(const char *file_src,
 
 	free(pixels);
 
+	/* only for bounds check */
+	(void)canvas_h;
+
 	return true;
 }




More information about the Bf-blender-cvs mailing list