quiet some -Wshadow warnings
[blender.git] / source / blender / editors / space_sequencer / sequencer_edit.c
index 95d827f9392826e6319f5065f9fe21f1fef5efe7..c22ab90906a2e6d712b7364efbfbb5122eefd14f 100644 (file)
@@ -2620,7 +2620,6 @@ static int sequencer_copy_exec(bContext *C, wmOperator *op)
 {
        Scene *scene = CTX_data_scene(C);
        Editing *ed = BKE_sequencer_editing_get(scene, FALSE);
-       Sequence *seq;
 
        ListBase nseqbase = {NULL, NULL};
 
@@ -2656,8 +2655,11 @@ static int sequencer_copy_exec(bContext *C, wmOperator *op)
        seqbase_clipboard_frame = scene->r.cfra;
 
        /* Need to remove anything that references the current scene */
-       for (seq = seqbase_clipboard.first; seq; seq = seq->next) {
-               seq_copy_del_sound(scene, seq);
+       {
+               Sequence *seq;
+               for (seq = seqbase_clipboard.first; seq; seq = seq->next) {
+                       seq_copy_del_sound(scene, seq);
+               }
        }
 
        return OPERATOR_FINISHED;