diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-03-27 17:14:20 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-03-27 17:14:20 +0400 |
commit | 84823220b8d2216e25eedcce70ec2edf6b430293 (patch) | |
tree | df6fa162c3d6aa03dae1ea3ac01bb38207c6ea96 /source/blender/bmesh | |
parent | bcf6eedc482125fe075b653c897ea9829d88763b (diff) |
Attempt to fix compilation error on release windows
MSVC was yelling on me because of unused variable.
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_core.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/bmesh/intern/bmesh_core.c b/source/blender/bmesh/intern/bmesh_core.c index 690fdcce691..ed1789ff225 100644 --- a/source/blender/bmesh/intern/bmesh_core.c +++ b/source/blender/bmesh/intern/bmesh_core.c @@ -1609,7 +1609,10 @@ BMEdge *bmesh_jekv(BMesh *bm, BMEdge *e_kill, BMVert *v_kill, const bool check_e BMVert *v_old, *tv; BMLoop *l_kill; int len, radlen = 0, i; - bool edok, halt = false; + bool halt = false; +#ifndef NDEBUG + bool edok; +#endif if (BM_vert_in_edge(e_kill, v_kill) == 0) { return NULL; |