2022-06-27 16:14 ftp://ftp.de.debian.org/debian/pool/main/f/freeipmi/freeipmi_1.6.9.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j4 platform: Linux-5.10.0-15-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.25 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.8 head-info: 88bf11a (2022-06-27 14:19:19 +0200) count: 428 428 elapsed-time: 131.9 182.4 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: freeipmi-1.6.9/bmc-info/bmc-info.c:1075:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/bmc-watchdog/bmc-watchdog.c:1225:28: style: Condition 'reset_period<(retry_wait_time*retry_attempts)' is always false [knownConditionTrueFalse] freeipmi-1.6.9/bmc-watchdog/bmc-watchdog.c:1219:42: note: Assuming that condition '(retry_wait_time*retry_attempts)>reset_period' is not redundant freeipmi-1.6.9/bmc-watchdog/bmc-watchdog.c:1225:28: note: Condition 'reset_period<(retry_wait_time*retry_attempts)' is always false freeipmi-1.6.9/bmc-watchdog/bmc-watchdog.c:655:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] freeipmi-1.6.9/bmc-watchdog/bmc-watchdog.c:197:11: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/common/miscutil/fi_hostlist.c:102:46: warning: Char literal compared with pointer 'strchr(sep,**str)'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] freeipmi-1.6.9/common/miscutil/fi_hostlist.c:118:48: warning: Char literal compared with pointer 'strchr(sep,**str)'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] freeipmi-1.6.9/common/miscutil/fi_hostlist.c:123:46: warning: Char literal compared with pointer 'strchr(sep,**str)'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] freeipmi-1.6.9/common/miscutil/cbuf.c:1038:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] freeipmi-1.6.9/common/miscutil/cbuf.c:1042:5: note: Found duplicate branches for 'if' and 'else'. freeipmi-1.6.9/common/miscutil/cbuf.c:1038:5: note: Found duplicate branches for 'if' and 'else'. freeipmi-1.6.9/common/miscutil/cbuf.c:1087:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] freeipmi-1.6.9/common/miscutil/cbuf.c:1091:5: note: Found duplicate branches for 'if' and 'else'. freeipmi-1.6.9/common/miscutil/cbuf.c:1087:5: note: Found duplicate branches for 'if' and 'else'. freeipmi-1.6.9/common/miscutil/cbuf.c:852:15: style: Variable 'nfree' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/common/miscutil/list.c:773:33: style: Parameter 'pfreelist' can be declared as pointer to const [constParameter] freeipmi-1.6.9/common/miscutil/list.c:820:31: style: Parameter 'pfreelist' can be declared as pointer to const [constParameter] freeipmi-1.6.9/common/miscutil/hostlist.c:493:13: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] freeipmi-1.6.9/common/miscutil/hostlist.c:1535:9: warning:inconclusive: The buffer 'cur_tok' may not be null-terminated after the call to strncpy(). [terminateStrncpy] freeipmi-1.6.9/common/miscutil/hostlist.c:465:18: style: Expression is always true because 'else if' condition is opposite to previous condition at line 458. [multiCondition] freeipmi-1.6.9/common/miscutil/hostlist.c:458:14: note: first condition freeipmi-1.6.9/common/miscutil/hostlist.c:465:18: note: else if condition is opposite to first condition freeipmi-1.6.9/common/miscutil/hostlist.c:2168:42: style: Condition 'len>=0' is always true [knownConditionTrueFalse] freeipmi-1.6.9/common/miscutil/hostlist.c:2165:14: note: Assuming that condition 'len<0' is not redundant freeipmi-1.6.9/common/miscutil/hostlist.c:2168:42: note: Condition 'len>=0' is always true freeipmi-1.6.9/common/miscutil/hostlist.c:2475:28: style: Condition 'ndups<0' is always true [knownConditionTrueFalse] freeipmi-1.6.9/common/miscutil/hostlist.c:2473:57: note: Assuming that condition '(ndups=hostrange_join(hr,hl->hr[i]))>=0' is not redundant freeipmi-1.6.9/common/miscutil/hostlist.c:2475:28: note: Condition 'ndups<0' is always true freeipmi-1.6.9/common/miscutil/hostlist.c:344:48: style:inconclusive: Function '_error' argument 3 names different: declaration 'mesg' definition 'msg'. [funcArgNamesDifferent] freeipmi-1.6.9/common/miscutil/hostlist.c:213:48: note: Function '_error' argument 3 names different: declaration 'mesg' definition 'msg'. freeipmi-1.6.9/common/miscutil/hostlist.c:344:48: note: Function '_error' argument 3 names different: declaration 'mesg' definition 'msg'. freeipmi-1.6.9/common/miscutil/hostlist.c:1572:40: style:inconclusive: Function 'hostlist_create' argument 1 names different: declaration 'hostlist' definition 'str'. [funcArgNamesDifferent] freeipmi-1.6.9/common/miscutil/hostlist.h:104:40: note: Function 'hostlist_create' argument 1 names different: declaration 'hostlist' definition 'str'. freeipmi-1.6.9/common/miscutil/hostlist.c:1572:40: note: Function 'hostlist_create' argument 1 names different: declaration 'hostlist' definition 'str'. freeipmi-1.6.9/common/miscutil/hostlist.c:1642:51: style:inconclusive: Function 'hostlist_push_host' argument 2 names different: declaration 'host' definition 'str'. [funcArgNamesDifferent] freeipmi-1.6.9/common/miscutil/hostlist.h:142:51: note: Function 'hostlist_push_host' argument 2 names different: declaration 'host' definition 'str'. freeipmi-1.6.9/common/miscutil/hostlist.c:1642:51: note: Function 'hostlist_push_host' argument 2 names different: declaration 'host' definition 'str'. freeipmi-1.6.9/common/miscutil/hostlist.c:1666:35: style:inconclusive: Function 'hostlist_push_list' argument 1 names different: declaration 'hl1' definition 'h1'. [funcArgNamesDifferent] freeipmi-1.6.9/common/miscutil/hostlist.h:152:35: note: Function 'hostlist_push_list' argument 1 names different: declaration 'hl1' definition 'h1'. freeipmi-1.6.9/common/miscutil/hostlist.c:1666:35: note: Function 'hostlist_push_list' argument 1 names different: declaration 'hl1' definition 'h1'. freeipmi-1.6.9/common/miscutil/hostlist.c:1666:50: style:inconclusive: Function 'hostlist_push_list' argument 2 names different: declaration 'hl2' definition 'h2'. [funcArgNamesDifferent] freeipmi-1.6.9/common/miscutil/hostlist.h:152:51: note: Function 'hostlist_push_list' argument 2 names different: declaration 'hl2' definition 'h2'. freeipmi-1.6.9/common/miscutil/hostlist.c:1666:50: note: Function 'hostlist_push_list' argument 2 names different: declaration 'hl2' definition 'h2'. freeipmi-1.6.9/common/miscutil/hostlist.c:2604:41: style:inconclusive: Function 'hostset_ranged_string' argument 1 names different: declaration 'hs' definition 'set'. [funcArgNamesDifferent] freeipmi-1.6.9/common/miscutil/hostlist.h:282:41: note: Function 'hostset_ranged_string' argument 1 names different: declaration 'hs' definition 'set'. freeipmi-1.6.9/common/miscutil/hostlist.c:2604:41: note: Function 'hostset_ranged_string' argument 1 names different: declaration 'hs' definition 'set'. freeipmi-1.6.9/common/miscutil/hostlist.c:2609:43: style:inconclusive: Function 'hostset_deranged_string' argument 1 names different: declaration 'hs' definition 'set'. [funcArgNamesDifferent] freeipmi-1.6.9/common/miscutil/hostlist.h:294:43: note: Function 'hostset_deranged_string' argument 1 names different: declaration 'hs' definition 'set'. freeipmi-1.6.9/common/miscutil/hostlist.c:2609:43: note: Function 'hostset_deranged_string' argument 1 names different: declaration 'hs' definition 'set'. freeipmi-1.6.9/common/miscutil/hostlist.c:998:13: style: Local variable 'width' shadows outer variable [shadowVariable] freeipmi-1.6.9/common/miscutil/hostlist.c:924:9: note: Shadowed declaration freeipmi-1.6.9/common/miscutil/hostlist.c:998:13: note: Shadow variable freeipmi-1.6.9/common/miscutil/hostlist.c:392:48: warning: Char literal compared with pointer 'strchr(sep,**str)'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] freeipmi-1.6.9/common/miscutil/hostlist.c:408:52: warning: Char literal compared with pointer 'strchr(sep,**str)'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] freeipmi-1.6.9/common/miscutil/hostlist.c:413:48: warning: Char literal compared with pointer 'strchr(sep,**str)'. Did you intend to dereference it? [charLiteralWithCharPtrCompare] freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:58:30: style:inconclusive: Function 'argp_make_fmtstream' argument 1 names different: declaration '__stream' definition 'stream'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.h:132:52: note: Function 'argp_make_fmtstream' argument 1 names different: declaration '__stream' definition 'stream'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:58:30: note: Function 'argp_make_fmtstream' argument 1 names different: declaration '__stream' definition 'stream'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:59:31: style:inconclusive: Function 'argp_make_fmtstream' argument 2 names different: declaration '__lmargin' definition 'lmargin'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.h:133:53: note: Function 'argp_make_fmtstream' argument 2 names different: declaration '__lmargin' definition 'lmargin'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:59:31: note: Function 'argp_make_fmtstream' argument 2 names different: declaration '__lmargin' definition 'lmargin'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:59:47: style:inconclusive: Function 'argp_make_fmtstream' argument 3 names different: declaration '__rmargin' definition 'rmargin'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.h:134:53: note: Function 'argp_make_fmtstream' argument 3 names different: declaration '__rmargin' definition 'rmargin'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:59:47: note: Function 'argp_make_fmtstream' argument 3 names different: declaration '__rmargin' definition 'rmargin'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:59:64: style:inconclusive: Function 'argp_make_fmtstream' argument 4 names different: declaration '__wmargin' definition 'wmargin'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.h:135:54: note: Function 'argp_make_fmtstream' argument 4 names different: declaration '__wmargin' definition 'wmargin'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:59:64: note: Function 'argp_make_fmtstream' argument 4 names different: declaration '__wmargin' definition 'wmargin'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:93:41: style:inconclusive: Function 'argp_fmtstream_free' argument 1 names different: declaration '__fs' definition 'fs'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.h:139:51: note: Function 'argp_fmtstream_free' argument 1 names different: declaration '__fs' definition 'fs'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:93:41: note: Function 'argp_fmtstream_free' argument 1 names different: declaration '__fs' definition 'fs'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:108:43: style:inconclusive: Function '_argp_fmtstream_update' argument 1 names different: declaration '__fs' definition 'fs'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.h:190:54: note: Function '_argp_fmtstream_update' argument 1 names different: declaration '__fs' definition 'fs'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:108:43: note: Function '_argp_fmtstream_update' argument 1 names different: declaration '__fs' definition 'fs'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:317:49: style:inconclusive: Function '_argp_fmtstream_ensure' argument 1 names different: declaration '__fs' definition 'fs'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.h:192:53: note: Function '_argp_fmtstream_ensure' argument 1 names different: declaration '__fs' definition 'fs'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:317:49: note: Function '_argp_fmtstream_ensure' argument 1 names different: declaration '__fs' definition 'fs'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:317:60: style:inconclusive: Function '_argp_fmtstream_ensure' argument 2 names different: declaration '__amount' definition 'amount'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.h:192:66: note: Function '_argp_fmtstream_ensure' argument 2 names different: declaration '__amount' definition 'amount'. freeipmi-1.6.9/common/portability/freeipmi-argp-fmtstream.c:317:60: note: Function '_argp_fmtstream_ensure' argument 2 names different: declaration '__amount' definition 'amount'. freeipmi-1.6.9/common/miscutil/hostlist.c:353:19: style: Variable 'buf[1023]' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/common/miscutil/hostlist.c:802:17: style: Variable 'size' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/common/miscutil/hostlist.c:824:17: style: Variable 'size' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1219:34: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1220:31: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1206:34: style:inconclusive: Function 'argp_parse' argument 1 names different: declaration '__argp' definition 'argp'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:400:60: note: Function 'argp_parse' argument 1 names different: declaration '__argp' definition 'argp'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1206:34: note: Function 'argp_parse' argument 1 names different: declaration '__argp' definition 'argp'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1206:44: style:inconclusive: Function 'argp_parse' argument 2 names different: declaration '__argc' definition 'argc'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:401:32: note: Function 'argp_parse' argument 2 names different: declaration '__argc' definition 'argc'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1206:44: note: Function 'argp_parse' argument 2 names different: declaration '__argc' definition 'argc'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1206:57: style:inconclusive: Function 'argp_parse' argument 3 names different: declaration '__argv' definition 'argv'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:401:58: note: Function 'argp_parse' argument 3 names different: declaration '__argv' definition 'argv'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1206:57: note: Function 'argp_parse' argument 3 names different: declaration '__argv' definition 'argv'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1206:72: style:inconclusive: Function 'argp_parse' argument 4 names different: declaration '__flags' definition 'flags'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:402:37: note: Function 'argp_parse' argument 4 names different: declaration '__flags' definition 'flags'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1206:72: note: Function 'argp_parse' argument 4 names different: declaration '__flags' definition 'flags'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1207:20: style:inconclusive: Function 'argp_parse' argument 5 names different: declaration '__arg_index' definition 'end_index'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:402:62: note: Function 'argp_parse' argument 5 names different: declaration '__arg_index' definition 'end_index'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1207:20: note: Function 'argp_parse' argument 5 names different: declaration '__arg_index' definition 'end_index'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1207:37: style:inconclusive: Function 'argp_parse' argument 6 names different: declaration '__input' definition 'input'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:403:45: note: Function 'argp_parse' argument 6 names different: declaration '__input' definition 'input'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1207:37: note: Function 'argp_parse' argument 6 names different: declaration '__input' definition 'input'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1259:34: style:inconclusive: Function '_argp_input' argument 1 names different: declaration '__argp' definition 'argp'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:535:59: note: Function '_argp_input' argument 1 names different: declaration '__argp' definition 'argp'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1259:34: note: Function '_argp_input' argument 1 names different: declaration '__argp' definition 'argp'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1259:65: style:inconclusive: Function '_argp_input' argument 2 names different: declaration '__state' definition 'state'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:536:65: note: Function '_argp_input' argument 2 names different: declaration '__state' definition 'state'. freeipmi-1.6.9/common/portability/freeipmi-argp-parse.c:1259:65: note: Function '_argp_input' argument 2 names different: declaration '__state' definition 'state'. freeipmi-1.6.9/common/portability/freeipmi-portability.c:276:8: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] freeipmi-1.6.9/common/portability/freeipmi-portability.h:112:12: style: Unsigned expression '--n' can't be negative so it is unnecessary to test it. [unsignedPositive] freeipmi-1.6.9/common/portability/freeipmi-portability.h:128:12: style: Unsigned expression '--n' can't be negative so it is unnecessary to test it. [unsignedPositive] freeipmi-1.6.9/common/portability/freeipmi-portability.c:168:39: style:inconclusive: Function 'freeipmi_getline' argument 2 names different: declaration 'bufsize' definition 'size'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-portability.h:172:47: note: Function 'freeipmi_getline' argument 2 names different: declaration 'bufsize' definition 'size'. freeipmi-1.6.9/common/portability/freeipmi-portability.c:168:39: note: Function 'freeipmi_getline' argument 2 names different: declaration 'bufsize' definition 'size'. freeipmi-1.6.9/common/portability/freeipmi-portability.c:230:3: error: va_start() or va_copy() called subsequently on 'arg' without va_end() in between. [va_start_subsequentCalls] freeipmi-1.6.9/common/portability/freeipmi-portability.c:243:35: error: va_list 'arg' used before va_start() was called. [va_list_usedBeforeStarted] freeipmi-1.6.9/common/portability/freeipmi-portability.c:244:3: error: va_list 'arg' used before va_start() was called. [va_list_usedBeforeStarted] freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1326:33: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1595:30: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:992:7: warning: Possible null pointer dereference: argp [nullPointer] freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1227:44: note: Calling function 'filter_doc', 3rd argument 'state?state->root_argp:0' value is 0 freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:992:7: note: Null pointer dereference freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1271:11: warning: Redundant assignment of 'arg' to itself. [selfAssignment] freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1305:15: warning: Redundant assignment of 'arg' to itself. [selfAssignment] freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1693:38: style:inconclusive: Function 'argp_help' argument 1 names different: declaration '__argp' definition 'argp'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:469:56: note: Function 'argp_help' argument 1 names different: declaration '__argp' definition 'argp'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1693:38: note: Function 'argp_help' argument 1 names different: declaration '__argp' definition 'argp'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1693:50: style:inconclusive: Function 'argp_help' argument 2 names different: declaration '__stream' definition 'stream'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:470:41: note: Function 'argp_help' argument 2 names different: declaration '__stream' definition 'stream'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1693:50: note: Function 'argp_help' argument 2 names different: declaration '__stream' definition 'stream'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1694:28: style:inconclusive: Function 'argp_help' argument 3 names different: declaration '__flags' definition 'flags'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:471:33: note: Function 'argp_help' argument 3 names different: declaration '__flags' definition 'flags'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1694:28: note: Function 'argp_help' argument 3 names different: declaration '__flags' definition 'flags'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1694:41: style:inconclusive: Function 'argp_help' argument 4 names different: declaration '__name' definition 'name'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:471:59: note: Function 'argp_help' argument 4 names different: declaration '__name' definition 'name'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1694:41: note: Function 'argp_help' argument 4 names different: declaration '__name' definition 'name'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1731:45: style:inconclusive: Function 'argp_state_help' argument 1 names different: declaration '__state' definition 'state'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:486:68: note: Function 'argp_state_help' argument 1 names different: declaration '__state' definition 'state'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1731:45: note: Function 'argp_state_help' argument 1 names different: declaration '__state' definition 'state'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1731:58: style:inconclusive: Function 'argp_state_help' argument 2 names different: declaration '__stream' definition 'stream'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:487:47: note: Function 'argp_state_help' argument 2 names different: declaration '__stream' definition 'stream'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1731:58: note: Function 'argp_state_help' argument 2 names different: declaration '__stream' definition 'stream'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1731:75: style:inconclusive: Function 'argp_state_help' argument 3 names different: declaration '__flags' definition 'flags'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:488:43: note: Function 'argp_state_help' argument 3 names different: declaration '__flags' definition 'flags'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1731:75: note: Function 'argp_state_help' argument 3 names different: declaration '__flags' definition 'flags'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1758:40: style:inconclusive: Function 'argp_error' argument 1 names different: declaration '__state' definition 'state'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:500:63: note: Function 'argp_error' argument 1 names different: declaration '__state' definition 'state'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1758:40: note: Function 'argp_error' argument 1 names different: declaration '__state' definition 'state'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1758:59: style:inconclusive: Function 'argp_error' argument 2 names different: declaration '__fmt' definition 'fmt'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:501:50: note: Function 'argp_error' argument 2 names different: declaration '__fmt' definition 'fmt'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1758:59: note: Function 'argp_error' argument 2 names different: declaration '__fmt' definition 'fmt'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1800:42: style:inconclusive: Function 'argp_failure' argument 1 names different: declaration '__state' definition 'state'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:515:65: note: Function 'argp_failure' argument 1 names different: declaration '__state' definition 'state'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1800:42: note: Function 'argp_failure' argument 1 names different: declaration '__state' definition 'state'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1800:53: style:inconclusive: Function 'argp_failure' argument 2 names different: declaration '__status' definition 'status'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:516:31: note: Function 'argp_failure' argument 2 names different: declaration '__status' definition 'status'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1800:53: note: Function 'argp_failure' argument 2 names different: declaration '__status' definition 'status'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1800:65: style:inconclusive: Function 'argp_failure' argument 3 names different: declaration '__errnum' definition 'errnum'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:516:45: note: Function 'argp_failure' argument 3 names different: declaration '__errnum' definition 'errnum'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1800:65: note: Function 'argp_failure' argument 3 names different: declaration '__errnum' definition 'errnum'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1801:29: style:inconclusive: Function 'argp_failure' argument 4 names different: declaration '__fmt' definition 'fmt'. [funcArgNamesDifferent] freeipmi-1.6.9/common/portability/freeipmi-argp.h:517:52: note: Function 'argp_failure' argument 4 names different: declaration '__fmt' definition 'fmt'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1801:29: note: Function 'argp_failure' argument 4 names different: declaration '__fmt' definition 'fmt'. freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:193:34: style: Local variable 'arg' shadows outer function [shadowFunction] freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:940:1: note: Shadowed declaration freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:193:34: note: Shadow variable freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1263:15: style: Local variable 'arg' shadows outer function [shadowFunction] freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:940:1: note: Shadowed declaration freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1263:15: note: Shadow variable freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1295:15: style: Local variable 'arg' shadows outer function [shadowFunction] freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:940:1: note: Shadowed declaration freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1295:15: note: Shadow variable freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:343:38: style: Parameter 'end' can be declared as pointer to const [constParameter] freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:1680:16: style: Variable 'anything' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/common/toolcommon/tool-cmdline-common.c:250:45: warning: Either the condition 'arg' is redundant or there is possible null pointer dereference: arg. [nullPointerRedundantCheck] freeipmi-1.6.9/common/toolcommon/tool-cmdline-common.c:245:11: note: Assuming that condition 'arg' is not redundant freeipmi-1.6.9/common/toolcommon/tool-cmdline-common.c:250:45: note: Null pointer dereference freeipmi-1.6.9/common/toolcommon/tool-cmdline-common.c:484:11: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] freeipmi-1.6.9/common/toolcommon/pstdout.c:540:13: error: Common realloc mistake: 'buf' nulled but not freed upon failure [memleakOnRealloc] freeipmi-1.6.9/common/toolcommon/pstdout.c:579:13: error: Common realloc mistake: 'linebuf' nulled but not freed upon failure [memleakOnRealloc] freeipmi-1.6.9/common/toolcommon/pstdout.c:611:22: error: Common realloc mistake: 'whichbuffer' nulled but not freed upon failure [memleakOnRealloc] freeipmi-1.6.9/common/toolcommon/pstdout.c:633:22: error: Common realloc mistake: 'whichbuffer' nulled but not freed upon failure [memleakOnRealloc] freeipmi-1.6.9/common/toolcommon/pstdout.c:290:38: style:inconclusive: Function 'pstdout_set_debug_flags' argument 1 names different: declaration 'flags' definition 'debug_flags'. [funcArgNamesDifferent] freeipmi-1.6.9/common/toolcommon/pstdout.h:164:42: note: Function 'pstdout_set_debug_flags' argument 1 names different: declaration 'flags' definition 'debug_flags'. freeipmi-1.6.9/common/toolcommon/pstdout.c:290:38: note: Function 'pstdout_set_debug_flags' argument 1 names different: declaration 'flags' definition 'debug_flags'. freeipmi-1.6.9/common/toolcommon/pstdout.c:338:39: style:inconclusive: Function 'pstdout_set_output_flags' argument 1 names different: declaration 'flags' definition 'output_flags'. [funcArgNamesDifferent] freeipmi-1.6.9/common/toolcommon/pstdout.h:178:43: note: Function 'pstdout_set_output_flags' argument 1 names different: declaration 'flags' definition 'output_flags'. freeipmi-1.6.9/common/toolcommon/pstdout.c:338:39: note: Function 'pstdout_set_output_flags' argument 1 names different: declaration 'flags' definition 'output_flags'. freeipmi-1.6.9/common/toolcommon/pstdout.c:238:38: style: Parameter 'x' can be declared as pointer to const [constParameter] freeipmi-1.6.9/common/toolcommon/pstdout.c:238:47: style: Parameter 'key' can be declared as pointer to const [constParameter] freeipmi-1.6.9/common/toolcommon/tool-event-common.c:228:24: style: Redundant condition: !column_width. 'column_width || (!column_width && comma_separated_output)' is equivalent to 'column_width || comma_separated_output' [redundantCondition] freeipmi-1.6.9/common/toolcommon/tool-event-common.c:276:24: style: Redundant condition: !column_width. 'column_width || (!column_width && comma_separated_output)' is equivalent to 'column_width || comma_separated_output' [redundantCondition] freeipmi-1.6.9/common/toolcommon/tool-event-common.c:310:24: style: Redundant condition: !column_width. 'column_width || (!column_width && comma_separated_output)' is equivalent to 'column_width || comma_separated_output' [redundantCondition] freeipmi-1.6.9/common/toolcommon/tool-event-common.c:357:24: style: Redundant condition: !column_width. 'column_width || (!column_width && comma_separated_output)' is equivalent to 'column_width || comma_separated_output' [redundantCondition] freeipmi-1.6.9/common/toolcommon/tool-sensor-common.c:146:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/common/toolcommon/tool-sensor-common.c:158:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/common/toolcommon/tool-sensor-common.c:314:46: style:inconclusive: Function 'get_sensor_units_output_string' argument 5 names different: declaration 'abbreviated_units_flag' definition 'non_abbreviated_units_flag'. [funcArgNamesDifferent] freeipmi-1.6.9/common/toolcommon/tool-sensor-common.h:93:50: note: Function 'get_sensor_units_output_string' argument 5 names different: declaration 'abbreviated_units_flag' definition 'non_abbreviated_units_flag'. freeipmi-1.6.9/common/toolcommon/tool-sensor-common.c:314:46: note: Function 'get_sensor_units_output_string' argument 5 names different: declaration 'abbreviated_units_flag' definition 'non_abbreviated_units_flag'. freeipmi-1.6.9/common/miscutil/conffile.c:509:13: style: Local variable 'rv' shadows outer variable [shadowVariable] freeipmi-1.6.9/common/miscutil/conffile.c:478:23: note: Shadowed declaration freeipmi-1.6.9/common/miscutil/conffile.c:509:13: note: Shadow variable freeipmi-1.6.9/common/miscutil/conffile.c:640:13: style: Local variable 'i' shadows outer variable [shadowVariable] freeipmi-1.6.9/common/miscutil/conffile.c:478:9: note: Shadowed declaration freeipmi-1.6.9/common/miscutil/conffile.c:640:13: note: Shadow variable freeipmi-1.6.9/common/miscutil/conffile.c:652:13: style: Local variable 'i' shadows outer variable [shadowVariable] freeipmi-1.6.9/common/miscutil/conffile.c:478:9: note: Shadowed declaration freeipmi-1.6.9/common/miscutil/conffile.c:652:13: note: Shadow variable freeipmi-1.6.9/common/miscutil/conffile.c:664:13: style: Local variable 'i' shadows outer variable [shadowVariable] freeipmi-1.6.9/common/miscutil/conffile.c:478:9: note: Shadowed declaration freeipmi-1.6.9/common/miscutil/conffile.c:664:13: note: Shadow variable freeipmi-1.6.9/contrib/libipmimonitoring/ipmimonitoring-sel.c:428:7: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] freeipmi-1.6.9/contrib/libipmimonitoring/ipmimonitoring-sel.c:428:7: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] freeipmi-1.6.9/contrib/libipmimonitoring/ipmimonitoring-sel.c:552:11: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] freeipmi-1.6.9/contrib/libipmimonitoring/ipmimonitoring-sensors.c:472:7: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] freeipmi-1.6.9/contrib/libipmimonitoring/ipmimonitoring-sensors.c:472:7: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] freeipmi-1.6.9/contrib/libipmimonitoring/ipmimonitoring-sensors.c:544:24: style: Local variable 'i' shadows outer variable [shadowVariable] freeipmi-1.6.9/contrib/libipmimonitoring/ipmimonitoring-sensors.c:224:16: note: Shadowed declaration freeipmi-1.6.9/contrib/libipmimonitoring/ipmimonitoring-sensors.c:544:24: note: Shadow variable freeipmi-1.6.9/ipmi-config/ipmi-config-argp.c:140:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/ipmi-config/ipmi-config-argp.c:161:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/ipmi-config/ipmi-config-argp.c:702:79: style:inconclusive: Function 'ipmi_config_argp_parse' argument 3 names different: declaration 'args' definition 'cmd_args'. [funcArgNamesDifferent] freeipmi-1.6.9/ipmi-config/ipmi-config-argp.h:25:84: note: Function 'ipmi_config_argp_parse' argument 3 names different: declaration 'args' definition 'cmd_args'. freeipmi-1.6.9/ipmi-config/ipmi-config-argp.c:702:79: note: Function 'ipmi_config_argp_parse' argument 3 names different: declaration 'args' definition 'cmd_args'. freeipmi-1.6.9/common/parsecommon/parse-common.c:165:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/common/parsecommon/parse-common.c:304:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/common/parsecommon/parse-common.c:316:39: style:inconclusive: Function 'parse_workaround_flags' argument 6 names different: declaration 'tool_specific_workaround_flags' definition 'section_specific_workaround_flags'. [funcArgNamesDifferent] freeipmi-1.6.9/common/parsecommon/parse-common.h:180:43: note: Function 'parse_workaround_flags' argument 6 names different: declaration 'tool_specific_workaround_flags' definition 'section_specific_workaround_flags'. freeipmi-1.6.9/common/parsecommon/parse-common.c:316:39: note: Function 'parse_workaround_flags' argument 6 names different: declaration 'tool_specific_workaround_flags' definition 'section_specific_workaround_flags'. freeipmi-1.6.9/common/parsecommon/parse-common.c:333:44: style:inconclusive: Function 'parse_workaround_flags_tool' argument 6 names different: declaration 'tool_specific_workaround_flags' definition 'section_specific_workaround_flags'. [funcArgNamesDifferent] freeipmi-1.6.9/common/parsecommon/parse-common.h:189:48: note: Function 'parse_workaround_flags_tool' argument 6 names different: declaration 'tool_specific_workaround_flags' definition 'section_specific_workaround_flags'. freeipmi-1.6.9/common/parsecommon/parse-common.c:333:44: note: Function 'parse_workaround_flags_tool' argument 6 names different: declaration 'tool_specific_workaround_flags' definition 'section_specific_workaround_flags'. freeipmi-1.6.9/ipmi-config/ipmi-config-category-core-lan6-conf-section.c:128:41: style: Condition 'get_address_status_number(value)!=-1' is always true [knownConditionTrueFalse] freeipmi-1.6.9/ipmi-config/ipmi-config-category-core-lan6-conf-section.c:800:48: style: Condition 'get_static_address_source_number(value)!=-1' is always true [knownConditionTrueFalse] freeipmi-1.6.9/ipmi-config/ipmi-config-category-core-lan6-conf-section.c:1208:49: style: Condition 'get_dynamic_address_source_number(value)!=-1' is always true [knownConditionTrueFalse] freeipmi-1.6.9/ipmi-config/ipmi-config-category-core-lan6-conf-section.c:128:45: style: Comparing expression of type 'unsigned char' against value -1. Condition is always true. [compareValueOutOfTypeRangeError] freeipmi-1.6.9/ipmi-config/ipmi-config-category-core-lan6-conf-section.c:800:52: style: Comparing expression of type 'unsigned char' against value -1. Condition is always true. [compareValueOutOfTypeRangeError] freeipmi-1.6.9/ipmi-config/ipmi-config-category-core-lan6-conf-section.c:1208:53: style: Comparing expression of type 'unsigned char' against value -1. Condition is always true. [compareValueOutOfTypeRangeError] freeipmi-1.6.9/ipmi-config/ipmi-config-category-dcmi-dcmi-conf-section.c:433:7: style: Condition '!data_len' is always false [knownConditionTrueFalse] freeipmi-1.6.9/ipmi-config/ipmi-config-category-dcmi-dcmi-conf-section.c:430:39: note: Assignment 'data_len=strlen(kv->value_input)+1', assigned value is greater than 0 freeipmi-1.6.9/ipmi-config/ipmi-config-category-dcmi-dcmi-conf-section.c:433:7: note: Condition '!data_len' is always false freeipmi-1.6.9/ipmi-config/ipmi-config-category-core-user-sections.c:886:29: style: Local variable 'ret' shadows outer variable [shadowVariable] freeipmi-1.6.9/ipmi-config/ipmi-config-category-core-user-sections.c:858:21: note: Shadowed declaration freeipmi-1.6.9/ipmi-config/ipmi-config-category-core-user-sections.c:886:29: note: Shadow variable freeipmi-1.6.9/ipmi-config/ipmi-config-category-core-user-sections.c:932:25: style: Local variable 'ret' shadows outer variable [shadowVariable] freeipmi-1.6.9/ipmi-config/ipmi-config-category-core-user-sections.c:858:21: note: Shadowed declaration freeipmi-1.6.9/ipmi-config/ipmi-config-category-core-user-sections.c:932:25: note: Shadow variable freeipmi-1.6.9/ipmi-config/ipmi-config-category-core-user-sections.c:986:16: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmi-config/ipmi-config-parse.c:56:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/ipmi-config/ipmi-config-parse.c:80:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/ipmi-config/ipmi-config-parse.c:151:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/ipmi-config/ipmi-config.c:323:35: style: Variable 'kv' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmi-config/ipmi-config-map.c:188:39: style:inconclusive: Function 'ip_address_source_number' argument 1 names different: declaration 'source' definition 'string'. [funcArgNamesDifferent] freeipmi-1.6.9/ipmi-config/ipmi-config-map.h:40:43: note: Function 'ip_address_source_number' argument 1 names different: declaration 'source' definition 'string'. freeipmi-1.6.9/ipmi-config/ipmi-config-map.c:188:39: note: Function 'ip_address_source_number' argument 1 names different: declaration 'source' definition 'string'. freeipmi-1.6.9/ipmi-config/ipmi-config-map.c:206:35: style:inconclusive: Function 'ip_address_source_string' argument 1 names different: declaration 'source' definition 'value'. [funcArgNamesDifferent] freeipmi-1.6.9/ipmi-config/ipmi-config-map.h:42:41: note: Function 'ip_address_source_string' argument 1 names different: declaration 'source' definition 'value'. freeipmi-1.6.9/ipmi-config/ipmi-config-map.c:206:35: note: Function 'ip_address_source_string' argument 1 names different: declaration 'source' definition 'value'. freeipmi-1.6.9/ipmi-config/ipmi-config-map.c:225:50: style:inconclusive: Function 'ipv6_ipv4_addressing_enables_number' argument 1 names different: declaration 'source' definition 'string'. [funcArgNamesDifferent] freeipmi-1.6.9/ipmi-config/ipmi-config-map.h:44:54: note: Function 'ipv6_ipv4_addressing_enables_number' argument 1 names different: declaration 'source' definition 'string'. freeipmi-1.6.9/ipmi-config/ipmi-config-map.c:225:50: note: Function 'ipv6_ipv4_addressing_enables_number' argument 1 names different: declaration 'source' definition 'string'. freeipmi-1.6.9/ipmi-config/ipmi-config-map.c:239:46: style:inconclusive: Function 'ipv6_ipv4_addressing_enables_string' argument 1 names different: declaration 'source' definition 'value'. [funcArgNamesDifferent] freeipmi-1.6.9/ipmi-config/ipmi-config-map.h:46:52: note: Function 'ipv6_ipv4_addressing_enables_string' argument 1 names different: declaration 'source' definition 'value'. freeipmi-1.6.9/ipmi-config/ipmi-config-map.c:239:46: note: Function 'ipv6_ipv4_addressing_enables_string' argument 1 names different: declaration 'source' definition 'value'. freeipmi-1.6.9/ipmi-config/ipmi-config-map.c:1046:39: style:inconclusive: Function 'exception_actions_number' argument 1 names different: declaration 'source' definition 'string'. [funcArgNamesDifferent] freeipmi-1.6.9/ipmi-config/ipmi-config-map.h:112:43: note: Function 'exception_actions_number' argument 1 names different: declaration 'source' definition 'string'. freeipmi-1.6.9/ipmi-config/ipmi-config-map.c:1046:39: note: Function 'exception_actions_number' argument 1 names different: declaration 'source' definition 'string'. freeipmi-1.6.9/ipmi-config/ipmi-config-map.c:1061:35: style:inconclusive: Function 'exception_actions_string' argument 1 names different: declaration 'source' definition 'value'. [funcArgNamesDifferent] freeipmi-1.6.9/ipmi-config/ipmi-config-map.h:114:41: note: Function 'exception_actions_string' argument 1 names different: declaration 'source' definition 'value'. freeipmi-1.6.9/ipmi-config/ipmi-config-map.c:1061:35: note: Function 'exception_actions_string' argument 1 names different: declaration 'source' definition 'value'. freeipmi-1.6.9/ipmi-dcmi/ipmi-dcmi.c:1074:16: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmi-fru/ipmi-fru.c:952:3: error: Uninitialized variable: sdr_callback_arg [legacyUninitvar] freeipmi-1.6.9/ipmi-fru/ipmi-fru.c:80:26: style: struct member 'ipmi_fru_sdr_callback::state_data' is never used. [unusedStructMember] freeipmi-1.6.9/ipmi-fru/ipmi-fru.c:81:17: style: struct member 'ipmi_fru_sdr_callback::output_count' is never used. [unusedStructMember] freeipmi-1.6.9/ipmi-fru/ipmi-fru.c:82:25: style: struct member 'ipmi_fru_sdr_callback::fru_cb' is never used. [unusedStructMember] freeipmi-1.6.9/ipmi-fru/ipmi-fru.c:83:9: style: struct member 'ipmi_fru_sdr_callback::arg' is never used. [unusedStructMember] freeipmi-1.6.9/ipmi-pet/ipmi-pet-argp.c:203:15: style: Local variable 'endptr' shadows outer variable [shadowVariable] freeipmi-1.6.9/ipmi-pet/ipmi-pet-argp.c:119:9: note: Shadowed declaration freeipmi-1.6.9/ipmi-pet/ipmi-pet-argp.c:203:15: note: Shadow variable freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:3561:38: style: Condition 'number_of_alert_thresholds>=1' is always true [knownConditionTrueFalse] freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:3559:7: note: Assuming that condition 'number_of_alert_thresholds' is not redundant freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:3561:38: note: Condition 'number_of_alert_thresholds>=1' is always true freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:4199:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:4203:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:4207:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:4211:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:4215:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:4219:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:4223:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:4227:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:4231:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:4488:11: style: Local variable 'i' shadows outer variable [shadowVariable] freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:4478:16: note: Shadowed declaration freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:4488:11: note: Shadow variable freeipmi-1.6.9/ipmi-oem/ipmi-oem-intelnm.c:4678:14: style: Variable 'minutes_ptr' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmi-sel/ipmi-sel-argp.c:184:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/ipmi-sel/ipmi-sel-argp.c:202:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/ipmi-sensors/ipmi-sensors-argp.c:188:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/ipmi-sensors/ipmi-sensors-argp.c:212:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/ipmi-sensors/ipmi-sensors-argp.c:216:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/ipmi-sensors/ipmi-sensors-argp.c:240:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/ipmi-sel/ipmi-sel.c:1611:38: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] freeipmi-1.6.9/ipmi-sel/ipmi-sel.c:1608:34: note: outer condition: state_data->prog_data->args->date_range freeipmi-1.6.9/ipmi-sel/ipmi-sel.c:1611:38: note: identical inner condition: state_data->prog_data->args->date_range freeipmi-1.6.9/ipmi-sel/ipmi-sel.c:1030:18: style: Variable 'outbuf_len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmidetect/ipmidetect-argp.c:132:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/ipmidetect/ipmidetect-argp.c:136:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/ipmi-sensors/ipmi-sensors.c:1288:15: style: Local variable 'i' shadows outer variable [shadowVariable] freeipmi-1.6.9/ipmi-sensors/ipmi-sensors.c:1083:16: note: Shadowed declaration freeipmi-1.6.9/ipmi-sensors/ipmi-sensors.c:1288:15: note: Shadow variable freeipmi-1.6.9/ipmiping/ipmiping.c:460:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freeipmi-1.6.9/ipmiping/ipmiping.c:460:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freeipmi-1.6.9/ipmiping/ipmiping.c:378:34: style: Variable 'per_message_authentication' is reassigned a value before the old one has been used. [redundantAssignment] freeipmi-1.6.9/ipmiping/ipmiping.c:371:34: note: per_message_authentication is assigned freeipmi-1.6.9/ipmiping/ipmiping.c:378:34: note: per_message_authentication is overwritten freeipmi-1.6.9/ipmipower/ipmipower.c:331:7: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower.c:370:7: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower.c:396:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower.c:510:15: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower.c:528:15: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower.c:565:13: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2710:17: style: Variable 'bytes_rq[1]' is reassigned a value before the old one has been used. [redundantAssignment] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2699:17: note: bytes_rq[1] is assigned freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2710:17: note: bytes_rq[1] is overwritten freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2710:17: style: Variable 'bytes_rq[1]' is reassigned a value before the old one has been used. [redundantAssignment] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2701:17: note: bytes_rq[1] is assigned freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2710:17: note: bytes_rq[1] is overwritten freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2710:17: style: Variable 'bytes_rq[1]' is reassigned a value before the old one has been used. [redundantAssignment] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2703:17: note: bytes_rq[1] is assigned freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2710:17: note: bytes_rq[1] is overwritten freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2710:17: style: Variable 'bytes_rq[1]' is reassigned a value before the old one has been used. [redundantAssignment] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2705:17: note: bytes_rq[1] is assigned freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2710:17: note: bytes_rq[1] is overwritten freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2710:17: style: Variable 'bytes_rq[1]' is reassigned a value before the old one has been used. [redundantAssignment] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2707:17: note: bytes_rq[1] is assigned freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:2710:17: note: bytes_rq[1] is overwritten freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:4834:15: error: Uninitialized variable: ad_root_domain_string [legacyUninitvar] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:4844:15: error: Uninitialized variable: ad_rac_domain_string [legacyUninitvar] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:4854:15: error: Uninitialized variable: ad_rac_name_string [legacyUninitvar] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:4876:15: error: Uninitialized variable: ad_dc_filter1_string [legacyUninitvar] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:4886:15: error: Uninitialized variable: ad_dc_filter2_string [legacyUninitvar] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:4896:15: error: Uninitialized variable: ad_dc_filter3_string [legacyUninitvar] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:4906:15: error: Uninitialized variable: ad_gc_filter1_string [legacyUninitvar] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:4916:15: error: Uninitialized variable: ad_gc_filter2_string [legacyUninitvar] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:4926:15: error: Uninitialized variable: ad_gc_filter3_string [legacyUninitvar] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:1258:21: style: Variable 'autoconfiguration' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:1259:21: style: Variable 'autoconfiguration' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmi-oem/ipmi-oem-dell.c:4441:9: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_connection.c:748:11: style: Local variable 'i' shadows outer variable [shadowVariable] freeipmi-1.6.9/ipmipower/ipmipower_connection.c:579:7: note: Shadowed declaration freeipmi-1.6.9/ipmipower/ipmipower_connection.c:748:11: note: Shadow variable freeipmi-1.6.9/ipmipower/ipmipower_connection.c:104:7: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_connection.c:319:8: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_connection.c:329:8: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_connection.c:718:19: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_connection.c:844:3: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:78:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:161:11: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:181:13: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:211:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:321:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:398:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:459:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:531:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:565:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:600:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:641:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:677:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:710:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:738:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:789:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:1023:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:1071:11: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:1136:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:1164:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_check.c:1191:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_ping.c:254:21: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_ping.c:325:21: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_ping.c:346:13: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_ping.c:434:21: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_ping.c:524:21: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_powercmd.c:737:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_powercmd.c:1380:3: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_powercmd.c:1725:11: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_powercmd.c:1737:11: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_powercmd.c:2356:11: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmipower/ipmipower_util.c:247:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmiseld/ipmiseld-cache.c:417:18: style: Variable 'databuf_offset' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/ipmiseld/ipmiseld-common.c:63:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/ipmiseld/ipmiseld-common.c:84:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] freeipmi-1.6.9/libfreeipmi/api/ipmi-api.c:1487:31: style: Parameter 'rs_addr' can be declared as pointer to const [constParameter] freeipmi-1.6.9/libfreeipmi/api/ipmi-kcs-driver-api.c:648:15: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] freeipmi-1.6.9/libfreeipmi/api/ipmi-lan-session-common.c:105:30: style: Variable '*authentication_type' is reassigned a value before the old one has been used. [redundantAssignment] freeipmi-1.6.9/libfreeipmi/api/ipmi-lan-session-common.c:100:26: note: *authentication_type is assigned freeipmi-1.6.9/libfreeipmi/api/ipmi-lan-session-common.c:105:30: note: *authentication_type is overwritten freeipmi-1.6.9/libfreeipmi/api/ipmi-lan-session-common.c:692:47: style: Parameter 'session_sequence_number' can be declared as pointer to const [constParameter] freeipmi-1.6.9/libfreeipmi/api/ipmi-lan-session-common.c:2510:51: style: Parameter 'session_sequence_number' can be declared as pointer to const [constParameter] freeipmi-1.6.9/libfreeipmi/api/ipmi-lan-session-common.c:2509:50: style: Parameter 'message_tag' can be declared as pointer to const [constParameter] freeipmi-1.6.9/libfreeipmi/api/ipmi-lan-session-common.c:235:14: style: Variable 'status' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/api/ipmi-lan-session-common.c:1287:12: style: Unused variable: val [unusedVariable] freeipmi-1.6.9/libfreeipmi/api/ipmi-ssif-driver-api.c:653:15: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] freeipmi-1.6.9/libfreeipmi/cmds/ipmi-lan-cmds.c:2635:3: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-inband.c:115:36: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-inband.c:150:36: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-inband.c:208:40: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcp.c:96:50: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcp.c:123:45: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcp.c:146:61: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-lan.c:124:36: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-lan.c:157:38: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-lan.c:196:41: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-lan.c:221:37: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-lan.c:258:36: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-lan.c:305:36: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-lan.c:358:36: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-lan.c:392:40: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:687:20: style: Checking if unsigned expression 'cmd_data_len' is less than zero. [unsignedLessThanZero] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:89:42: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:117:46: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:135:42: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:261:40: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:303:40: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:365:40: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:394:40: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:426:40: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:636:28: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:1066:34: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:1079:34: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:1092:34: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:1105:34: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:1222:49: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:1248:50: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:1378:42: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:1402:51: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/debug/ipmi-debug-rmcpplus.c:1426:44: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/driver/ipmi-kcs-driver.c:632:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] freeipmi-1.6.9/libfreeipmi/driver/ipmi-kcs-driver.c:525:3: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] freeipmi-1.6.9/libfreeipmi/driver/ipmi-semaphores.c:145:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] freeipmi-1.6.9/libfreeipmi/driver/ipmi-openipmi-driver.c:121:7: style: struct member 'ipmi_recv::recv_type' is never used. [unusedStructMember] freeipmi-1.6.9/libfreeipmi/driver/ipmi-openipmi-driver.c:124:8: style: struct member 'ipmi_recv::msgid' is never used. [unusedStructMember] freeipmi-1.6.9/libfreeipmi/driver/ipmi-sunbmc-driver.c:482:3: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] freeipmi-1.6.9/libfreeipmi/driver/ipmi-sunbmc-driver.c:524:3: style:inconclusive: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] freeipmi-1.6.9/libfreeipmi/driver/ipmi-sunbmc-driver.c:623:3: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] freeipmi-1.6.9/libfreeipmi/driver/ipmi-sunbmc-driver.c:381:2: style: Label 'out_io_init' is not used. [unusedLabel] freeipmi-1.6.9/libfreeipmi/driver/ipmi-ssif-driver.c:207:11: style: union member 'ipmi_i2c_smbus_data::byte' is never used. [unusedStructMember] freeipmi-1.6.9/libfreeipmi/driver/ipmi-ssif-driver.c:208:12: style: union member 'ipmi_i2c_smbus_data::word' is never used. [unusedStructMember] freeipmi-1.6.9/libfreeipmi/driver/ipmi-ssif-driver.c:404:29: style: Variable 'block_number' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/fiid/fiid.c:2374:32: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/fiid/fiid.c:2693:32: portability: 'data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/fiid/fiid.c:310:21: style: Variable '_end' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/fru/ipmi-fru.c:491:22: portability: 'frubuf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-kcs-interface.c:139:44: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-kcs-interface.c:194:49: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-kcs-interface.c:208:45: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-kcs-interface.c:213:8: style: Variable 'indx' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/interface/ipmi-ipmb-interface.c:386:8: style: Variable 'indx' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:359:50: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:369:38: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:381:44: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:385:27: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:398:23: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:403:38: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:412:28: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:417:38: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:427:45: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:450:54: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:690:50: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:707:38: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:735:41: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:753:37: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:768:53: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:797:45: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:811:54: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-lan-interface.c:816:8: style: Variable 'indx' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/common/toolcommon/tool-config-file-common.c:316:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] freeipmi-1.6.9/common/toolcommon/tool-config-file-common.c:320:3: note: Found duplicate branches for 'if' and 'else'. freeipmi-1.6.9/common/toolcommon/tool-config-file-common.c:316:3: note: Found duplicate branches for 'if' and 'else'. freeipmi-1.6.9/libfreeipmi/interface/rmcp-interface.c:150:44: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/rmcp-interface.c:198:50: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/rmcp-interface.c:212:45: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/rmcp-interface.c:217:8: style: Variable 'indx' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:629:48: portability: 'payload_buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:639:44: portability: 'payload_buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:661:45: portability: 'payload_buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:670:48: portability: 'payload_buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:1487:49: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:1514:38: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:1576:40: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:1601:40: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:1644:42: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:1662:87: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:1678:23: portability: 'pkt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:1736:40: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:1768:36: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:1786:40: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:1936:28: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:2217:49: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:2238:42: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:2309:42: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:2495:40: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:2547:38: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:2547:45: portability: 'pkt+indx' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:2557:34: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:2557:41: portability: 'pkt+indx' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:2566:34: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:2566:41: portability: 'pkt+indx' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:2597:34: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/interface/ipmi-rmcpplus-interface.c:1785:16: style: Variable 'len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/interpret/ipmi-interpret-config-sel.c:1112:47: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] freeipmi-1.6.9/libfreeipmi/libcommon/ipmi-bit-ops.c:51:8: warning: Shifting 64-bit value by 64 bits is undefined behaviour. See condition at line 45. [shiftTooManyBits] freeipmi-1.6.9/libfreeipmi/libcommon/ipmi-bit-ops.c:45:28: note: Assuming that condition 'start>64' is not redundant freeipmi-1.6.9/libfreeipmi/libcommon/ipmi-bit-ops.c:51:8: note: Shift freeipmi-1.6.9/libfreeipmi/libcommon/ipmi-bit-ops.c:84:12: warning: Shifting 64-bit value by 64 bits is undefined behaviour. See condition at line 67. [shiftTooManyBits] freeipmi-1.6.9/libfreeipmi/libcommon/ipmi-bit-ops.c:67:28: note: Assuming that condition 'start>64' is not redundant freeipmi-1.6.9/libfreeipmi/libcommon/ipmi-bit-ops.c:84:12: note: Shift freeipmi-1.6.9/libfreeipmi/libcommon/ipmi-bit-ops.c:88:20: warning: Shifting 64-bit value by 64 bits is undefined behaviour. See condition at line 67. [shiftTooManyBits] freeipmi-1.6.9/libfreeipmi/libcommon/ipmi-bit-ops.c:67:28: note: Assuming that condition 'start>64' is not redundant freeipmi-1.6.9/libfreeipmi/libcommon/ipmi-bit-ops.c:88:20: note: Shift freeipmi-1.6.9/libfreeipmi/libcommon/ipmi-md2.c:200:26: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/libcommon/ipmi-md2.c:207:24: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/libcommon/ipmi-md5.c:298:26: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/libcommon/ipmi-md5.c:307:26: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/locate/ipmi-locate-pci.c:287:59: style: Parameter 'info' can be declared as pointer to const [constParameter] freeipmi-1.6.9/libfreeipmi/locate/ipmi-locate-acpi-spmi.c:1178:29: style: Comparing expression of type 'unsigned int' against value 0. Condition is always true. [compareValueOutOfTypeRangeError] freeipmi-1.6.9/libfreeipmi/locate/ipmi-locate-acpi-spmi.c:1194:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freeipmi-1.6.9/libfreeipmi/locate/ipmi-locate-acpi-spmi.c:1178:26: style: Unsigned expression 'table_instance' can't be negative so it is unnecessary to test it. [unsignedPositive] freeipmi-1.6.9/libfreeipmi/locate/ipmi-locate-acpi-spmi.c:747:40: portability: '*mapped_address' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/sdr/ipmi-sdr-cache-create.c:698:23: style: Redundant condition: record_ids. '!record_ids || (record_ids && record_ids_count)' is equivalent to '!record_ids || record_ids_count' [redundantCondition] freeipmi-1.6.9/libfreeipmi/sdr/ipmi-sdr-cache-create.c:664:60: portability: 'record_buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/sdr/ipmi-sdr-parse-util.c:140:11: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] freeipmi-1.6.9/libfreeipmi/sdr/ipmi-sdr-parse.c:3053:7: style: The if condition is the same as the previous if condition [duplicateCondition] freeipmi-1.6.9/libfreeipmi/sdr/ipmi-sdr-parse.c:3022:7: note: First condition freeipmi-1.6.9/libfreeipmi/sdr/ipmi-sdr-parse.c:3053:7: note: Second condition freeipmi-1.6.9/libfreeipmi/sdr/ipmi-sdr-parse.c:3140:7: style: The if condition is the same as the previous if condition [duplicateCondition] freeipmi-1.6.9/libfreeipmi/sdr/ipmi-sdr-parse.c:3090:7: note: First condition freeipmi-1.6.9/libfreeipmi/sdr/ipmi-sdr-parse.c:3140:7: note: Second condition freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-dell-poweredge.c:2184:27: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-dell-poweredge.c:2179:23: note: outer condition: memory_card==IPMI_SENSOR_TYPE_MEMORY_EVENT_DATA1_OEM_DELL_DIMMS_PER_PACKAGE_3 freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-dell-poweredge.c:2184:27: note: identical inner condition: memory_card==IPMI_SENSOR_TYPE_MEMORY_EVENT_DATA1_OEM_DELL_DIMMS_PER_PACKAGE_3 freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-dell-poweredge.c:1859:27: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-dell-poweredge.c:1864:27: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-dell-poweredge.c:2196:46: error: Uninitialized variable: dimms_per_node [uninitvar] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-dell-poweredge.c:2184:27: note: Assuming condition is false freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-dell-poweredge.c:2196:46: note: Uninitialized variable: dimms_per_node freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-e52600v3-common.c:433:20: style: Local variable 'wlen' shadows outer argument [shadowArgument] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-e52600v3-common.c:283:74: note: Shadowed declaration freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-e52600v3-common.c:433:20: note: Shadow variable freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-e52600v3-common.c:904:20: style: Local variable 'wlen' shadows outer argument [shadowArgument] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-e52600v3-common.c:758:71: note: Shadowed declaration freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-e52600v3-common.c:904:20: note: Shadow variable freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-e52600v3-common.c:1211:20: style: Local variable 'wlen' shadows outer argument [shadowArgument] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-e52600v3-common.c:1161:74: note: Shadowed declaration freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-e52600v3-common.c:1211:20: note: Shadow variable freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-e52600v3-common.c:1372:20: style: Local variable 'wlen' shadows outer argument [shadowArgument] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-e52600v3-common.c:1161:74: note: Shadowed declaration freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-e52600v3-common.c:1372:20: note: Shadow variable freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c:361:16: style: Variable 'cpu0_mc1' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c:362:16: style: Variable 'cpu0_mc1' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c:366:16: style: Variable 'cpu1_mc0' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c:367:16: style: Variable 'cpu1_mc0' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c:371:16: style: Variable 'cpu1_mc1' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c:372:16: style: Variable 'cpu1_mc1' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c:376:16: style: Variable 'cpu2_mc0' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c:377:16: style: Variable 'cpu2_mc0' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c:381:16: style: Variable 'cpu2_mc1' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c:382:16: style: Variable 'cpu2_mc1' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c:386:16: style: Variable 'cpu3_mc0' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c:387:16: style: Variable 'cpu3_mc0' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c:391:16: style: Variable 'cpu3_mc1' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/sel/ipmi-sel-string-intel-node-manager.c:392:16: style: Variable 'cpu3_mc1' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/util/ipmi-cipher-suite-util.c:51:28: style: Condition 'cipher_suite_id>=1' is always true [knownConditionTrueFalse] freeipmi-1.6.9/libfreeipmi/util/ipmi-cipher-suite-util.c:49:23: note: Assuming that condition 'cipher_suite_id==0' is not redundant freeipmi-1.6.9/libfreeipmi/util/ipmi-cipher-suite-util.c:51:28: note: Condition 'cipher_suite_id>=1' is always true freeipmi-1.6.9/libfreeipmi/util/ipmi-cipher-suite-util.c:63:28: style: Condition 'cipher_suite_id>=2' is always true [knownConditionTrueFalse] freeipmi-1.6.9/libfreeipmi/util/ipmi-cipher-suite-util.c:59:26: note: Assuming that condition 'cipher_suite_id==1' is not redundant freeipmi-1.6.9/libfreeipmi/util/ipmi-cipher-suite-util.c:63:28: note: Condition 'cipher_suite_id>=2' is always true freeipmi-1.6.9/libfreeipmi/util/ipmi-outofband-util.c:168:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] freeipmi-1.6.9/libfreeipmi/util/ipmi-outofband-util.c:199:107: style: Comparing expression of type 'unsigned int' against value 4294967295. Condition is always true. [compareValueOutOfTypeRangeError] freeipmi-1.6.9/libfreeipmi/util/ipmi-outofband-util.c:242:107: style: Comparing expression of type 'unsigned int' against value 4294967295. Condition is always true. [compareValueOutOfTypeRangeError] freeipmi-1.6.9/libfreeipmi/util/ipmi-outofband-util.c:83:33: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/util/ipmi-outofband-util.c:106:33: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/util/ipmi-outofband-util.c:168:28: style: Variable 'sequence_number_window' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libfreeipmi/util/ipmi-lan-util.c:461:32: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/util/ipmi-lan-util.c:464:32: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/util/ipmi-lan-util.c:467:32: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/util/ipmi-lan-util.c:482:32: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/util/ipmi-lan-util.c:485:32: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/util/ipmi-lan-util.c:488:32: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/util/ipmi-lan-util.c:503:44: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/util/ipmi-lan-util.c:758:39: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/util/ipmi-lan-util.c:771:39: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/util/ipmi-lan-util.c:315:41: error: Uninitialized variable: authentication_code_calc [legacyUninitvar] freeipmi-1.6.9/libfreeipmi/util/ipmi-lan-util.c:503:15: error: Uninitialized variable: authentication_code_buf [legacyUninitvar] freeipmi-1.6.9/libfreeipmi/util/ipmi-util.c:172:24: style: Parameter 'buf' can be declared as pointer to const [constParameter] freeipmi-1.6.9/libfreeipmi/util/ipmi-rmcpplus-util.c:1367:42: portability: 'pkt' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] freeipmi-1.6.9/libfreeipmi/util/ipmi-sensor-and-event-code-tables-util.c:637:11: style: Local variable 'rv' shadows outer variable [shadowVariable] freeipmi-1.6.9/libfreeipmi/util/ipmi-sensor-and-event-code-tables-util.c:613:7: note: Shadowed declaration freeipmi-1.6.9/libfreeipmi/util/ipmi-sensor-and-event-code-tables-util.c:637:11: note: Shadow variable freeipmi-1.6.9/libipmiconsole/ipmiconsole_garbage_collector.c:106:11: style: Local variable 'perr' shadows outer variable [shadowVariable] freeipmi-1.6.9/libipmiconsole/ipmiconsole_garbage_collector.c:82:7: note: Shadowed declaration freeipmi-1.6.9/libipmiconsole/ipmiconsole_garbage_collector.c:106:11: note: Shadow variable freeipmi-1.6.9/ipmipower/ipmipower_prompt.c:174:7: style: Redundant condition: argv[1]. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] freeipmi-1.6.9/ipmipower/ipmipower_prompt.c:206:12: style: Redundant condition: argv[1]. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] freeipmi-1.6.9/ipmipower/ipmipower_prompt.c:1216:5: style: Variable '__len' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libipmiconsole/ipmiconsole_engine.c:1221:11: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] freeipmi-1.6.9/libipmiconsole/ipmiconsole_engine.c:1487:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] freeipmi-1.6.9/libipmiconsole/scbuf.c:1062:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] freeipmi-1.6.9/libipmiconsole/scbuf.c:1066:5: note: Found duplicate branches for 'if' and 'else'. freeipmi-1.6.9/libipmiconsole/scbuf.c:1062:5: note: Found duplicate branches for 'if' and 'else'. freeipmi-1.6.9/libipmiconsole/scbuf.c:1111:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] freeipmi-1.6.9/libipmiconsole/scbuf.c:1115:5: note: Found duplicate branches for 'if' and 'else'. freeipmi-1.6.9/libipmiconsole/scbuf.c:1111:5: note: Found duplicate branches for 'if' and 'else'. freeipmi-1.6.9/libipmiconsole/scbuf.c:876:15: style: Variable 'nfree' is assigned a value that is never used. [unreadVariable] freeipmi-1.6.9/libipmidetect/ipmidetect.c:566:13: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] freeipmi-1.6.9/libipmidetect/ipmidetect.c:553:12: style: Local variable 'hostname' shadows outer argument [shadowArgument] freeipmi-1.6.9/libipmidetect/ipmidetect.c:530:24: note: Shadowed declaration freeipmi-1.6.9/libipmidetect/ipmidetect.c:553:12: note: Shadow variable freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sel.c:866:40: style: Parameter 'record_ids' can be declared as pointer to const [constParameter] freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sel.c:870:40: style: Parameter 'date_begin' can be declared as pointer to const [constParameter] freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sel.c:871:40: style: Parameter 'date_end' can be declared as pointer to const [constParameter] freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sensor_reading.c:652:25: style: Variable 'sensor_bitmask_type' is reassigned a value before the old one has been used. [redundantAssignment] freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sensor_reading.c:650:25: note: sensor_bitmask_type is assigned freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sensor_reading.c:652:25: note: sensor_bitmask_type is overwritten freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sensor_reading.c:366:11: style: Same expression 'errnum==IPMI_SENSOR_READ_ERR_SENSOR_NON_ANALOG' found multiple times in chain of '||' operators. [duplicateExpression] freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sensor_reading.c:367:11: style: Same expression 'errnum==IPMI_SENSOR_READ_ERR_SENSOR_NON_LINEAR' found multiple times in chain of '||' operators. [duplicateExpression] freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sensor_reading.c:1180:51: style: Parameter 'sensor_types' can be declared as pointer to const [constParameter] freeipmi-1.6.9/rmcpping/rmcpping.c:254:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freeipmi-1.6.9/rmcpping/rmcpping.c:254:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] freeipmi-1.6.9/libipmiconsole/ipmiconsole_processing.c:2825:15: style: Redundant condition: c->session.break_requested. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] freeipmi-1.6.9/libipmiconsole/ipmiconsole_processing.c:2976:11: style: Redundant condition: c->session.break_requested. '!A || (A && B)' is equivalent to '!A || B' [redundantCondition] freeipmi-1.6.9/libipmiconsole/ipmiconsole_processing.c:3034:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] diff: 2.8 freeipmi-1.6.9/common/miscutil/hostlist.c:1531:9: error: Memory leak: str [memleak] head freeipmi-1.6.9/common/miscutil/list.c:773:33: style: Parameter 'pfreelist' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/common/miscutil/list.c:773:33: style: Parameter 'pfreelist' can be declared with const [constParameter] head freeipmi-1.6.9/common/miscutil/list.c:820:31: style: Parameter 'pfreelist' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/common/miscutil/list.c:820:31: style: Parameter 'pfreelist' can be declared with const [constParameter] head freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:343:38: style: Parameter 'end' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/common/portability/freeipmi-argp-help.c:343:38: style: Parameter 'end' can be declared with const [constParameter] head freeipmi-1.6.9/common/toolcommon/pstdout.c:238:38: style: Parameter 'x' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/common/toolcommon/pstdout.c:238:38: style: Parameter 'x' can be declared with const [constParameter] head freeipmi-1.6.9/common/toolcommon/pstdout.c:238:47: style: Parameter 'key' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/common/toolcommon/pstdout.c:238:47: style: Parameter 'key' can be declared with const [constParameter] head freeipmi-1.6.9/libfreeipmi/api/ipmi-api.c:1487:31: style: Parameter 'rs_addr' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/libfreeipmi/api/ipmi-api.c:1487:31: style: Parameter 'rs_addr' can be declared with const [constParameter] head freeipmi-1.6.9/libfreeipmi/api/ipmi-lan-session-common.c:2509:50: style: Parameter 'message_tag' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/libfreeipmi/api/ipmi-lan-session-common.c:2509:50: style: Parameter 'message_tag' can be declared with const [constParameter] head freeipmi-1.6.9/libfreeipmi/api/ipmi-lan-session-common.c:2510:51: style: Parameter 'session_sequence_number' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/libfreeipmi/api/ipmi-lan-session-common.c:2510:51: style: Parameter 'session_sequence_number' can be declared with const [constParameter] head freeipmi-1.6.9/libfreeipmi/api/ipmi-lan-session-common.c:692:47: style: Parameter 'session_sequence_number' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/libfreeipmi/api/ipmi-lan-session-common.c:692:47: style: Parameter 'session_sequence_number' can be declared with const [constParameter] head freeipmi-1.6.9/libfreeipmi/interpret/ipmi-interpret-config-sel.c:1112:47: warning: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] head freeipmi-1.6.9/libfreeipmi/locate/ipmi-locate-pci.c:287:59: style: Parameter 'info' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/libfreeipmi/locate/ipmi-locate-pci.c:287:59: style: Parameter 'info' can be declared with const [constParameter] head freeipmi-1.6.9/libfreeipmi/util/ipmi-util.c:172:24: style: Parameter 'buf' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/libfreeipmi/util/ipmi-util.c:172:24: style: Parameter 'buf' can be declared with const [constParameter] head freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sel.c:866:40: style: Parameter 'record_ids' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sel.c:866:40: style: Parameter 'record_ids' can be declared with const [constParameter] head freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sel.c:870:40: style: Parameter 'date_begin' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sel.c:870:40: style: Parameter 'date_begin' can be declared with const [constParameter] head freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sel.c:871:40: style: Parameter 'date_end' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sel.c:871:40: style: Parameter 'date_end' can be declared with const [constParameter] head freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sensor_reading.c:1180:51: style: Parameter 'sensor_types' can be declared as pointer to const [constParameter] 2.8 freeipmi-1.6.9/libipmimonitoring/ipmi_monitoring_sensor_reading.c:1180:51: style: Parameter 'sensor_types' can be declared with const [constParameter] DONE