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-10-31 03:08:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-10-31 03:08:53 +0400
commit7267221715d8431bd1aaaaa3ace4f8c0ce151627 (patch)
tree65f85d299db27f35ec67330e58864f1dcf088687 /source/blender/editors/sound
parentbced18155ffc525dc513d097245fe3954acbb900 (diff)
remove return argument from wmOperatorType->cancel, was only ever returning OPERATOR_CANCELLED.
Diffstat (limited to 'source/blender/editors/sound')
-rw-r--r--source/blender/editors/sound/sound_ops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/sound/sound_ops.c b/source/blender/editors/sound/sound_ops.c
index a2189f6237c..81b0992c878 100644
--- a/source/blender/editors/sound/sound_ops.c
+++ b/source/blender/editors/sound/sound_ops.c
@@ -77,11 +77,10 @@
/******************** open sound operator ********************/
-static int sound_open_cancel(bContext *UNUSED(C), wmOperator *op)
+static void sound_open_cancel(bContext *UNUSED(C), wmOperator *op)
{
MEM_freeN(op->customdata);
op->customdata = NULL;
- return OPERATOR_CANCELLED;
}
static void sound_open_init(bContext *C, wmOperator *op)