diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-02 09:54:04 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-02 09:54:04 +0300 |
commit | 6470056a0d1ed1a07c823d46ea292d69d3c2a8fb (patch) | |
tree | d0aebdd1981fba294408cdda08e799e7f0e525e0 /source/blender/imbuf/intern/iris.c | |
parent | 17c15798c35f33e4150beacb0f7b612bcef90c3e (diff) |
Cleanup: empty expression statement warning
Diffstat (limited to 'source/blender/imbuf/intern/iris.c')
-rw-r--r-- | source/blender/imbuf/intern/iris.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/imbuf/intern/iris.c b/source/blender/imbuf/intern/iris.c index cc6d99e2a90..5bed5b28b14 100644 --- a/source/blender/imbuf/intern/iris.c +++ b/source/blender/imbuf/intern/iris.c @@ -602,10 +602,10 @@ static int expandrow2( float pixel_f; #define EXPAND_CAPACITY_AT_INPUT_OK_OR_FAIL(iptr_next) \ - if (UNLIKELY(iptr_next > iptr_end)) { goto fail; } + if (UNLIKELY(iptr_next > iptr_end)) { goto fail; } ((void)0) #define EXPAND_CAPACITY_AT_OUTPUT_OK_OR_FAIL(optr_next) \ - if (UNLIKELY(optr_next > optr_end)) { goto fail; } + if (UNLIKELY(optr_next > optr_end)) { goto fail; } ((void)0) optr += z; optr_end += z; @@ -683,10 +683,10 @@ static int expandrow( uchar pixel, count; #define EXPAND_CAPACITY_AT_INPUT_OK_OR_FAIL(iptr_next) \ - if (UNLIKELY(iptr_next > iptr_end)) { goto fail; } + if (UNLIKELY(iptr_next > iptr_end)) { goto fail; } ((void)0) #define EXPAND_CAPACITY_AT_OUTPUT_OK_OR_FAIL(optr_next) \ - if (UNLIKELY(optr_next > optr_end)) { goto fail; } + if (UNLIKELY(optr_next > optr_end)) { goto fail; } ((void)0) optr += z; optr_end += z; |