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-02-28 04:36:45 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-02-28 05:10:38 +0300
commitc9a292793011cc813f20bcae0225a13cc82bdea4 (patch)
tree447cb9a4cf41893603da9189977a1ea188219caf /source/blender/editors/space_outliner
parent2329cc09e6aec1adf09db755b0912a79cb3ab63a (diff)
Code cleanup: fix a few harmless warnings.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner_collections.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_collections.c b/source/blender/editors/space_outliner/outliner_collections.c
index efc28eea917..7c3bccd1385 100644
--- a/source/blender/editors/space_outliner/outliner_collections.c
+++ b/source/blender/editors/space_outliner/outliner_collections.c
@@ -656,7 +656,7 @@ static int object_add_to_new_collection_exec(bContext *C, wmOperator *op)
SceneCollection *scene_collection_parent, *scene_collection_new;
TreeElement *te_active, *te_parent;
- struct ObjectsSelectedData data = {NULL}, active = {NULL};
+ struct ObjectsSelectedData data = {{NULL}}, active = {{NULL}};
outliner_tree_traverse(soops, &soops->tree, 0, TSE_HIGHLIGHTED, outliner_find_selected_objects, &active);
if (BLI_listbase_is_empty(&active.objects_selected_array)) {