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>2013-02-27 05:43:48 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-27 05:43:48 +0400
commit68f9226d5b5c417c5b79178a2cb18a13699375d2 (patch)
tree0fc1528b798fb84e34e0d54306fee27e2cbea593 /source/blender/editors/space_sequencer
parenta14547882a803204bbf83c280b1a20e66c0a960e (diff)
code cleanup: unused arg
Diffstat (limited to 'source/blender/editors/space_sequencer')
-rw-r--r--source/blender/editors/space_sequencer/sequencer_add.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/space_sequencer/sequencer_add.c b/source/blender/editors/space_sequencer/sequencer_add.c
index 6f5147021a2..78a76532487 100644
--- a/source/blender/editors/space_sequencer/sequencer_add.c
+++ b/source/blender/editors/space_sequencer/sequencer_add.c
@@ -126,7 +126,7 @@ static void sequencer_generic_invoke_path__internal(bContext *C, wmOperator *op,
}
}
-static int sequencer_generic_invoke_xy_guess_channel(bContext * C, wmOperator *UNUSED(op), int type)
+static int sequencer_generic_invoke_xy_guess_channel(bContext *C, int type)
{
Sequence *tgt = NULL;
Sequence *seq;
@@ -163,9 +163,7 @@ static void sequencer_generic_invoke_xy__internal(bContext *C, wmOperator *op, i
/* effect strips don't need a channel initialized from the mouse */
if (!(flag & SEQPROP_NOCHAN)) {
- RNA_int_set(op->ptr, "channel",
- sequencer_generic_invoke_xy_guess_channel(
- C, op, type));
+ RNA_int_set(op->ptr, "channel", sequencer_generic_invoke_xy_guess_channel(C, type));
}
RNA_int_set(op->ptr, "frame_start", cfra);