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>2021-03-21 05:58:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-03-21 06:00:40 +0300
commit6d97f9a5c1c77d30b4a1939ad81708a44f225280 (patch)
treed80b7a142002751e63a4a59c61219f7f5dc5791f /source/blender/modifiers
parent4abafa20621ecacb2ad4ba5d44a35959a1f4c6b8 (diff)
Cleanup: use static local variables
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_boolean.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_boolean.c b/source/blender/modifiers/intern/MOD_boolean.c
index cc42c89a60e..fae8ac72108 100644
--- a/source/blender/modifiers/intern/MOD_boolean.c
+++ b/source/blender/modifiers/intern/MOD_boolean.c
@@ -77,9 +77,9 @@
#endif
#ifdef WITH_GMP
-const bool bypass_bmesh = true;
+static const bool bypass_bmesh = true;
#else
-const bool bypass_bmesh = false;
+static const bool bypass_bmesh = false;
#endif
static void initData(ModifierData *md)
@@ -729,6 +729,7 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh *
return exact_boolean_mesh(bmd, ctx, mesh);
}
#else
+ UNUSED_VARS(bypass_bmesh);
const bool use_exact = false;
#endif