[Scummvm-cvs-logs] SF.net SVN: scummvm:[44541] scummvm/trunk/engines/sci/engine/vm.cpp

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Fri Oct 2 17:02:58 CEST 2009


Revision: 44541
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44541&view=rev
Author:   wjpalenstijn
Date:     2009-10-02 15:02:57 +0000 (Fri, 02 Oct 2009)

Log Message:
-----------
Fix cppcheck issue reported by salty-horse

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/vm.cpp

Modified: scummvm/trunk/engines/sci/engine/vm.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/vm.cpp	2009-10-02 14:44:52 UTC (rev 44540)
+++ scummvm/trunk/engines/sci/engine/vm.cpp	2009-10-02 15:02:57 UTC (rev 44541)
@@ -948,7 +948,7 @@
 							warningMsg += (i == argc - 1 ? ")" : ", ");
 						}
 
-						warning(warningMsg.c_str());
+						warning("%s", warningMsg.c_str());
 					}
 				}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list