- **status**: accepted --> invalid
- **Comment**:

No CPP (.CC file) erros exist



---

** [tickets:#2335] dtm: Fix all Cppcheck 1.77 issues**

**Status:** invalid
**Milestone:** next
**Created:** Fri Mar 03, 2017 04:12 AM UTC by A V Mahesh (AVM)
**Last Updated:** Fri Mar 03, 2017 04:12 AM UTC
**Owner:** A V Mahesh (AVM)


[staging/src/dtm/dtmnd/dtm_inter_trans.c:337]: (style) Condition 
'NULL!=mov_ptr.next' is always true
[staging/src/dtm/dtmnd/dtm_inter_trans.c:225] -> 
[staging/src/dtm/dtmnd/dtm_inter_trans.c:228]: (style) Variable 'node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_inter_trans.c:257] -> 
[staging/src/dtm/dtmnd/dtm_inter_trans.c:260]: (style) Variable 'node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra.c:363] -> 
[staging/src/dtm/dtmnd/dtm_intra.c:367]: (style) Variable 'data' is reassigned 
a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra.c:442] -> 
[staging/src/dtm/dtmnd/dtm_intra.c:444]: (style) Variable 'node' is reassigned 
a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra.c:631] -> 
[staging/src/dtm/dtmnd/dtm_intra.c:633]: (style) Variable 'msg_elem' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra.c:193]: (information) Skipping configuration 
'MDS_PORT_NUMBER' since the value of 'MDS_PORT_NUMBER' is unknown. Use -D if 
you want to check it. You can use -U to skip it explicitly.
[staging/src/dtm/dtmnd/dtm_intra.c:207]: (information) Skipping configuration 
'MDS_PORT_NUMBER' since the value of 'MDS_PORT_NUMBER' is unknown. Use -D if 
you want to check it. You can use -U to skip it explicitly.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:85] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:88]: (style) Variable 'pid_node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:132] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:133]: (style) Variable 'pid_node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:145] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:147]: (style) Variable 'subscr_tmp' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:175] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:176]: (style) Variable 'svc_node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:270] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:272]: (style) Variable 'pid_node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:379] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:398]: (style) Variable 'pid_node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:476] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:478]: (style) Variable 'pid_node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:485] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:497]: (style) Variable 'subscr_node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:590] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:592]: (style) Variable 'pid_node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:602] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:605]: (style) Variable 'data_subscr' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:643] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:645]: (style) Variable 'pid_node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:701] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:703]: (style) Variable 'pid_node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1316] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1321]: (style) Variable 'local_svc_info' 
is reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1353] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1354]: (style) Variable 'pid_node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1577] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1578]: (style) Variable 'node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1669] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1670]: (style) Variable 'node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1711] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1716]: (style) Variable 'svc_info' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1840] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1846]: (style) Variable 'svc_info' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1964] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1965]: (style) Variable 'node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1988] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:1989]: (style) Variable 'node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_svc.c:2014] -> 
[staging/src/dtm/dtmnd/dtm_intra_svc.c:2015]: (style) Variable 'node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_trans.c:228]: (style) Condition 
'NULL!=mov_ptr.next' is always true
[staging/src/dtm/dtmnd/dtm_intra_trans.c:54] -> 
[staging/src/dtm/dtmnd/dtm_intra_trans.c:55]: (style) Variable 'pid_node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_trans.c:152] -> 
[staging/src/dtm/dtmnd/dtm_intra_trans.c:153]: (style) Variable 'pid_node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_intra_trans.c:249] -> 
[staging/src/dtm/dtmnd/dtm_intra_trans.c:250]: (style) Variable 'node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_node.c:181] -> 
[staging/src/dtm/dtmnd/dtm_node.c:185]: (style) Variable 'data' is reassigned a 
value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_node.c:255] -> 
[staging/src/dtm/dtmnd/dtm_node.c:258]: (style) Variable 'node' is reassigned a 
value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_node.c:546] -> 
[staging/src/dtm/dtmnd/dtm_node.c:549]: (style) Variable 'recd_bytes' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_node.c:562] -> 
[staging/src/dtm/dtmnd/dtm_node.c:564]: (style) Variable 'new_sd' is reassigned 
a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_node.c:585] -> 
[staging/src/dtm/dtmnd/dtm_node.c:605]: (style) Variable 'new_sd' is reassigned 
a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_node.c:643] -> 
[staging/src/dtm/dtmnd/dtm_node.c:646]: (style) Variable 'msg_elem' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_node_db.c:33] -> 
[staging/src/dtm/dtmnd/dtm_node_db.c:37]: (style) Variable 'node' is reassigned 
a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_node_db.c:133] -> 
[staging/src/dtm/dtmnd/dtm_node_db.c:137]: (style) Variable 'node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_node_db.c:193] -> 
[staging/src/dtm/dtmnd/dtm_node_db.c:197]: (style) Variable 'node' is 
reassigned a value before the old one has been used.
[staging/src/dtm/dtmnd/dtm_read_config.c:485]: (style) Checking if unsigned 
variable 'config.comm_user_timeout' is less than zero.
[staging/src/dtm/transport/tests/log_writer_test.cc:32]: (style) The function 
'SetUp' is never used.
[staging/src/dtm/transport/tests/log_writer_test.cc:41]: (style) The function 
'TearDown' is never used.
[staging/src/dtm/transport/tests/mock_logtrace.cc:20]: (style) The function 
'_logtrace_log' is never used.
[staging/src/dtm/transport/tests/mock_logtrace.cc:28]: (style) The function 
'_logtrace_trace' is never used.
(information) Cppcheck cannot find all the include files (use --check-config 
for details)
SC-1:staging # 


---

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.
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to