mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Unused variable warning
This commit is contained in:
@@ -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 + "'");
|
||||
|
||||
Reference in New Issue
Block a user