Skip to content

Commit

Permalink
Fixed: Compiler warnings about unused variables/code
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Apr 27, 2012
1 parent 6889c44 commit 703bd66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/engine/portable/src/bspleaf.cpp
Expand Up @@ -221,6 +221,7 @@ void BspLeaf_UpdateWorldGridOffset(BspLeaf* leaf)
int BspLeaf_SetProperty(BspLeaf* leaf, const setargs_t* args)
{
Q_ASSERT(leaf);
DENG_UNUSED(leaf);
Con_Error("BspLeaf::SetProperty: Property %s is not writable.\n", DMU_Str(args->prop));
exit(1); // Unreachable.
}
Expand Down
2 changes: 2 additions & 0 deletions doomsday/plugins/directsound/src/driver_directsound.cpp
Expand Up @@ -709,6 +709,7 @@ void DS_SFX_Stop(sfxbuffer_t* buf)
buf->flags |= SFXBF_RELOAD;
}

/*
static boolean InRange(uint pos, uint start, uint end)
{
if(end > start)
Expand All @@ -723,6 +724,7 @@ static boolean InRange(uint pos, uint start, uint end)
// of the buffer. (The range is split in two.)
return (pos >= start || pos <= end);
}
*/

/**
* Buffer streamer. Called by the Sfx refresh thread.
Expand Down

0 comments on commit 703bd66

Please sign in to comment.