-
-
Notifications
You must be signed in to change notification settings - Fork 726
Uninitialized member variables #537
Copy link
Copy link
Closed
Labels
Good first issueA good issue for community members new to contributingA good issue for community members new to contributingtype:BugInconsistencies or issues which will cause an incorrect result under some or all circumstancesInconsistencies or issues which will cause an incorrect result under some or all circumstances
Milestone
Metadata
Metadata
Assignees
Labels
Good first issueA good issue for community members new to contributingA good issue for community members new to contributingtype:BugInconsistencies or issues which will cause an incorrect result under some or all circumstancesInconsistencies or issues which will cause an incorrect result under some or all circumstances
Description
Several classes have uninitialized member variables.
Steps to Reproduce
Run the tests, and check the output to the standard output:
itk::BSplineScatteredDataPointSetToImageFilter: Uninitialized members in class:itk::BSplineScatteredDataPointSetToImageFilter::m_OmegaLatticePerThreaditk::BSplineScatteredDataPointSetToImageFilter::m_DeltaLatticePerThreadhttps://open.cdash.org/testDetails.php?test=736332599&build=5770289
itk::ThresholdLabelerImageFilter: Uninitialized members in class:itk::ThresholdLabelerImageFilter::m_Thresholdsitk::ThresholdLabelerImageFilter::m_RealThresholdshttps://open.cdash.org/testDetails.php?test=736333475&build=5770289
Expected behavior
All member variables must have an initial/default value using the convention adopted in ITK.
Actual behavior
Members do not have any assigned value when being printed in tests.
Reproducibility
100%.
Versions
Current
masterbranch.Environment
Independent of the environment.