Skip to content

Commit

Permalink
GCC|Fixed|Clang: Fixed build
Browse files Browse the repository at this point in the history
Goto jump past variable initialization is not permitted.
  • Loading branch information
danij-deng committed Jul 30, 2012
1 parent 137aad6 commit 3d348cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doomsday/plugins/wadmapconverter/src/wadmapconverter.cpp
Expand Up @@ -187,6 +187,7 @@ static MapFormatId recognizeMapFormat(MapLumpInfo* lumpInfos[NUM_MAPLUMP_TYPES])
*/
int ConvertMapHook(int hookType, int parm, void* context)
{
MapFormatId mapFormat;
int loadError;

DENG_UNUSED(hookType);
Expand All @@ -211,7 +212,7 @@ int ConvertMapHook(int hookType, int parm, void* context)
collectMapLumps(lumpInfos, markerLump + 1 /*begin after the marker*/);

// Do we recognize this format?
MapFormatId mapFormat = recognizeMapFormat(lumpInfos);
mapFormat = recognizeMapFormat(lumpInfos);
if(mapFormat == MF_UNKNOWN)
{
ret_val = false;
Expand Down

0 comments on commit 3d348cf

Please sign in to comment.