aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Mettifogo2007-12-16 16:03:04 +0000
committerNicola Mettifogo2007-12-16 16:03:04 +0000
commit8da3b3a0eab089672f0d569b01cfed8e3fb01a10 (patch)
tree66b16b86ee3eadc64dd87536e109134a01056525
parent943ab421a47d543002d1e503a893ec68526c1672 (diff)
downloadscummvm-rg350-8da3b3a0eab089672f0d569b01cfed8e3fb01a10.tar.gz
scummvm-rg350-8da3b3a0eab089672f0d569b01cfed8e3fb01a10.tar.bz2
scummvm-rg350-8da3b3a0eab089672f0d569b01cfed8e3fb01a10.zip
Changed an explicit warning/remainder into a code comment.
svn-id: r29879
-rw-r--r--engines/parallaction/parser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/parser.cpp b/engines/parallaction/parser.cpp
index c3f4e50cc1..20b979c15d 100644
--- a/engines/parallaction/parser.cpp
+++ b/engines/parallaction/parser.cpp
@@ -95,8 +95,6 @@ char *parseNextToken(char *s, char *tok, uint16 count, const char *brk, bool ign
STATES state = NORMAL;
- char *t = s;
-
while (count > 0) {
switch (state) {
@@ -143,7 +141,9 @@ char *parseNextToken(char *s, char *tok, uint16 count, const char *brk, bool ign
}
*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;