mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +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:
@@ -421,10 +421,8 @@ static void PerformExtPElC (Extrema_ExtPElC& E,
|
||||
case GeomAbs_Parabola:
|
||||
E.Perform(P, C->Parabola(), Tol, -Precision::Infinite(),Precision::Infinite());
|
||||
return;
|
||||
#ifndef DEB
|
||||
default:
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -120,10 +120,8 @@ static void PerformExtPElC (Extrema_ExtPElC& E,
|
||||
case GeomAbs_Parabola:
|
||||
E.Perform(P, C->Parabola(), Tol, -Precision::Infinite(),Precision::Infinite());
|
||||
return;
|
||||
#ifndef DEB
|
||||
default:
|
||||
return ;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user