diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-24 14:51:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-24 14:51:45 +0400 |
commit | 8fdebf24f4fe405c77f13a72c45cf0f8e6bc1f3f (patch) | |
tree | e2b7d4d9f40b8f93afe15d25ef092b2242282637 /source/blender/imbuf | |
parent | 5c4743b9ee2e98fc9ba8738fefddd7698034752d (diff) |
harmless changes to quiet clang static check warnings.
- made EXPANDED_AGRP take bAnimContext as an argument.
- remove unneeded NULL check drawFacesColored functions.
- comment some vars which are set but not used.
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/intern/scaling.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/scaling.c b/source/blender/imbuf/intern/scaling.c index 9bc4ba6776c..f6a6a644977 100644 --- a/source/blender/imbuf/intern/scaling.c +++ b/source/blender/imbuf/intern/scaling.c @@ -952,6 +952,7 @@ static struct ImBuf *scaledownx(struct ImBuf *ibuf, int newx) ibuf->mall |= IB_rectfloat; ibuf->rect_float = _newrectf; } + (void)rect_size; /* UNUSED in release builds */ ibuf->x = newx; return(ibuf); @@ -1082,6 +1083,7 @@ static struct ImBuf *scaledowny(struct ImBuf *ibuf, int newy) ibuf->mall |= IB_rectfloat; ibuf->rect_float = (float *) _newrectf; } + (void)rect_size; /* UNUSED in release builds */ ibuf->y = newy; return(ibuf); |