[Scummvm-cvs-logs] SF.net SVN: scummvm:[33170] scummvm/branches/branch-0-12-0/common/stream. cpp
buddha_ at users.sourceforge.net
buddha_ at users.sourceforge.net
Mon Jul 21 13:40:10 CEST 2008
Revision: 33170
http://scummvm.svn.sourceforge.net/scummvm/?rev=33170&view=rev
Author: buddha_
Date: 2008-07-21 11:39:21 +0000 (Mon, 21 Jul 2008)
Log Message:
-----------
Backport of r33169: Silence a warning which complains about using an uninitialized variable.
Modified Paths:
--------------
scummvm/branches/branch-0-12-0/common/stream.cpp
Modified: scummvm/branches/branch-0-12-0/common/stream.cpp
===================================================================
--- scummvm/branches/branch-0-12-0/common/stream.cpp 2008-07-21 11:33:30 UTC (rev 33169)
+++ scummvm/branches/branch-0-12-0/common/stream.cpp 2008-07-21 11:39:21 UTC (rev 33170)
@@ -152,7 +152,7 @@
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.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list