Archived issue #0025711
Get rid of static variable islambdadefined in AppParCurves_BSpGradient.gxx
Description
The file AppParCurves_BSpGradient.gxx contains the static variable "islambdadefined" in global scope.
Analyzing the logic of its usage I came to conclusion that this can lead to usage of uninitialized fields mylambda1 and mylambda2 in the class AppParCurves_BSpFunction.
I suggest making this variable the field member (non-static) in the class AppParCurves_BSpGradient.
Analyzing the logic of its usage I came to conclusion that this can lead to usage of uninitialized fields mylambda1 and mylambda2 in the class AppParCurves_BSpFunction.
I suggest making this variable the field member (non-static) in the class AppParCurves_BSpGradient.
Steps to reproduce
not applicable
Public activity
9 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Participant.
[revision removed]
Detailed log of new commits:
Author: azv
Date: Fri Jan 16 10:32:51 2015 +0300
0025711: Get rid of static variable islambdadefined in AppParCurves_BSpGradient.gxx
[revision removed]
Detailed log of new commits:
Author: azv
Date: Fri Jan 16 10:32:51 2015 +0300
0025711: Get rid of static variable islambdadefined in AppParCurves_BSpGradient.gxx
Branch CR25711 is ready for review.
myIsLambdaDefined: Real;
This field must be of type Boolean.
This field must be of type Boolean.
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Sorry for misprint. The branch was updated.
Reviewed.
Branch will be tested with CR25706_2.
Rise CR25706_2.
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]