aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohannes Schickel2008-09-01 15:39:48 +0000
committerJohannes Schickel2008-09-01 15:39:48 +0000
commitc2f2269852c817ccbe43141820896455ee1d3854 (patch)
tree728b64f84a156f1af5963f3346f499260f153bff /test
parent572641d3cc3a0799c5c2bbc87edc3c57a300c9f2 (diff)
downloadscummvm-rg350-c2f2269852c817ccbe43141820896455ee1d3854.tar.gz
scummvm-rg350-c2f2269852c817ccbe43141820896455ee1d3854.tar.bz2
scummvm-rg350-c2f2269852c817ccbe43141820896455ee1d3854.zip
Fixed warnings.
svn-id: r34239
Diffstat (limited to 'test')
-rw-r--r--test/common/bufferedreadstream.h3
-rw-r--r--test/common/bufferedseekablereadstream.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/test/common/bufferedreadstream.h b/test/common/bufferedreadstream.h
index 7733949d9a..2644745af2 100644
--- a/test/common/bufferedreadstream.h
+++ b/test/common/bufferedreadstream.h
@@ -13,8 +13,7 @@ class BufferedReadStreamTestSuite : public CxxTest::TestSuite {
// refilled.
Common::BufferedReadStream srs(&ms, 4);
- int i;
- byte b;
+ byte i, b;
for (i = 0; i < 10; ++i) {
TS_ASSERT( !srs.eos() );
diff --git a/test/common/bufferedseekablereadstream.h b/test/common/bufferedseekablereadstream.h
index 63941904cd..c3e85c1b66 100644
--- a/test/common/bufferedseekablereadstream.h
+++ b/test/common/bufferedseekablereadstream.h
@@ -10,8 +10,7 @@ class BufferedSeekableReadStreamTestSuite : public CxxTest::TestSuite {
Common::BufferedSeekableReadStream ssrs(&ms, 4);
- int i;
- byte b;
+ byte i, b;
for (i = 0; i < 10; ++i) {
TS_ASSERT( !ssrs.eos() );