Merge pull request #3405 from sherief/master

Fix for build break due to warnings-as-errors.
pull/3415/head
Kim Kulling 2020-09-29 21:10:38 +02:00 committed by GitHub
commit 6a4c338625
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -133,6 +133,9 @@ unsigned char *M3DWrapper::Save(int quality, int flags, unsigned int &size) {
saved_output_ = m3d_save(m3d_, quality, flags, &size);
return saved_output_;
#else
(void)quality;
(void)flags;
(void)size;
return nullptr;
#endif
}