[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20764] trunk/blender/source/creator/ creator.c: Use fputs instead of fprintf in mem_error_cb().

Chris Want cwant at ualberta.ca
Tue Jun 9 20:08:45 CEST 2009


Revision: 20764
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20764
Author:   hos
Date:     2009-06-09 20:08:45 +0200 (Tue, 09 Jun 2009)

Log Message:
-----------
Use fputs instead of fprintf in mem_error_cb(). This silences the
gcc warning "format not a string literal and no format arguments".

Modified Paths:
--------------
    trunk/blender/source/creator/creator.c

Modified: trunk/blender/source/creator/creator.c
===================================================================
--- trunk/blender/source/creator/creator.c	2009-06-09 17:56:07 UTC (rev 20763)
+++ trunk/blender/source/creator/creator.c	2009-06-09 18:08:45 UTC (rev 20764)
@@ -887,7 +887,7 @@
 
 static void mem_error_cb(char *errorStr)
 {
-	fprintf(stderr, errorStr);
+	fputs(errorStr, stderr);
 	fflush(stderr);
 }
 





More information about the Bf-blender-cvs mailing list