Fixed uninitialized variable warnings

This commit is contained in:
Sam Lantinga
2006-05-17 15:08:46 +00:00
parent fd42c511e8
commit b03120aa73
3 changed files with 4 additions and 4 deletions

View File

@@ -155,7 +155,7 @@ size_t SDL_iconv(SDL_iconv_t cd,
/* 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 ) {