diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-04-25 15:02:18 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-04-25 15:02:18 +0400 |
commit | 9d335dffa46d4ff921b3d0b18b321c4c041ddc61 (patch) | |
tree | 43fe2b94880e7555abcc9852400ce30183ac6b2c /source/blender/blenlib | |
parent | 005dabbd9ad51b75aef260168c81d5a826d4eb4f (diff) |
Fix strict flags compilation error in box pack
No need to check q >= 0 in quad_flag() since q is
an unsigned int argument.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/boxpack2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/boxpack2d.c b/source/blender/blenlib/intern/boxpack2d.c index c83e2fed8a7..a383a461c9d 100644 --- a/source/blender/blenlib/intern/boxpack2d.c +++ b/source/blender/blenlib/intern/boxpack2d.c @@ -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); } |