diff --git a/src/ifcconvert/IfcConvert.cpp b/src/ifcconvert/IfcConvert.cpp index bbc712270e..f700e939dd 100644 --- a/src/ifcconvert/IfcConvert.cpp +++ b/src/ifcconvert/IfcConvert.cpp @@ -230,6 +230,8 @@ int main(int argc, char** argv) { } } + time_t start,end; + time(&start); // Parse the file supplied in argv[1]. Returns true on succes. if ( ! IfcGeomObjects::Init(input_filename, &std::cout, &log_stream) ) { Logger::Message(Logger::LOG_ERROR, "Unable to parse .ifc file or no geometrical entities found"); @@ -247,8 +249,6 @@ int main(int argc, char** argv) { std::set materials; - time_t start,end; - time(&start); int old_progress = -1; Logger::Status("Creating geometry...");