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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-27 15:29:53 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-27 16:33:44 +0300
commit0f6b2504f80edddc76c104e9df0722fbb7d484a7 (patch)
tree11ced0b428d8b1af08476255fc3b4780e8517c9e /source/blender/editors/mesh/editmesh_select_similar.c
parent4de1e673a411d14c5ab980d37cc3e1bb8b3d99ea (diff)
Cleanup: fix harmless compiler warnings.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_select_similar.c')
-rw-r--r--source/blender/editors/mesh/editmesh_select_similar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/mesh/editmesh_select_similar.c b/source/blender/editors/mesh/editmesh_select_similar.c
index 5e31721ba78..b50e0735083 100644
--- a/source/blender/editors/mesh/editmesh_select_similar.c
+++ b/source/blender/editors/mesh/editmesh_select_similar.c
@@ -287,7 +287,7 @@ static int similar_face_select_exec(bContext *C, wmOperator *op)
Object *ob = objects[ob_index];
BMEditMesh *em = BKE_editmesh_from_object(ob);
BMesh *bm = em->bm;
- Material ***material_array;
+ Material ***material_array = NULL;
invert_m4_m4(ob->imat, ob->obmat);
int custom_data_offset = 0;
@@ -418,10 +418,10 @@ static int similar_face_select_exec(bContext *C, wmOperator *op)
BMEditMesh *em = BKE_editmesh_from_object(ob);
BMesh *bm = em->bm;
bool changed = false;
- Material ***material_array;
+ Material ***material_array = NULL;
int custom_data_offset;
- bool has_custom_data_layer;
+ bool has_custom_data_layer = false;
switch (type) {
case SIMFACE_MATERIAL:
{
@@ -880,7 +880,7 @@ static int similar_edge_select_exec(bContext *C, wmOperator *op)
BMesh *bm = em->bm;
bool changed = false;
- bool has_custom_data_layer;
+ bool has_custom_data_layer = false;
switch (type) {
case SIMEDGE_FREESTYLE:
{