Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-04-25 15:02:18 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-04-25 15:02:18 +0400
commit9d335dffa46d4ff921b3d0b18b321c4c041ddc61 (patch)
tree43fe2b94880e7555abcc9852400ce30183ac6b2c /source/blender
parent005dabbd9ad51b75aef260168c81d5a826d4eb4f (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')
-rw-r--r--source/blender/blenlib/intern/boxpack2d.c2
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);
}