From f3b25b999be1589e47d914258f3bd76306abbe6c Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Sat, 5 Sep 2020 23:17:11 +0200 Subject: [PATCH] Fix an unreferenced formal parameter warning on MSVC when no exporter is built --- code/Common/Exporter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/Common/Exporter.cpp b/code/Common/Exporter.cpp index 6b3a50346..207b93fc7 100644 --- a/code/Common/Exporter.cpp +++ b/code/Common/Exporter.cpp @@ -140,6 +140,8 @@ void ExportAssimp2Json(const char* , IOSystem*, const aiScene* , const Assimp::E #endif static void setupExporterArray(std::vector &exporters) { + (void)exporters; + #ifndef ASSIMP_BUILD_NO_COLLADA_EXPORTER exporters.push_back(Exporter::ExportFormatEntry("collada", "COLLADA - Digital Asset Exchange Schema", "dae", &ExportSceneCollada)); #endif