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-03-16 07:08:28 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-03-16 07:08:56 +0300
commit2816694b0502652ec484b50b4f4773a8a4ce6ff8 (patch)
tree18ccd8ae026f7474aa15908d039d6ebfa31c41a3 /source/blender/windowmanager/intern/wm_operators.c
parent3692a2bcb3b8f742551c791c6e484e01678a0835 (diff)
Code cleanup: fix various compiler warnings on clang/macOS.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index b6317a1f0e2..2ecbad81a94 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -1814,7 +1814,7 @@ static int wm_operator_tool_set_exec(bContext *C, wmOperator *op)
{
ScrArea *sa = CTX_wm_area(C);
- bToolDef tool_def = {0};
+ bToolDef tool_def = {{0}};
tool_def.index = RNA_int_get(op->ptr, "index");
tool_def.spacetype = sa->spacetype;