Mercurial > hg > dmlib
comparison tools/gfxconv.c @ 974:cbf9b9b4fdea
Fix a possibly uninitialized variable warning.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 27 Feb 2015 14:18:28 +0200 |
parents | 15e6c2bd207b |
children | 139b801f8d1c |
comparison
equal
deleted
inserted
replaced
973:15e6c2bd207b | 974:cbf9b9b4fdea |
---|---|
1348 } | 1348 } |
1349 | 1349 |
1350 | 1350 |
1351 int dmDumpSpritesAndChars(FILE *inFile) | 1351 int dmDumpSpritesAndChars(FILE *inFile) |
1352 { | 1352 { |
1353 int dataOffs, itemCount, outWidth, outWidthPX, outHeight, ret; | 1353 int dataOffs, itemCount, outWidth, outWidthPX, outHeight; |
1354 int ret = DMERR_OK; | |
1354 size_t bufSize; | 1355 size_t bufSize; |
1355 Uint8 *bufData; | 1356 Uint8 *bufData; |
1356 | 1357 |
1357 switch (optInFormat) | 1358 switch (optInFormat) |
1358 { | 1359 { |