mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
0023947: Eliminate trivial compiler warnings in MSVC++ with warning level 4
Fix first subset of warnings (about 100) - while(1) and similar constructs replaced by for(;;) - some uninitialized variables corrected Got rid of Warning C4189: local variable is initialised but not referenced Corrected mistakes after getting rid of C4189 compiler warning Corrected some mistakes that led to compiling errors Fixed test case because of improvement message - removed unnecessary TODO. Small fix: tabs have been replaced with whitespaces. Added TODO for Windows platform removed last TODO Corrected mistakes, returned some #ifdef DEB code, fixed test case . Restoring a few places which have been modified too much Small grammar fix Deleted unnecessary puts in bugs/end
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
puts "TODO OCC12345 ALL: Faulty shapes in variables faulty_1 to faulty_"
|
||||
puts "TODO OCC12345 ALL: Faulty : mistakes are found in checked shape by checkshape command"
|
||||
puts "TODO OCC12345 ALL: Error : The square of result shape is"
|
||||
|
||||
puts "TODO OCC12345 windows: Faulty shapes in variables faulty_1 to faulty_"
|
||||
|
||||
puts "=========="
|
||||
puts "BUC60462"
|
||||
@@ -15,12 +12,7 @@ puts "Fuse begin"
|
||||
bfuse result a b
|
||||
puts "Fuse end"
|
||||
|
||||
set che [checkshape result r]
|
||||
if { [regexp {OK} $che] != 1 } {
|
||||
puts "Faulty : mistakes are found in checked shape by checkshape command"
|
||||
} else {
|
||||
puts "Checking by checkshape - OK"
|
||||
}
|
||||
checkshape result r
|
||||
|
||||
set square 0
|
||||
set square 89562.1
|
||||
set 2dviewer 0
|
||||
|
Reference in New Issue
Block a user