Unused variable warning

This commit is contained in:
Thomas Krijnen
2017-08-09 12:55:03 +02:00
parent fd7f6e1f26
commit 62794d4b07
+1
View File
@@ -707,6 +707,7 @@ bool init_input_file(const std::string &filename, IfcParse::IfcFile &ifc_file, b
#ifdef USE_MMAP
if (!ifc_file.Init(filename, mmap)) {
#else
(void)mmap;
if (!ifc_file.Init(filename)) {
#endif
Logger::Error("Unable to parse input file '" + filename + "'");