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:
Diffstat (limited to 'source/blender/imbuf')
-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;