Mercurial > sdl-ios-xcode
diff src/stdlib/SDL_iconv.c @ 1849:b5a4ac87b98c
Fixed uninitialized variable warnings
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 17 May 2006 15:08:46 +0000 |
parents | c99e7a9c9bc9 |
children | c121d94672cb f16c15f3bc2b |
line wrap: on
line diff
--- a/src/stdlib/SDL_iconv.c Wed May 17 07:38:34 2006 +0000 +++ b/src/stdlib/SDL_iconv.c Wed May 17 15:08:46 2006 +0000 @@ -155,7 +155,7 @@ /* For simplicity, we'll convert everything to and from UCS-4 */ char *src, *dst; size_t srclen, dstlen; - Uint32 ch; + Uint32 ch = 0; size_t total; if ( !inbuf || !*inbuf ) {