From 6470056a0d1ed1a07c823d46ea292d69d3c2a8fb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 2 Apr 2019 17:54:04 +1100 Subject: Cleanup: empty expression statement warning --- source/blender/imbuf/intern/iris.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/imbuf/intern/iris.c') 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; -- cgit v1.2.3