diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-30 13:29:01 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-10-30 13:29:01 +0400 |
commit | 6341bc2cd0eaf5616322c77310b171e7b434b094 (patch) | |
tree | 334cd742123064c665c8f6fb42fce2099ac752fd | |
parent | 27f4609ba6532a2d2b33f8d162c01fd327dae11c (diff) |
Fix build for recent bmo commit (gcc wants a return value in any case! ;) ).
-rw-r--r-- | source/blender/bmesh/operators/bmo_similar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/bmesh/operators/bmo_similar.c b/source/blender/bmesh/operators/bmo_similar.c index 7fd8a7aff26..a3e88373423 100644 --- a/source/blender/bmesh/operators/bmo_similar.c +++ b/source/blender/bmesh/operators/bmo_similar.c @@ -99,6 +99,7 @@ static int bm_sel_similar_cmp_fl(const float delta, const float thresh, const in return ((delta - thresh) <= 0.0f); default: BLI_assert(0); + return 0; } } @@ -113,6 +114,7 @@ static int bm_sel_similar_cmp_i(const int delta, const int compare) return (delta < 0); default: BLI_assert(0); + return 0; } } |