Fix for build break due to warnings-as-errors when not building M3D exporter.

pull/3405/head
Sherief Farouk 2020-09-26 23:21:23 -07:00
parent 22dd53a4a2
commit a3c8cfc0ff
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); saved_output_ = m3d_save(m3d_, quality, flags, &size);
return saved_output_; return saved_output_;
#else #else
(void)quality;
(void)flags;
(void)size;
return nullptr; return nullptr;
#endif #endif
} }