Cleanup: suppress clang-tidy warnings without FFMPEG/AVI/AUDASPACE

This commit is contained in:
2020-11-10 09:24:47 +11:00
parent 6faba2db08
commit 3a764c3e6d
2 changed files with 7 additions and 1 deletions

View File

@@ -1323,7 +1323,10 @@ int BKE_sound_scene_playing(Scene *UNUSED(scene))
{ {
return -1; 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); UNUSED_VARS(sound, stop, bmain);
} }

View File

@@ -1218,8 +1218,11 @@ IndexBuildContext *IMB_anim_index_rebuild_context(struct anim *anim,
} }
void IMB_anim_index_rebuild(struct IndexBuildContext *context, void IMB_anim_index_rebuild(struct IndexBuildContext *context,
/* NOLINTNEXTLINE: readability-non-const-parameter. */
short *stop, short *stop,
/* NOLINTNEXTLINE: readability-non-const-parameter. */
short *do_update, short *do_update,
/* NOLINTNEXTLINE: readability-non-const-parameter. */
float *progress) float *progress)
{ {
switch (context->anim_type) { switch (context->anim_type) {