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>2011-09-02 08:34:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-02 08:34:58 +0400
commitdc7f56455c8a6e045a7a8ab683376ccc91ab8b93 (patch)
tree43102d6b9db4db62eace9bf3b35b25406293df5b /source/blender/blenkernel
parent4280e0a04fa06de82ba419ff7bc9436c3b190b3f (diff)
fix for error in recent commit, when audaspace is enabled
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/nla.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/nla.c b/source/blender/blenkernel/intern/nla.c
index 53ccd55bde8..6ce80342dd6 100644
--- a/source/blender/blenkernel/intern/nla.c
+++ b/source/blender/blenkernel/intern/nla.c
@@ -341,7 +341,7 @@ NlaStrip *add_nlastrip_to_stack (AnimData *adt, bAction *act)
}
/* Add a NLA Strip referencing the given speaker's sound */
-NlaStrip *add_nla_soundstrip (Scene *UNUSED(scene), Speaker *speaker)
+NlaStrip *add_nla_soundstrip (Scene *scene, Speaker *speaker)
{
NlaStrip *strip = MEM_callocN(sizeof(NlaStrip), "NlaSoundStrip");
@@ -360,6 +360,7 @@ NlaStrip *add_nla_soundstrip (Scene *UNUSED(scene), Speaker *speaker)
{
strip->end = 10.0f;
/* quiet compiler warnings */
+ (void)scene;
(void)speaker;
}