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:
authorMike Erwin <significant.bit@gmail.com>2017-03-22 23:26:53 +0300
committerMike Erwin <significant.bit@gmail.com>2017-03-22 23:26:53 +0300
commit762319e911843e0014d8395b558203a8638d656a (patch)
tree756ff58aafa1f599627b410271b6c97c665e1a87 /source/blender/editors
parentd8b34a17ac4375cf4618974626c6ba2643603590 (diff)
fix redundant assignment
Thanks clang for the warning.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_outliner/outliner_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index 42d9e4356ee..121fe812016 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -1052,8 +1052,8 @@ static void tselem_draw_icon(uiBlock *block, int xmax, float x, float y, TreeSto
aspect = (0.8f * UI_UNIT_Y) / ICON_DEFAULT_HEIGHT;
x += 2.0f * aspect;
y += 2.0f * aspect;
- arg.x = x = x;
- arg.y = y = y;
+ arg.x = x;
+ arg.y = y;
if (tselem->type) {
switch (tselem->type) {