mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024510: Remove unused local variables
When warnings are enabled, compilers report lots of occurrences of unused local variables, which makes it harder to find other meaningful warnings. This commit does not fix all unused local variables. Fix new type conversion warning Code cleaned to avoid MSVC compiler warnings on unused function arguments. Several useless pieces of code are removed. Changes in IntTools_EdgeFace.cxx, Blend_Walking_1.gxx, Bnd_BoundSortBox.cxx, ProjLib_ProjectedCurve.cxx are reverted (separated to specific issue for more in-depth analysis).
This commit is contained in:
@@ -662,11 +662,9 @@ Standard_Integer DACTCL_Solve(const math_Vector& a,
|
||||
Standard_Integer jr, jd, jh, is, k, id;
|
||||
Standard_Integer jh1, idot, idot1, idot2;
|
||||
Standard_Real aa, d, dot;
|
||||
Standard_Boolean diag;
|
||||
|
||||
jr = 0;
|
||||
for (j = 1; j <= Neq; j++) {
|
||||
diag = Standard_False;
|
||||
jd = indx(j);
|
||||
jh = jd-jr;
|
||||
is = j-jh+2;
|
||||
|
Reference in New Issue
Block a user