APAR status
Closed as program error.
Error description
MISRA_0_1_4 states that 'A project shall not contain non-volatile POD variables having only one use. ' From the description of the MISRA0_1_4 rule i understand that every defined variable shall be used. If a variable is only initialized and not used in the code, it is considered as not used and not as used only one time. When the MISRA_0_1_4 rule is checked for violations for the attached code, it reports violations on statements where its not expected. Attached is the project for reference.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** MISRA_0_1_4 states that "A project shall not contain non-volatile POD variables having only one use. " From the description of the MISRA0_1_4 rule i understand that every defined variable shall be used. If a variable is only initialized and not used in the code, it is considered as not used and not as used only one time.
Problem conclusion
Fixed in Rational Logiscope release 6.6.3 iFix 4.
Temporary fix
Comments
APAR Information
APAR number
PM53642
Reported component name
TLOGIC LOGISCOP
Reported component ID
5724V81LS
Reported release
650
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-12-06
Closed date
2011-12-09
Last modified date
2011-12-09
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
TLOGIC LOGISCOP
Fixed component ID
5724V81LS
Applicable component levels
R650 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYQHS","label":"Rational Logiscope"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
09 December 2011