Fix unused variable warning on non-Emscripten

Otherwise, the compiler would warn that `sync` is unused.
This commit is contained in:
Misa 2021-09-08 11:43:23 -07:00
parent 15b6fb0edd
commit c83a360dd3
1 changed files with 2 additions and 0 deletions

View File

@ -887,6 +887,8 @@ bool FILESYSTEM_saveTiXml2Document(const char *name, tinyxml2::XMLDocument& doc,
}
}));
}
#else
UNUSED(sync);
#endif
return true;