MantisBT - Open CASCADE
View Issue Details
0026785Open CASCADE[OCCT] OCCT:Codingpublic2015-10-16 10:582016-04-20 15:51
kgv 
bugmaster 
lowtrivial 
closedfixed 
LinuxDebian 6.064 bit
[OCCT] 6.9.1 
[OCCT] 7.0.0[OCCT] 7.0.0 
Not needed
0026785: Coding rules - eliminate GCC warning -Wempty-body in LDOM_DeclareSequence.hxx
The following warning generated by gcc 4.9.2 with -Wextra option should be eliminated:
/occt/inc/../src/LDOM/LDOM_DeclareSequence.hxx|215|warning: suggest braces around empty body in an ‘else’ 
statement [-Wempty-body]|
N/A
No tags attached.
Issue History
2015-10-16 10:58kgvNew Issue
2015-10-16 10:58kgvAssigned To => kgv
2015-10-16 10:58kgvAssigned Tokgv => rkv
2015-10-16 10:58kgvPrioritynormal => low
2015-10-16 10:58kgvStatusnew => assigned
2015-10-16 10:58kgvRelationship addedchild of 0026236
2015-10-23 13:44rkvNote Added: 0047374
2015-10-23 13:44rkvAssigned Torkv => kgv
2015-10-23 13:44rkvStatusassigned => resolved
2015-10-23 13:55kgvNote Added: 0047376
2015-10-23 13:55kgvAssigned Tokgv => rkv
2015-10-23 13:55kgvStatusresolved => assigned
2015-10-23 14:15gitNote Added: 0047377
2015-10-23 14:16rkvNote Added: 0047378
2015-10-23 14:16rkvAssigned Torkv => kgv
2015-10-23 14:16rkvStatusassigned => resolved
2015-10-23 14:23kgvNote Added: 0047380
2015-10-23 14:23kgvAssigned Tokgv => bugmaster
2015-10-23 14:23kgvStatusresolved => reviewed
2015-10-23 16:05apvAssigned Tobugmaster => apv
2015-10-23 16:52gitNote Added: 0047394
2015-10-23 16:52apvNote Added: 0047395
2015-10-26 12:06apvTest case number => Not needed
2015-10-26 12:07apvNote Added: 0047433
2015-10-26 12:07apvAssigned Toapv => bugmaster
2015-10-26 12:07apvStatusreviewed => tested
2015-10-30 16:00bugmasterChangeset attached => occt master b8c673b4
2015-10-30 16:00bugmasterStatustested => verified
2015-10-30 16:00bugmasterResolutionopen => fixed
2016-04-17 14:35gitNote Added: 0053202
2016-04-20 15:42aivFixed in Version => 7.0.0
2016-04-20 15:51aivStatusverified => closed

Notes
(0047374)
rkv   
2015-10-23 13:44   
Fixed in CR24574 (see 0024574).
(0047376)
kgv   
2015-10-23 13:55   
Please create dedicated patch.
(0047377)
git   
2015-10-23 14:15   
Branch CR26785 has been created by rkv.

SHA-1: 6d8fa0843bde9321a3866db4f361cd55ba494fc8


Detailed log of new commits:

Author: rkv
Date: Fri Oct 23 14:14:28 2015 +0300

    26785: Coding rules - eliminate GCC warning -Wempty-body in LDOM_DeclareSequence.hxx
(0047378)
rkv   
2015-10-23 14:16   
Empty "else" clause is removed.
(0047380)
kgv   
2015-10-23 14:23   
Please check patch compilation. Testing is not needed.
(0047394)
git   
2015-10-23 16:52   
Branch CR26785 has been updated forcibly by apv.

SHA-1: 7a87fc4b2455f7e7055f7e8f84b599b48556c9bd
(0047395)
apv   
2015-10-23 16:52   
Branch CR26785 has been rebased on the current master
(0047433)
apv   
2015-10-26 12:07   
Dear BugMaster,

Branch CR26785 from occt git-repository (and master from products git-repository) was compiled on Linux, MacOS and Windows platforms and tested.
SHA-1: 7a87fc4b2455f7e7055f7e8f84b599b48556c9bd

Number of compiler warnings:
occt component:
   Linux: 1 (1 on master)
   Windows: 0 (0 on master)
products component:
   Linux: 39 (39 on master)
   Windows: 0 (0 on master)

Regressions/Differences:
Not detected

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 92404247 / 92333109 [+0.08%]
Total CPU difference: 19714.599999999795 / 19731.32999999969 [-0.08%]

Testing on Windows:
Total MEMORY difference: 58038774 / 58045359 [-0.01%]
Total CPU difference: 18154.382373499164 / 18133.462639399022 [+0.12%]
(0053202)
git   
2016-04-17 14:35   
Branch CR26785 has been deleted by kgv.

SHA-1: 7a87fc4b2455f7e7055f7e8f84b599b48556c9bd