diff options
author | Kari Salminen | 2008-07-21 11:33:30 +0000 |
---|---|---|
committer | Kari Salminen | 2008-07-21 11:33:30 +0000 |
commit | e09eb75ef77d6e76b763b3a47540a530013a887f (patch) | |
tree | 9632a9139367a8b704799fb6ee401ce8cd92e56c | |
parent | e1c71dab99c9bf60ee1cc26da09ebd797a693a3a (diff) | |
download | scummvm-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.cpp | 2 |
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. |