Archived issue #0024170

Eliminate CLang compiler warning -Wunused local functions

Open CASCADEOCCT:Codingclosed7 public notes

Search issues

Description

It is necessary to eliminate warning -Wunused local function, shown by CLang compiler on Ubuntu 13.04

Public activity

7 archived notes

Participants are labeled by their role within this record.

01Commenter 1
Dear abv,
Please, review the branch CR24170
02Commenter 2
I have reverted change in Visual3d_View.cxx since the code is suspicious and requires additional analysis to be corrected. Apart of this, no remarks, please test
03Commenter 3
Dear Commenter 1,

Branch CR24170 was compiled on Linux platform.

There is compilation error:
http://jenkins-test-02.nnov.opencascade.com:8080/user/mnt/my-views/view/CR24170/job/mnt-CR24170-master_build_occt_linux/1/parsed_console/?
../../../../inc/IntStart_SearchOnBoundaries_2.gxx:72: error: ‘BoundedArc’ was not declared in this scope
04Commenter 4
I suggest gxx files IntStart_SearchOnBoundaries_1.gxx and IntStart_SearchOnBoundaries_2.gxx should be eliminated, with their code put to main IntStart_SearchOnBoundaries.gxx
05Commenter 5
Dear abv,
Please, review the changes in branch CR24170.
06Commenter 6
No remarks, please test
07Commenter 7
Dear Commenter 1,

Branch CR24170 (and products from GIT master) was compiled on Linux and Windows platforms and tested.
[revision removed]

Number of compiler warnings:

occt component :
Linux: 779 (790 on master)
Windows: 392 (392 on master)

products component :
Linux: 190 (190 on master)
Windows: 287 (287 on master)

Regressions:
No regressions

Improvements:
No improvements

Testing cases:
Not needed

Testing on Linux:
Total MEMORY difference: 365530240 / 366361780
Total CPU difference: 43597.40000000098 / 44238.54000000111

Testing on Windows:
Total MEMORY difference: 427313660 / 429125892
Total CPU difference: 41323.3125 / 39406.125

There are not differences in images found by testdiff.

Related records