From 124aae91e226984016aa3482f849d8bbebbb3fa3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 16 May 2022 12:10:38 +1000 Subject: [PATCH] Cleanup: shadowing warning --- source/blender/editors/space_clip/tracking_select.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/blender/editors/space_clip/tracking_select.c b/source/blender/editors/space_clip/tracking_select.c index 6b11fb86efc..be6f4558066 100644 --- a/source/blender/editors/space_clip/tracking_select.c +++ b/source/blender/editors/space_clip/tracking_select.c @@ -305,12 +305,12 @@ static int select_exec(bContext *C, wmOperator *op) if (!extend) { MovieTrackingTrack *track = tracking_find_slidable_track_in_proximity(C, co); if (track != NULL) { - MovieClip *clip = ED_space_clip_get_clip(sc); + MovieClip *clip_iter = ED_space_clip_get_clip(sc); - clip->tracking.act_track = track; + clip_iter->tracking.act_track = track; WM_event_add_notifier(C, NC_GEOM | ND_SELECT, NULL); - DEG_id_tag_update(&clip->id, ID_RECALC_SELECT); + DEG_id_tag_update(&clip_iter->id, ID_RECALC_SELECT); return OPERATOR_PASS_THROUGH; }