Removed unused variables used only in BLI_assert, this triggers compiler warning in release builds.

This commit is contained in:
Lukas Toenne 2013-09-05 12:10:49 +00:00
parent 2e0422b17f
commit 69b68ed867

@ -189,9 +189,8 @@ public:
BLI_assert(offset >= 0);
BLI_assert(offset < this->determineBufferSize() * COM_NUMBER_OF_CHANNELS);
bool clip_x = (extend_x == COM_MB_CLIP && (x < m_rect.xmin || x >= m_rect.xmax));
bool clip_y = (extend_y == COM_MB_CLIP && (y < m_rect.ymin || y >= m_rect.ymax));
BLI_assert(!clip_x && !clip_y);
BLI_assert(!(extend_x == COM_MB_CLIP && (x < m_rect.xmin || x >= m_rect.xmax))
&& !(extend_y == COM_MB_CLIP && (y < m_rect.ymin || y >= m_rect.ymax)));
#if 0
/* always true */