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

This commit is contained in:
Campbell Barton 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;
}
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);
}

View File

@ -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) {