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:
authorCampbell Barton <ideasman42@gmail.com>2019-10-03 00:31:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-10-03 00:32:28 +0300
commitc07eaa3384dfe90bc2671a9bb3be2b77ad33297d (patch)
tree0fdb4d7c21b10fa24a95be35aeab9dc58063403b /source/blender/editors/object/object_add.c
parentfcdd851858a61dbc7ec8cf79c0b9d022bb68f896 (diff)
Cleanup: argument naming, redundant NULL checks
Diffstat (limited to 'source/blender/editors/object/object_add.c')
-rw-r--r--source/blender/editors/object/object_add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index 52618ba4dfc..2f8141bef95 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -1030,7 +1030,7 @@ static int empty_drop_named_image_invoke(bContext *C, wmOperator *op, const wmEv
return OPERATOR_CANCELLED;
}
/* handled below */
- id_us_min((ID *)ima);
+ id_us_min(&ima->id);
Object *ob = NULL;
Object *ob_cursor = ED_view3d_give_object_under_cursor(C, event->mval);