Przeglądaj źródła

Refactor: Delete unused variable

Richard 10 lat temu
rodzic
commit
5bb09377cb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      code/IFCProfile.cpp

+ 1 - 1
code/IFCProfile.cpp

@@ -114,7 +114,7 @@ void ProcessParametrizedProfile(const IfcParameterizedProfileDef& def, TempMesh&
 		meshout.vertcnt.push_back(4);
 	}
 	else if( const IfcCircleProfileDef* const circle = def.ToPtr<IfcCircleProfileDef>()) {
-		if( const IfcCircleHollowProfileDef* const hollow = def.ToPtr<IfcCircleHollowProfileDef>()) {
+		if(def.ToPtr<IfcCircleHollowProfileDef>()) {
 			// TODO
 		}
 		const size_t segments = 32;