Archived issue #0031821

Coding - Uninitialized variables in TKFillet project

Open CASCADEOCCT:Codingclosed5 public notes

Search issues

Description

There is a lot of variables (class members and local variables) in the project TKFillet that remains uninitialized. It may cause some problems, probably like #0031781, #0031782.

Steps to reproduce

  1. Create Open Cascade solution for Visual Studio 2019.

  2. Go to the properties of TKFillet project, Configuration PropertiesCode AnalysisMicrosoft, in the combobox Active Rules choose item C++ Core Check Type Rules and press OK button.

  3. Build the project TKFillet.

  4. Show the list of messages related to uninitialized variables in the project TKFillet:

Public activity

5 archived notes

Participants are labeled by their role within this record.

01Commenter 2
Branch [archived branch] has been created by Author.

[revision removed]


Detailed log of new commits:

Author: tiv
Date: Mon Oct 5 09:52:31 2020 +0300

    0031821: Coding - Uninitialized variables in TKFillet project
    
    Some variables that remain uninitialized in the project TKFillet received proper initializers.
02Commenter 2
03Commenter 3
Please raise the patch.
04Commenter 1
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.

Number of compiler warnings:
No new/fixed warnings

Regressions/Differences/Improvements:
No regressions/differences

CPU differences:
Debian80-64:
OCCT
Total CPU difference: 18038.89000000012 / 18085.73000000008 [-0.26%]
Products
Total CPU difference: 12182.170000000115 / 12217.490000000116 [-0.29%]
Windows-64-VC14:
OCCT
Total CPU difference: 19726.21875 / 19713.9375 [+0.06%]
Products
Total CPU difference: 13586.625 / 13579.390625 [+0.05%]


Image differences :
No differences that require special attention

Memory differences :
No differences that require special attention
05Commenter 2
Branch [archived branch] has been deleted by Participant.

[revision removed]

Related records