Skip to content

Commit

Permalink
Fixed|libdoom|libcommon|g++: Benign compiler warnings (unused paramet…
Browse files Browse the repository at this point in the history
…er, uninitialized variables)
  • Loading branch information
danij-deng committed Jul 10, 2014
1 parent 5cac419 commit 3452b19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doomsday/plugins/common/src/g_game.cpp
Expand Up @@ -3216,7 +3216,7 @@ D_CMD(WarpMap)
}
else
{
uint epsd, map;
uint epsd = 0, map = 0;

#if __JDOOM__ || __JDOOM64__ || __JHEXEN__
# if __JDOOM__
Expand Down
1 change: 1 addition & 0 deletions doomsday/plugins/common/src/hu_lib.cpp
Expand Up @@ -927,6 +927,7 @@ static void applyPageLayout(mn_page_t *page)
static void composeSubpageString(mn_page_t *page, char *buf, size_t bufSize)
{
DENG2_ASSERT(page != 0);
DENG2_UNUSED(page);
if(!buf || 0 == bufSize) return;
dd_snprintf(buf, bufSize, "Page %i/%i", 0, 0);
}
Expand Down
2 changes: 1 addition & 1 deletion doomsday/plugins/doom/src/st_stuff.cpp
Expand Up @@ -287,7 +287,7 @@ void SBarBackground_Drawer(uiwidget_t *ob, Point2Raw const *offset)
#define ORIGINY ((int)(-HEIGHT * hud->showBar))

hudstate_t const *hud = &hudStates[ob->player];
float x = ORIGINX, y = ORIGINY, w = WIDTH, h = HEIGHT, armsBGX;
float x = ORIGINX, y = ORIGINY, w = WIDTH, h = HEIGHT, armsBGX = 0;
int fullscreen = headupDisplayMode(ob->player);
//float const textAlpha = (fullscreen == 0? 1 : uiRendState->pageAlpha * cfg.statusbarOpacity);
float const iconAlpha = (fullscreen == 0? 1 : uiRendState->pageAlpha * cfg.statusbarOpacity);
Expand Down

0 comments on commit 3452b19

Please sign in to comment.