[Scummvm-cvs-logs] SF.net SVN: scummvm: [29879] scummvm/trunk/engines/parallaction/parser.cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sun Dec 16 17:03:05 CET 2007


Revision: 29879
          http://scummvm.svn.sourceforge.net/scummvm/?rev=29879&view=rev
Author:   peres001
Date:     2007-12-16 08:03:04 -0800 (Sun, 16 Dec 2007)

Log Message:
-----------
Changed an explicit warning/remainder into a code comment.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/parser.cpp

Modified: scummvm/trunk/engines/parallaction/parser.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/parser.cpp	2007-12-16 14:46:48 UTC (rev 29878)
+++ scummvm/trunk/engines/parallaction/parser.cpp	2007-12-16 16:03:04 UTC (rev 29879)
@@ -95,8 +95,6 @@
 
 	STATES state = NORMAL;
 
-	char *t = s;
-
 	while (count > 0) {
 
 		switch (state) {
@@ -143,7 +141,9 @@
 	}
 
 	*tok = '\0';
-	warning("token was truncated from line '%s'", t);
+	// TODO: if execution flows here, make *REALLY* sure everything has been parsed
+	// out of the input string. This is what is supposed to happen, but never ever
+	// allocated time to properly check.
 
 	return tok;
 


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