Cleanup: undeclared function warning, unused argument

This commit is contained in:
2020-07-16 11:07:36 +10:00
parent a3d90337b8
commit 54abab53bf
2 changed files with 7 additions and 3 deletions

View File

@@ -306,6 +306,10 @@ struct anim *IMB_open_anim(const char *name,
bool IMB_anim_can_produce_frames(const struct anim *anim)
{
#if !(defined(WITH_AVI) || defined(WITH_FFMPEG))
UNUSED_VARS(anim);
#endif
#ifdef WITH_AVI
if (anim->avi != NULL) {
return true;