Archived issue #0028956
Coding Rules - eliminate several trivial compiler warnings
Description
The following warnings should be eliminated:
BRepClass3d_SClassifier.cxx:316, GNU C Compiler 4 (gcc), Priority: Normal 'tran' may be used uninitialized in this function Message_Report.cxx:40, GNU C Compiler 4 (gcc), Priority: Normal comparison between signed and unsigned integer expressions Message_Report.cxx:71, GNU C Compiler 4 (gcc), Priority: Normal comparison between signed and unsigned integer expressions Message_Report.cxx:98, GNU C Compiler 4 (gcc), Priority: Normal comparison between signed and unsigned integer expressions Message_Report.cxx:128, GNU C Compiler 4 (gcc), Priority: Normal comparison between signed and unsigned integer expressions Message_Report.cxx:176, GNU C Compiler 4 (gcc), Priority: Normal comparison between signed and unsigned integer expressions Message_Report.cxx:211, GNU C Compiler 4 (gcc), Priority: Normal comparison between signed and unsigned integer expressions Bisector_BisecAna.cxx:843, Clang (LLVM based), Priority: Normal unused variable 'Point' DNaming_Line3DDriver.cxx:121, Clang (LLVM based), Priority: Normal unused variable 'aDebPoint' DNaming_Line3DDriver.cxx:127, Clang (LLVM based), Priority: Normal unused variable 'aDebPoint' GccAna_Circ2d3Tan_1.cxx:93, Clang (LLVM based), Priority: Normal unused variable 'center2' GccAna_Circ2d3Tan_6.cxx:97, Clang (LLVM based), Priority: Normal unused variable 'Sol1' GccAna_Circ2d3Tan_8.cxx:95, Clang (LLVM based), Priority: Normal unused variable 'linintb' IntCurveSurface_Inter.gxx:949, Clang (LLVM based), Priority: Normal unused variable 'P'
Public activity
2 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Jul 28 09:42:11 2017 +0300
0028956: Coding Rules - eliminate several trivial compiler warnings
Eliminated GCC warning -Wsign-compare introduced by patch for #0028786.
Eliminated (false) GCC warning -Wuninitialized introduced by patch for #0027117.
Suppressed GCC warning "-Wunused-but-set-variable" with OCCT_DEBUG defined
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Jul 28 09:42:11 2017 +0300
0028956: Coding Rules - eliminate several trivial compiler warnings
Eliminated GCC warning -Wsign-compare introduced by patch for #0028786.
Eliminated (false) GCC warning -Wuninitialized introduced by patch for #0027117.
Suppressed GCC warning "-Wunused-but-set-variable" with OCCT_DEBUG defined
Branch [archived branch] has been deleted by Author.
[revision removed]
[revision removed]