Merge pull request #3391 from Naios/unref_param

Fix an unreferenced formal parameter warning on MSVC when no exporter…
This commit is contained in:
Kim Kulling
2020-09-08 20:35:46 +02:00
committed by GitHub

View File

@@ -140,6 +140,8 @@ void ExportAssimp2Json(const char* , IOSystem*, const aiScene* , const Assimp::E
#endif
static void setupExporterArray(std::vector<Exporter::ExportFormatEntry> &exporters) {
(void)exporters;
#ifndef ASSIMP_BUILD_NO_COLLADA_EXPORTER
exporters.push_back(Exporter::ExportFormatEntry("collada", "COLLADA - Digital Asset Exchange Schema", "dae", &ExportSceneCollada));
#endif