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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-05-24 05:46:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-24 05:46:28 +0300
commit017d89adbbee22c926ea86d903af17fb2ee8a575 (patch)
tree5cee10690678f3df7ad96378387bf73e7842452b /source
parentb3f96da2e6052b75a8b1b06048dfb79e5bdfd76a (diff)
Cleanup: warnings
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/sequencer.c2
-rw-r--r--source/blender/makesrna/intern/rna_sequencer.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c
index d6347f5e84d..ad4271eaec8 100644
--- a/source/blender/blenkernel/intern/sequencer.c
+++ b/source/blender/blenkernel/intern/sequencer.c
@@ -5353,7 +5353,7 @@ static void seq_load_apply(Main *bmain, Scene *scene, Sequence *seq, SeqLoadInfo
}
}
-static Strip *seq_strip_alloc()
+static Strip *seq_strip_alloc(void)
{
Strip *strip = MEM_callocN(sizeof(Strip), "strip");
strip->transform = MEM_callocN(sizeof(struct StripTransform), "StripTransform");
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c
index 14940f33ed8..3a316a760d6 100644
--- a/source/blender/makesrna/intern/rna_sequencer.c
+++ b/source/blender/makesrna/intern/rna_sequencer.c
@@ -789,7 +789,7 @@ static void rna_Sequence_update_reopen_files(Main *bmain, Scene *UNUSED(scene),
BKE_sequencer_update_sound_bounds(scene, ptr->data);
}
-static void rna_Sequence_mute_update(Main *bmain, Scene *UNUSED(scene), PointerRNA *ptr)
+static void rna_Sequence_mute_update(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRNA *ptr)
{
Scene *scene = (Scene *)ptr->id.data;
Editing *ed = BKE_sequencer_editing_get(scene, false);
@@ -806,7 +806,7 @@ static void rna_Sequence_filepath_update(Main *bmain, Scene *UNUSED(scene), Poin
rna_Sequence_invalidate_raw(bmain, scene, ptr);
}
-static void rna_Sequence_sound_update(Main *bmain, Scene *scene, PointerRNA *ptr)
+static void rna_Sequence_sound_update(Main *UNUSED(bmain), Scene *UNUSED(scene), PointerRNA *ptr)
{
Sequence *seq = (Sequence *)ptr->data;
if (seq->sound != NULL) {