ifcquery / ifcplusplus

IfcPlusPlus is an open source C++ class model, as well as a reader and writer for IFC files in STEP format. Features: Easy and efficient memory management using smart pointers. Parallel reader for very fast parsing on multi-core CPU's. Additionally, there's a simple IFC viewer application, using Qt and OpenSceneGraph. It can be used as starting point for all kinds of applications around the open building model standard IFC.
http://www.ifcquery.com
MIT License
595 stars 213 forks source link

xunzip - starnge codestyle #156

Open goldv72 opened 5 years ago

goldv72 commented 5 years ago

Hello! what does mean in lines 4100-4101: if (currentfile!=-1) unzCloseCurrentFile(uf); currentfile=-1;

may be if (currentfile!=-1) { unzCloseCurrentFile(uf); currentfile=-1; }

ifcquery commented 4 years ago

Does it lead to an error? If not, I assume that the authors of xunzip meant it that way