MantisBT - Open CASCADE
View Issue Details
0028956Open CASCADE[OCCT] OCCT:Codingpublic2017-07-28 10:102017-09-29 16:29
kgv 
bugmaster 
normalminor 
closedfixed 
[OCCT] 7.1.0 
[OCCT] 7.2.0[OCCT] 7.2.0 
Not required
0028956: Coding Rules - eliminate several trivial compiler warnings
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'
No tags attached.
Issue History
2017-07-28 10:10kgvNew Issue
2017-07-28 10:10kgvAssigned To => kgv
2017-07-28 10:14kgvRelationship addedrelated to 0028786
2017-07-28 10:57gitNote Added: 0068828
2017-07-28 17:18bugmasterChangeset attached => occt master 8dbf0462
2017-07-28 17:18bugmasterAssigned Tokgv => bugmaster
2017-07-28 17:18bugmasterStatusnew => verified
2017-07-28 17:18bugmasterResolutionopen => fixed
2017-07-31 17:46gitNote Added: 0068965
2017-08-18 13:11bugmasterTest case number => Not required
2017-09-29 16:17aivFixed in Version => 7.2.0
2017-09-29 16:29aivStatusverified => closed

Notes
(0068828)
git   
2017-07-28 10:57   
Branch CR28956 has been created by kgv.

SHA-1: 0304ff5830fc4316ff9d77c4ee50815639bb6750


Detailed log of new commits:

Author: kgv
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
(0068965)
git   
2017-07-31 17:46   
Branch CR28956 has been deleted by kgv.

SHA-1: 0304ff5830fc4316ff9d77c4ee50815639bb6750