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:
authorCampbell Barton <ideasman42@gmail.com>2019-04-02 09:54:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-02 09:54:04 +0300
commit6470056a0d1ed1a07c823d46ea292d69d3c2a8fb (patch)
treed0aebdd1981fba294408cdda08e799e7f0e525e0 /source/blender/imbuf/intern/iris.c
parent17c15798c35f33e4150beacb0f7b612bcef90c3e (diff)
Cleanup: empty expression statement warning
Diffstat (limited to 'source/blender/imbuf/intern/iris.c')
-rw-r--r--source/blender/imbuf/intern/iris.c8
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;