Skip to content

Commit

Permalink
Fixed: Minor compiler warnings (init order; unused args)
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 17, 2013
1 parent 392f4cc commit c572475
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/client/src/resource/material.cpp
Expand Up @@ -359,10 +359,10 @@ DENG2_PIMPL(Material)
flags(0),
detailLayer(0),
shineLayer(0),
valid(true)
#ifdef __CLIENT__
,audioEnvironment(AE_NONE)
audioEnvironment(AE_NONE),
#endif
valid(true)
{}

~Instance()
Expand Down
4 changes: 4 additions & 0 deletions doomsday/plugins/common/src/p_mapsetup.cpp
Expand Up @@ -1079,8 +1079,12 @@ patchid_t P_FindMapTitlePatch(uint episode, uint map)
if(!(gameModeBits & (GM_ANY_DOOM2|GM_DOOM_CHEX)))
map = (episode * 9) + map;
# endif
DENG_UNUSED(episode);
if(map < pMapNamesSize)
return pMapNames[map];
#else
DENG_UNUSED(episode);
DENG_UNUSED(map);
#endif
return 0;
}
Expand Down

0 comments on commit c572475

Please sign in to comment.