From e09eb75ef77d6e76b763b3a47540a530013a887f Mon Sep 17 00:00:00 2001 From: Kari Salminen Date: Mon, 21 Jul 2008 11:33:30 +0000 Subject: Silence a warning which complains about using an uninitialized variable. svn-id: r33169 --- common/stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3