Skip to content

Commit

Permalink
Debug|Fixed: Compiler warning about unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Apr 27, 2012
1 parent 48a044e commit 370525f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doomsday/engine/portable/src/map/bsp/partitioner.cpp
Expand Up @@ -65,7 +65,7 @@ static const coord_t DIST_EPSILON = (1.0 / 128.0);
/// Smallest difference between two angles before being considered equal (in degrees).
static const coord_t ANG_EPSILON = (1.0 / 1024.0);

DENG_DEBUG_ONLY(static int printSuperBlockHEdgesWorker(SuperBlock* block, void* /*parameters*/));
//DENG_DEBUG_ONLY(static int printSuperBlockHEdgesWorker(SuperBlock* block, void* /*parameters*/));

static bool findBspLeafCenter(BspLeaf const& leaf, pvec2d_t midPoint);
static void initAABoxFromEditableLineDefVertexes(AABoxd* aaBox, const LineDef* line);
Expand Down Expand Up @@ -2479,12 +2479,14 @@ static bool findBspLeafCenter(BspLeaf const& leaf, pvec2d_t center)
return true;
}

#if 0
DENG_DEBUG_ONLY(
static int printSuperBlockHEdgesWorker(SuperBlock* block, void* /*parameters*/)
{
SuperBlock::DebugPrint(*block);
return false; // Continue iteration.
})
#endif

static void initAABoxFromEditableLineDefVertexes(AABoxd* aaBox, const LineDef* line)
{
Expand Down

0 comments on commit 370525f

Please sign in to comment.