1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024085: Eliminate compiler warning C4706 in MSVC++ with warning level 4

Got rid from most cases which led to Warning c4706
Tiny code style corrections
This commit is contained in:
omy
2013-08-01 12:20:35 +04:00
parent 304c45c83f
commit 773f53f1ec
13 changed files with 82 additions and 121 deletions

View File

@@ -206,7 +206,8 @@ void Extrema_GExtCC::Perform()
//analytical case - one curve is always a line
Standard_Integer anInd1 = 0, anInd2 = 1;
GeomAbs_CurveType aType2 = type2;
if (inverse = (type1 > type2)) {
inverse = (type1 > type2);
if (inverse) {
//algorithm uses inverse order of arguments
anInd1 = 1;
anInd2 = 0;