---

** [tickets:#2385] plm: fix all Cppcheck 1.77 issues**

**Status:** unassigned
**Milestone:** future
**Created:** Fri Mar 17, 2017 05:37 AM UTC by A V Mahesh (AVM)
**Last Updated:** Fri Mar 17, 2017 05:37 AM UTC
**Owner:** nobody


[src/plm/agent/plma_api.c:428] -> [src/plm/agent/plma_api.c:430]: (warning) 
Either the condition '!client_info' is redundant or there is possible null 
pointer dereference: client_info.
[src/plm/agent/plma_api.c:1812]: (warning) Possible null pointer dereference: 
plm_out_res
[src/plm/agent/plma_init.c:109] -> [src/plm/agent/plma_init.c:115]: (warning, 
inconclusive) Either the condition 'client_node!=NULL' is redundant or there is 
possible null pointer dereference: client_node.
[src/plm/agent/plma_init.c:152] -> [src/plm/agent/plma_init.c:155]: (warning) 
Either the condition 'grp_info_node!=NULL' is redundant or there is possible 
null pointer dereference: grp_info_node.
[src/plm/agent/plma_init.c:109]: (style) Variable 'temp_hdl' is assigned a 
value that is never used.
[src/plm/agent/plma_init.c:152]: (style) Variable 'temp_hdl' is assigned a 
value that is never used.
[src/plm/agent/plma_mds.c:75] -> [src/plm/agent/plma_mds.c:82]: (style) 
Variable 'rc' is reassigned a value before the old one has been used.
[src/plm/apitest/test_saPlmReadinessTrack.c:184]: (style) The scope of the 
variable 'i' can be reduced.
[src/plm/apitest/test_saPlmReadinessTrack.c:184]: (style) The scope of the 
variable 'j' can be reduced.
[src/plm/common/plms_common_mds.c:175] -> 
[src/plm/common/plms_common_mds.c:182]: (style) Variable 'rc' is reassigned a 
value before the old one has been used.
[src/plm/common/plms_common_mds.c:202] -> 
[src/plm/common/plms_common_mds.c:209]: (style) Variable 'rc' is reassigned a 
value before the old one has been used.
[src/plm/common/plms_epath_util.c:501]: (style) Redundant condition: If 'EXPR 
== ' '', the comparison 'EXPR != '\0'' is always true.
[src/plm/common/plms_hrb.c:373]: (error) Memory leak: response
[src/plm/common/plms_hrb_mds.c:215] -> [src/plm/common/plms_hrb_mds.c:218]: 
(style) Variable 'dst_msg' is reassigned a value before the old one has been 
used.
[src/plm/common/plms_hsm.c:754] -> [src/plm/common/plms_hsm.c:761]: (style) 
Variable 'rc' is reassigned a value before the old one has been used.
[src/plm/plmcd/plmc_get_listening_ip_addr.c:142]: (error) Resource leak: s
[src/plm/plmcd/plmc_lib_internal.c:81] -> 
[src/plm/plmcd/plmc_lib_internal.c:93]: (style) Variable 'new_entry' is 
reassigned a value before the old one has been used.
[src/plm/plmcd/plmc_lib_internal.c:270]: (style) The scope of the variable 
'sockfd' can be reduced.
[src/plm/plmcd/plmc_lib_internal.c:1053]: (style) The scope of the variable 
'msg_length' can be reduced.
[src/plm/plmcd/plmc_lib_internal.c:1098]: (style) Obsolescent function 'bzero' 
called. It is recommended to use 'memset' instead.
[src/plm/plmcd/plmc_lib_internal.c:1234]: (style) Obsolescent function 'bzero' 
called. It is recommended to use 'memset' instead.
[src/plm/plmcd/plmc_lib_internal.c:1255]: (error) Resource handle 'sockfd' 
freed twice.
[src/plm/plmcd/plmc_lib_internal.c:1275]: (error) Resource handle 'sockfd' 
freed twice.
[src/plm/plmcd/plmc_read_config.c:197]: (error) Resource leak: plmc_conf_file
[src/plm/plmcd/plmcd.c:542]: (error) Resource leak: udpsockfd
[src/plm/plmcd/plmcd.c:885]: (style) Clarify calculation precedence for '%' and 
'?'.
[src/plm/plmcd/test_lib.c:111]: (style) The scope of the variable 'number' can 
be reduced.
[src/plm/plmcd/test_lib.c:103]: (style) Variable 'dummy' is assigned a value 
that is never used.
[src/plm/plmd/plms_adm_fsm.c:252] -> [src/plm/plmd/plms_adm_fsm.c:260]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:495] -> [src/plm/plmd/plms_adm_fsm.c:501]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:515] -> [src/plm/plmd/plms_adm_fsm.c:523]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:540] -> [src/plm/plmd/plms_adm_fsm.c:548]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:568] -> [src/plm/plmd/plms_adm_fsm.c:574]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:588] -> [src/plm/plmd/plms_adm_fsm.c:596]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:614] -> [src/plm/plmd/plms_adm_fsm.c:622]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:646] -> [src/plm/plmd/plms_adm_fsm.c:654]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:753] -> [src/plm/plmd/plms_adm_fsm.c:761]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:778] -> [src/plm/plmd/plms_adm_fsm.c:786]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:803] -> [src/plm/plmd/plms_adm_fsm.c:811]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:836] -> [src/plm/plmd/plms_adm_fsm.c:842]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:858] -> [src/plm/plmd/plms_adm_fsm.c:864]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:878] -> [src/plm/plmd/plms_adm_fsm.c:886]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:903] -> [src/plm/plmd/plms_adm_fsm.c:911]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:928] -> [src/plm/plmd/plms_adm_fsm.c:936]: (style) 
Variable 'ret_err' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:1035] -> [src/plm/plmd/plms_adm_fsm.c:1043]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:1523] -> [src/plm/plmd/plms_adm_fsm.c:1531]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:1761] -> [src/plm/plmd/plms_adm_fsm.c:1767]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:1781] -> [src/plm/plmd/plms_adm_fsm.c:1789]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:1806] -> [src/plm/plmd/plms_adm_fsm.c:1814]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:1834] -> [src/plm/plmd/plms_adm_fsm.c:1840]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:1856] -> [src/plm/plmd/plms_adm_fsm.c:1864]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:1882] -> [src/plm/plmd/plms_adm_fsm.c:1890]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:1908] -> [src/plm/plmd/plms_adm_fsm.c:1916]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:2016] -> [src/plm/plmd/plms_adm_fsm.c:2022]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:2038] -> [src/plm/plmd/plms_adm_fsm.c:2044]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:2058] -> [src/plm/plmd/plms_adm_fsm.c:2066]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:2084] -> [src/plm/plmd/plms_adm_fsm.c:2092]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:2109] -> [src/plm/plmd/plms_adm_fsm.c:2117]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:2134] -> [src/plm/plmd/plms_adm_fsm.c:2142]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:2159] -> [src/plm/plmd/plms_adm_fsm.c:2167]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:2184] -> [src/plm/plmd/plms_adm_fsm.c:2192]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:2292] -> [src/plm/plmd/plms_adm_fsm.c:2300]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_adm_fsm.c:4972] -> [src/plm/plmd/plms_adm_fsm.c:4987]: 
(style) Variable 'head' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:5077] -> [src/plm/plmd/plms_adm_fsm.c:5094]: 
(style) Variable 'head' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_adm_fsm.c:5512] -> [src/plm/plmd/plms_adm_fsm.c:5521]: 
(style) Variable 'ret_err' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_he_pres_fsm.c:3511]: (style) Condition 
'!(epath_matched&he_type_idr_matched)' is always true
[src/plm/plmd/plms_he_pres_fsm.c:2746] -> 
[src/plm/plmd/plms_he_pres_fsm.c:2757]: (style) Variable 'head' is reassigned a 
value before the old one has been used.
[src/plm/plmd/plms_he_pres_fsm.c:3278]: (error) Memory leak: 
saPlmHECurrEntityPath
[src/plm/plmd/plms_he_pres_fsm.c:3282]: (error) Memory leak: entity_path
[src/plm/plmd/plms_imm.c:833] -> [src/plm/plmd/plms_imm.c:828]: (warning) 
Either the condition 'parent_name!=NULL' is redundant or there is possible null 
pointer dereference: parent_name.
[src/plm/plmd/plms_imm.c:2924] -> [src/plm/plmd/plms_imm.c:2926]: (warning) 
Either the condition 'he_type==NULL' is redundant or there is possible null 
pointer dereference: he_type.
[src/plm/plmd/plms_imm.c:2195] -> [src/plm/plmd/plms_imm.c:2196]: (style) 
Variable 'temp' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_imm.c:2473] -> [src/plm/plmd/plms_imm.c:2474]: (style) 
Variable 'temp' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_imm.c:2781] -> [src/plm/plmd/plms_imm.c:2782]: (style) 
Variable 'temp' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_imm.c:3071] -> [src/plm/plmd/plms_imm.c:3072]: (style) 
Variable 'temp' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_imm.c:4147] -> [src/plm/plmd/plms_imm.c:4148]: (style) 
Variable 'tmp_ent_grp_ptr1' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_imm.c:908]: (style) The scope of the variable 
'plm_he_base_info' can be reduced.
[src/plm/plmd/plms_imm.c:1520]: (style) The scope of the variable 'attr_val' 
can be reduced.
[src/plm/plmd/plms_imm.c:1832]: (style) The scope of the variable 
'attr_val_str' can be reduced.
[src/plm/plmd/plms_imm.c:3771]: (style) The scope of the variable 
'he_type_node' can be reduced.
[src/plm/plmd/plms_imm.c:3793]: (style) The scope of the variable 
'ee_type_node' can be reduced.
[src/plm/plmd/plms_imm.c:3943]: (style) The scope of the variable 'tmp' can be 
reduced.
[src/plm/plmd/plms_imm.c:4209]: (style) The scope of the variable 
'tmp_grp_info_list' can be reduced.
[src/plm/plmd/plms_imm.c:4234]: (style) The scope of the variable 
'tmp_step_info' can be reduced.
[src/plm/plmd/plms_imm.c:4342]: (style) The scope of the variable 'tmp' can be 
reduced.
[src/plm/plmd/plms_imm.c:1003]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:1012]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:1192]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:1226]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:1227]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:1629]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:1635]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:1771]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:1772]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:1805]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:1806]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:1842]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:1843]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:1992]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:1993]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:2195]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:2196]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:2473]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:2474]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:2480]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:2781]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:2782]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:2788]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:3071]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:3072]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:3328]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:3394]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:3570]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:3580]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:3586]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:3701]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:3830]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:3873]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:3928]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_imm.c:3929]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_main.c:175] -> [src/plm/plmd/plms_main.c:178]: (style) 
Variable 'hpi_intf_handle' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_mbcsv.c:64] -> [src/plm/plmd/plms_mbcsv.c:69]: (style) 
Variable 'rc' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_mbcsv.c:1191] -> [src/plm/plmd/plms_mbcsv.c:1202]: (style) 
Variable 'tmp_entity_ptr' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_mbcsv.c:1769] -> [src/plm/plmd/plms_mbcsv.c:1773]: (style) 
Variable 'ptr' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_mbcsv.c:1896] -> [src/plm/plmd/plms_mbcsv.c:1906]: (style) 
Variable 'ptr' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_mbcsv.c:1404]: (error) Memory leak: ckpt_client_info
[src/plm/plmd/plms_mbcsv.c:2004]: (error) Memory leak: ptr
[src/plm/plmd/plms_mds.c:60] -> [src/plm/plmd/plms_mds.c:75]: (style) Variable 
'rc' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_mds.c:126] -> [src/plm/plmd/plms_mds.c:136]: (style) 
Variable 'rc' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_mds.c:241] -> [src/plm/plmd/plms_mds.c:243]: (style) 
Variable 'src_msg' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_mds.c:240] -> [src/plm/plmd/plms_mds.c:245]: (style) 
Variable 'dst_msg' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_mds.c:386] -> [src/plm/plmd/plms_mds.c:390]: (style) 
Variable 'evt' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_notifications.c:214] -> 
[src/plm/plmd/plms_notifications.c:228]: (style) Variable 'ret' is reassigned a 
value before the old one has been used.
[src/plm/plmd/plms_plmc.c:1645]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_plmc.c:1646]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_plmc.c:1647]: (portability) Non reentrant function 'strtok' 
called. For threadsafe applications it is recommended to use the reentrant 
replacement function 'strtok_r'.
[src/plm/plmd/plms_proc.c:184]: (warning) Assignment of function parameter has 
no effect outside the function. Did you forget dereferencing it?
[src/plm/plmd/plms_proc.c:1675] -> [src/plm/plmd/plms_proc.c:1677]: (warning) 
Either the condition '!plm_evt' is redundant or there is possible null pointer 
dereference: plm_evt.
[src/plm/plmd/plms_proc.c:1934] -> [src/plm/plmd/plms_proc.c:1938]: (warning) 
Either the condition 'if(client_info)' is redundant or there is possible null 
pointer dereference: client_info.
[src/plm/plmd/plms_proc.c:1935] -> [src/plm/plmd/plms_proc.c:1938]: (warning) 
Either the condition 'if(client_info)' is redundant or there is possible null 
pointer dereference: client_info.
[src/plm/plmd/plms_proc.c:157] -> [src/plm/plmd/plms_proc.c:158]: (style) 
Variable 'invocation_list' is reassigned a value before the old one has been 
used.
[src/plm/plmd/plms_proc.c:348] -> [src/plm/plmd/plms_proc.c:354]: (style) 
Variable 'client_info' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_proc.c:1049]: (style) The scope of the variable 'key_dn' can 
be reduced.
[src/plm/plmd/plms_proc.c:1508]: (style) The scope of the variable 'key_dn' can 
be reduced.
[src/plm/plmd/plms_stdby.c:113] -> [src/plm/plmd/plms_stdby.c:121]: (style) 
Variable 'hsm_func_ptr' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_stdby.c:630] -> [src/plm/plmd/plms_stdby.c:659]: (style) 
Variable 'head' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_stdby.c:877]: (style) The scope of the variable 'head' can 
be reduced.
[src/plm/plmd/plms_utils.c:4961] -> [src/plm/plmd/plms_utils.c:4968]: (style) 
Variable 'head' is reassigned a value before the old one has been used.
[src/plm/plmd/plms_utils.c:1355]: (style) The scope of the variable 'prev' can 
be reduced.
[src/plm/plmd/plms_utils.c:1429]: (style) The scope of the variable 'prev' can 
be reduced.
[src/plm/plmd/plms_utils.c:1686]: (style) The scope of the variable 'free_node' 
can be reduced.
[src/plm/plmd/plms_utils.c:1724]: (style) The scope of the variable 'free_node' 
can be reduced.
[src/plm/plmd/plms_utils.c:4872]: (style) The scope of the variable 'ent_path' 
can be reduced.



---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to