[Scummvm-cvs-logs] scummvm master -> dc934a33534280c7ac4306bf01ed0f7f20127872
Strangerke
Strangerke at scummvm.org
Wed Sep 14 00:22:26 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
dc934a3353 CGE4: Remove useless variable
Commit: dc934a33534280c7ac4306bf01ed0f7f20127872
https://github.com/scummvm/scummvm/commit/dc934a33534280c7ac4306bf01ed0f7f20127872
Author: Strangerke (strangerke at scummvm.org)
Date: 2011-09-13T15:14:12-07:00
Commit Message:
CGE4: Remove useless variable
Thanks DrMcCoy for reporting it
Changed paths:
engines/cge/text.cpp
diff --git a/engines/cge/text.cpp b/engines/cge/text.cpp
index 021fa1a..1f2f696 100644
--- a/engines/cge/text.cpp
+++ b/engines/cge/text.cpp
@@ -67,10 +67,9 @@ int16 Text::count() {
Common::String line;
char tmpStr[kLineMax + 1];
- int n, counter = 0;
+ int counter = 0;
for (line = tf.readLine(); !tf.eos(); line = tf.readLine()) {
- n = line.size();
char *s;
strcpy(tmpStr, line.c_str());
More information about the Scummvm-git-logs
mailing list