aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKari Salminen2008-07-21 11:33:30 +0000
committerKari Salminen2008-07-21 11:33:30 +0000
commite09eb75ef77d6e76b763b3a47540a530013a887f (patch)
tree9632a9139367a8b704799fb6ee401ce8cd92e56c
parente1c71dab99c9bf60ee1cc26da09ebd797a693a3a (diff)
downloadscummvm-rg350-e09eb75ef77d6e76b763b3a47540a530013a887f.tar.gz
scummvm-rg350-e09eb75ef77d6e76b763b3a47540a530013a887f.tar.bz2
scummvm-rg350-e09eb75ef77d6e76b763b3a47540a530013a887f.zip
Silence a warning which complains about using an uninitialized variable.
svn-id: r33169
-rw-r--r--common/stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stream.cpp b/common/stream.cpp
index 3933a26724..61166fd451 100644
--- a/common/stream.cpp
+++ b/common/stream.cpp
@@ -152,7 +152,7 @@ char *SeekableReadStream::readLine_NEW(char *buf, size_t bufSize) {
assert(buf != 0 && bufSize > 1);
char *p = buf;
size_t len = 0;
- char c;
+ char c = 0;
// If end-of-file occurs before any characters are read, return NULL
// and the buffer contents remain unchanged.