# HG changeset patch # User Matti Hamalainen # Date 1425039508 -7200 # Node ID cbf9b9b4fdea1beca1bd86d625f8eef40799135f # Parent 15e6c2bd207bed910114ea88afa7481d2c8a0280 Fix a possibly uninitialized variable warning. diff -r 15e6c2bd207b -r cbf9b9b4fdea tools/gfxconv.c --- a/tools/gfxconv.c Fri Feb 27 14:17:24 2015 +0200 +++ b/tools/gfxconv.c Fri Feb 27 14:18:28 2015 +0200 @@ -1350,7 +1350,8 @@ int dmDumpSpritesAndChars(FILE *inFile) { - int dataOffs, itemCount, outWidth, outWidthPX, outHeight, ret; + int dataOffs, itemCount, outWidth, outWidthPX, outHeight; + int ret = DMERR_OK; size_t bufSize; Uint8 *bufData;