mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +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
|
#ifdef USE_MMAP
|
||||||
if (!ifc_file.Init(filename, mmap)) {
|
if (!ifc_file.Init(filename, mmap)) {
|
||||||
#else
|
#else
|
||||||
|
(void)mmap;
|
||||||
if (!ifc_file.Init(filename)) {
|
if (!ifc_file.Init(filename)) {
|
||||||
#endif
|
#endif
|
||||||
Logger::Error("Unable to parse input file '" + filename + "'");
|
Logger::Error("Unable to parse input file '" + filename + "'");
|
||||||
|
|||||||
Reference in New Issue
Block a user