[Bf-blender-cvs] [d6f48e21fcc] blender-v2.83-release: Cleanup: unused arg, clang-format

Campbell Barton noreply at git.blender.org
Mon May 11 10:21:08 CEST 2020


Commit: d6f48e21fccc270d797a6742a77058f3613655a2
Author: Campbell Barton
Date:   Mon May 11 18:08:21 2020 +1000
Branches: blender-v2.83-release
https://developer.blender.org/rBd6f48e21fccc270d797a6742a77058f3613655a2

Cleanup: unused arg, clang-format

===================================================================

M	source/blender/editors/space_sequencer/sequencer_edit.c

===================================================================

diff --git a/source/blender/editors/space_sequencer/sequencer_edit.c b/source/blender/editors/space_sequencer/sequencer_edit.c
index a86d679992b..edbd52f4d53 100644
--- a/source/blender/editors/space_sequencer/sequencer_edit.c
+++ b/source/blender/editors/space_sequencer/sequencer_edit.c
@@ -3495,7 +3495,7 @@ void SEQUENCER_OT_copy(wmOperatorType *ot)
   ot->flag = OPTYPE_REGISTER;
 }
 
-static int sequencer_paste_exec(bContext *C, wmOperator *op)
+static int sequencer_paste_exec(bContext *C, wmOperator *UNUSED(op))
 {
   Main *bmain = CTX_data_main(C);
   Scene *scene = CTX_data_scene(C);
@@ -3520,7 +3520,8 @@ static int sequencer_paste_exec(bContext *C, wmOperator *op)
   for (iseq = iseq_first; iseq; iseq = iseq->next) {
     /* Make sure, that pasted strips have unique names. */
     BKE_sequencer_recursive_apply(iseq, apply_unique_name_fn, scene);
-    /* Translate after name has been changed, otherwise this will affect animdata of original strip. */
+    /* Translate after name has been changed, otherwise this will affect animdata of original
+     * strip. */
     BKE_sequence_translate(scene, iseq, ofs);
     /* Ensure, that pasted strips don't overlap. */
     if (BKE_sequence_test_overlap(ed->seqbasep, iseq)) {



More information about the Bf-blender-cvs mailing list