Fix strict flags compilation error in box pack

No need to check q >= 0 in quad_flag() since q is
an unsigned int argument.
This commit is contained in:
Sergey Sharybin
2014-04-25 17:02:18 +06:00
parent 005dabbd9a
commit 9d335dffa4

View File

@@ -87,7 +87,7 @@ typedef struct BoxVert {
BLI_INLINE int quad_flag(unsigned int q)
{
BLI_assert(q < 4 && q >= 0);
BLI_assert(q < 4);
return (1 << q);
}