[Bf-blender-cvs] [3a764c3e6d8] master: Cleanup: suppress clang-tidy warnings without FFMPEG/AVI/AUDASPACE
Campbell Barton
noreply at git.blender.org
Mon Nov 9 23:44:32 CET 2020
Commit: 3a764c3e6d8a282b2814aa7f362247cba99b425c
Author: Campbell Barton
Date: Tue Nov 10 09:24:47 2020 +1100
Branches: master
https://developer.blender.org/rB3a764c3e6d8a282b2814aa7f362247cba99b425c
Cleanup: suppress clang-tidy warnings without FFMPEG/AVI/AUDASPACE
===================================================================
M source/blender/blenkernel/intern/sound.c
M source/blender/imbuf/intern/indexer.c
===================================================================
diff --git a/source/blender/blenkernel/intern/sound.c b/source/blender/blenkernel/intern/sound.c
index 07532d525bd..8b66b1fc628 100644
--- a/source/blender/blenkernel/intern/sound.c
+++ b/source/blender/blenkernel/intern/sound.c
@@ -1323,7 +1323,10 @@ int BKE_sound_scene_playing(Scene *UNUSED(scene))
{
return -1;
}
-void BKE_sound_read_waveform(Main *bmain, bSound *sound, short *stop)
+void BKE_sound_read_waveform(Main *bmain,
+ bSound *sound,
+ /* NOLINTNEXTLINE: readability-non-const-parameter. */
+ short *stop)
{
UNUSED_VARS(sound, stop, bmain);
}
diff --git a/source/blender/imbuf/intern/indexer.c b/source/blender/imbuf/intern/indexer.c
index 76717bef537..b5b8cd4a580 100644
--- a/source/blender/imbuf/intern/indexer.c
+++ b/source/blender/imbuf/intern/indexer.c
@@ -1218,8 +1218,11 @@ IndexBuildContext *IMB_anim_index_rebuild_context(struct anim *anim,
}
void IMB_anim_index_rebuild(struct IndexBuildContext *context,
+ /* NOLINTNEXTLINE: readability-non-const-parameter. */
short *stop,
+ /* NOLINTNEXTLINE: readability-non-const-parameter. */
short *do_update,
+ /* NOLINTNEXTLINE: readability-non-const-parameter. */
float *progress)
{
switch (context->anim_type) {
More information about the Bf-blender-cvs
mailing list