- **Milestone**: 5.1.FC --> 5.2.FC


---

** [tickets:#1880] log: fix cppcheck warnings**

**Status:** assigned
**Milestone:** 5.2.FC
**Created:** Wed Jun 15, 2016 10:25 AM UTC by Canh Truong
**Last Updated:** Tue Jun 21, 2016 08:25 AM UTC
**Owner:** nobody


File|Line|Id|Severity|Message
---|---|---|---|---
lga_mds.c|1240|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lga_mds.c|692|unreadVariable|style|Variable 'total_bytes' is assigned a value 
that is never used.
lga_mds.c|937|unreadVariable|style|Variable 'total_bytes' is assigned a value 
that is never used.
lga_mds.c|1146|unreadVariable|style|Variable 'rc' is assigned a value that is 
never used.
lga_state.c|416|redundantAssignment|performance|Variable 'ncs_rc' is reassigned 
a value before the old one has been used.
lgs_amf.cc|132|redundantAssignment|performance|Variable 'ais_rc' is reassigned 
a value before the old one has been used.
lgs_amf.cc|132|redundantAssignment|performance|Variable 'ais_rc' is reassigned 
a value before the old one has been used.
lgs_amf.cc|164|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lgs_amf.cc|164|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lgs_config.cc|799|redundantAssignment|performance|Variable 'om_rc' is 
reassigned a value before the old one has been used.
lgs_config.cc|799|redundantAssignment|performance|Variable 'om_rc' is 
reassigned a value before the old one has been used.
lgs_config.cc|1404|redundantAssignment|performance|Variable 'rc' is reassigned 
a value before the old one has been used.
lgs_config.cc|1404|redundantAssignment|performance|Variable 'rc' is reassigned 
a value before the old one has been used.
lgs_config.cc|446|unreachableCode|style|Statements following return, break, 
continue, goto or throw will never be executed.
lgs_filehdl.cc|546|unreadVariable|style|Variable 'len' is assigned a value that 
is never used.
lgs_fmt.cc|818|unreadVariable|style|Variable 'stringSize' is assigned a value 
that is never used.
lgs_imm.cc|2985|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lgs_imm.cc|2985|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lgs_imm.cc|3010|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lgs_imm.cc|3010|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lgs_imm.cc|3098|redundantAssignment|performance|Variable 'ais_rc' is reassigned 
a value before the old one has been used.
lgs_imm.cc|3098|redundantAssignment|performance|Variable 'ais_rc' is reassigned 
a value before the old one has been used.
lgs_imm.cc|3363|redundantAssignment|performance|Variable 'ais_rc' is reassigned 
a value before the old one has been used.
lgs_imm.cc|3363|redundantAssignment|performance|Variable 'ais_rc' is reassigned 
a value before the old one has been used.
lgs_imm.cc|3412|redundantAssignment|performance|Variable 'ais_rc' is reassigned 
a value before the old one has been used.
lgs_imm.cc|3412|redundantAssignment|performance|Variable 'ais_rc' is reassigned 
a value before the old one has been used.
lgs_imm.cc|2969|unreachableCode|style|Statements following return, break, 
continue, goto or throw will never be executed.
lgs_imm_gcfg.cc|610|redundantAssignment|performance|Variable 'ais_rc' is 
reassigned a value before the old one has been used.
lgs_imm_gcfg.cc|610|redundantAssignment|performance|Variable 'ais_rc' is 
reassigned a value before the old one has been used.
lgs_imm_gcfg.cc|874|redundantAssignment|performance|Variable 'rc' is reassigned 
a value before the old one has been used.
lgs_imm_gcfg.cc|874|redundantAssignment|performance|Variable 'rc' is reassigned 
a value before the old one has been used.
lgs_imm_gcfg.cc|851|uselessAssignmentPtrArg|warning|Assignment of function 
parameter has no effect outside the function.
lgs_main.cc|323|clarifyCondition|style|Suspicious condition (assignment + 
comparison); Clarify expression with parentheses.
lgs_mbcsv.cc|551|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lgs_mbcsv.cc|551|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lgs_mbcsv.cc|940|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lgs_mbcsv.cc|940|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lgs_mbcsv.cc|1151|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lgs_mbcsv.cc|1151|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lgs_mbcsv.cc|216|clarifyCondition|style|Suspicious condition (assignment + 
comparison); Clarify expression with parentheses.
lgs_mds.cc|915|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lgs_mds.cc|915|redundantAssignment|performance|Variable 'rc' is reassigned a 
value before the old one has been used.
lgs_stream.cc|428|uselessAssignmentPtrArg|warning|Assignment of function 
parameter has no effect outside the function.
saf_logger.c|161|invalidPrintfArgType_uint|warning|%u in format string (no. 1) 
requires an unsigned integer given in the argument list.
saf_logger.c|166|invalidPrintfArgType_uint|warning|%u in format string (no. 1) 
requires an unsigned integer given in the argument list.
saf_logger.c|455|memleak|error|Memory leak: 
appLogFileCreateAttributes.logFileName



---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to