mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0023604: Uninitialized variables in debug mode
Removed #ifndef DEB ... #else ... #endif directives where the variables were being initialized only in release mode. Removed unused part of code.
This commit is contained in:
@@ -97,10 +97,8 @@ static Standard_Integer NbConstraint(const AppParCurves_Constraint C1,
|
||||
N = 3;
|
||||
break;
|
||||
}
|
||||
#ifndef DEB
|
||||
default:
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
|
||||
switch (C2) {
|
||||
@@ -119,10 +117,8 @@ static Standard_Integer NbConstraint(const AppParCurves_Constraint C1,
|
||||
N += 3;
|
||||
break;
|
||||
}
|
||||
#ifndef DEB
|
||||
default:
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
return N;
|
||||
}
|
||||
|
Reference in New Issue
Block a user