2022-06-27 17:26 ftp://ftp.de.debian.org/debian/pool/main/g/ganglia/ganglia_3.7.2.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: 270 270 elapsed-time: 79.2 76.3 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: ganglia-3.7.2/gmetad/daemon_init.c:47:11: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] ganglia-3.7.2/gmetad/daemon_init.c:42:6: note: i is assigned ganglia-3.7.2/gmetad/daemon_init.c:47:11: note: i is overwritten ganglia-3.7.2/gmetad/daemon_init.c:36:13: style: Variable 'pid' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmetad/cmdline.c:549:10: warning: Identical condition and return expression 'error', return value is always 0 [identicalConditionAfterEarlyExit] ganglia-3.7.2/gmetad/cmdline.c:439:15: note: 'error' is assigned value '0' here. ganglia-3.7.2/gmetad/cmdline.c:546:8: note: If condition 'error' is true, the function will return/exit ganglia-3.7.2/gmetad/cmdline.c:549:10: note: Returning identical expression 'error' ganglia-3.7.2/gmetad/conf.c:80:16: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmetad/data_thread.c:321:59: style: Obsolescent function 'rand_r' called. It is recommended to use 'rand' instead. [prohibitedrand_rCalled] ganglia-3.7.2/gmetad/data_thread.c:31:22: style: Variable 'sock' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmetad/export_helpers.c:457:18: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] ganglia-3.7.2/gmetad/export_helpers.c:353:2: warning:inconclusive: The buffer 'final' may not be null-terminated after the call to strncpy(). [terminateStrncpy] ganglia-3.7.2/gmetad/export_helpers.c:354:2: warning:inconclusive: The buffer 'path_cp' may not be null-terminated after the call to strncpy(). [terminateStrncpy] ganglia-3.7.2/gmetad/export_helpers.c:362:4: warning:inconclusive: The buffer 'path_cp' may not be null-terminated after the call to strncpy(). [terminateStrncpy] ganglia-3.7.2/gmetad/export_helpers.c:70:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] ganglia-3.7.2/gmetad/export_helpers.c:177:14: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] ganglia-3.7.2/gmetad/export_helpers.c:219:18: warning: Either the condition 'carbon_socket<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] ganglia-3.7.2/gmetad/export_helpers.c:216:25: note: Assuming that condition 'carbon_socket<0' is not redundant ganglia-3.7.2/gmetad/export_helpers.c:219:18: note: Invalid argument ganglia-3.7.2/gmetad/export_helpers.c:373:21: warning: Either the condition 'host' is redundant or there is possible null pointer dereference: host. [nullPointerRedundantCheck] ganglia-3.7.2/gmetad/export_helpers.c:410:8: note: Assuming that condition 'host' is not redundant ganglia-3.7.2/gmetad/export_helpers.c:373:21: note: Null pointer dereference ganglia-3.7.2/gmetad/export_helpers.c:375:23: warning: Either the condition 'source' is redundant or there is possible null pointer dereference: source. [nullPointerRedundantCheck] ganglia-3.7.2/gmetad/export_helpers.c:395:8: note: Assuming that condition 'source' is not redundant ganglia-3.7.2/gmetad/export_helpers.c:375:23: note: Null pointer dereference ganglia-3.7.2/gmetad/export_helpers.c:377:26: warning: Either the condition 'metric' is redundant or there is possible null pointer dereference: metric. [nullPointerRedundantCheck] ganglia-3.7.2/gmetad/export_helpers.c:433:8: note: Assuming that condition 'metric' is not redundant ganglia-3.7.2/gmetad/export_helpers.c:377:26: note: Null pointer dereference ganglia-3.7.2/gmetad/rrd_helpers.c:126:14: style: Local variable 'r' shadows outer variable [shadowVariable] ganglia-3.7.2/gmetad/rrd_helpers.c:49:18: note: Shadowed declaration ganglia-3.7.2/gmetad/rrd_helpers.c:126:14: note: Shadow variable ganglia-3.7.2/gmetad/gmetad.c:454:21: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] ganglia-3.7.2/gmetad/gmetad.c:464:21: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] ganglia-3.7.2/gmetad/gmetad.c:594:75: style: Obsolescent function 'rand_r' called. It is recommended to use 'rand' instead. [prohibitedrand_rCalled] ganglia-3.7.2/gmetad/gmetad.c:82:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ganglia-3.7.2/gmetad/gmetad.c:82:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] type_hash.gperf:30:24: style: Variable 'asso_values' can be declared as const array [constVariable] xml_hash.gperf:26:24: style: Variable 'asso_values' can be declared as const array [constVariable] xml_hash.gperf:69:24: style: Variable 'lengthtable' can be declared as const array [constVariable] ganglia-3.7.2/gmetric/cmdline.c:786:10: warning: Identical condition and return expression 'error', return value is always 0 [identicalConditionAfterEarlyExit] ganglia-3.7.2/gmetric/cmdline.c:533:15: note: 'error' is assigned value '0' here. ganglia-3.7.2/gmetric/cmdline.c:783:8: note: If condition 'error' is true, the function will return/exit ganglia-3.7.2/gmetric/cmdline.c:786:10: note: Returning identical expression 'error' ganglia-3.7.2/gmond/cmdline.c:666:10: warning: Identical condition and return expression 'error', return value is always 0 [identicalConditionAfterEarlyExit] ganglia-3.7.2/gmond/cmdline.c:486:15: note: 'error' is assigned value '0' here. ganglia-3.7.2/gmond/cmdline.c:663:8: note: If condition 'error' is true, the function will return/exit ganglia-3.7.2/gmond/cmdline.c:666:10: note: Returning identical expression 'error' ganglia-3.7.2/gmetad/process_xml.c:1102:16: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmond/g25_config.c:272:3: warning: %hd in format string (no. 2) requires 'short' but the argument type is 'unsigned short'. [invalidPrintfArgType_sint] ganglia-3.7.2/gmetad/process_xml.c:1106:16: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmond/g25_config.c:281:3: warning: %hd in format string (no. 2) requires 'short' but the argument type is 'unsigned short'. [invalidPrintfArgType_sint] ganglia-3.7.2/gmetad/process_xml.c:1110:16: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmond/g25_config.c:290:3: warning: %hd in format string (no. 1) requires 'short' but the argument type is 'unsigned short'. [invalidPrintfArgType_sint] ganglia-3.7.2/gmetad/process_xml.c:1114:16: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmond/g25_config.c:363:8: error: Resource leak: fp [resourceLeak] ganglia-3.7.2/gmetad/process_xml.c:1118:16: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmond/g25_config.c:371:10: error: Resource leak: fp [resourceLeak] ganglia-3.7.2/gmetad/process_xml.c:1122:16: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmond/g25_config.c:376:4: error: Resource leak: fp [resourceLeak] ganglia-3.7.2/gmetad/process_xml.c:1126:16: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmetad/process_xml.c:1130:16: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmetad/process_xml.c:1134:16: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmetad/process_xml.c:1329:16: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmetad/process_xml.c:1333:16: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmond/modules/perl/mod_perl.c:402:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ganglia-3.7.2/gmond/modules/python/mod_python.c:606:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ganglia-3.7.2/gmond/modules/status/mod_gstatus.c:129:12: error: Uninitialized variable: val [legacyUninitvar] ganglia-3.7.2/gstat/cmdline.c:634:10: warning: Identical condition and return expression 'error', return value is always 0 [identicalConditionAfterEarlyExit] ganglia-3.7.2/gstat/cmdline.c:471:15: note: 'error' is assigned value '0' here. ganglia-3.7.2/gstat/cmdline.c:631:8: note: If condition 'error' is true, the function will return/exit ganglia-3.7.2/gstat/cmdline.c:634:10: note: Returning identical expression 'error' ganglia-3.7.2/gmond/gmond.c:1024:15: warning: Either the condition 'spoofIP' is redundant or there is possible null pointer dereference: buff. [nullPointerRedundantCheck] ganglia-3.7.2/gmond/gmond.c:1028:15: note: Assuming that condition 'spoofIP' is not redundant ganglia-3.7.2/gmond/gmond.c:1025:17: note: Assignment to 'spoofIP=buff' ganglia-3.7.2/gmond/gmond.c:1024:15: note: Null pointer dereference ganglia-3.7.2/gmond/gmond.c:1332:16: warning: Either the condition '!message' is redundant or there is possible null pointer dereference: message. [nullPointerRedundantCheck] ganglia-3.7.2/gmond/gmond.c:1347:15: note: Assuming that condition '!message' is not redundant ganglia-3.7.2/gmond/gmond.c:1332:16: note: Null pointer dereference ganglia-3.7.2/gmond/gmond.c:1334:22: warning: Either the condition '!message' is redundant or there is possible null pointer dereference: message. [nullPointerRedundantCheck] ganglia-3.7.2/gmond/gmond.c:1347:15: note: Assuming that condition '!message' is not redundant ganglia-3.7.2/gmond/gmond.c:1334:22: note: Null pointer dereference ganglia-3.7.2/gmond/gmond.c:1026:36: warning: Either the condition 'spoofIP' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] ganglia-3.7.2/gmond/gmond.c:1028:15: note: Assuming that condition 'spoofIP' is not redundant ganglia-3.7.2/gmond/gmond.c:1025:15: note: spoofIP is assigned 'buff' here. ganglia-3.7.2/gmond/gmond.c:1026:36: note: Null pointer addition ganglia-3.7.2/gmond/gmond.c:1492:10: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] ganglia-3.7.2/gmond/gmond.c:1487:10: note: status is assigned ganglia-3.7.2/gmond/gmond.c:1492:10: note: status is overwritten ganglia-3.7.2/gmond/gmond.c:1495:10: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] ganglia-3.7.2/gmond/gmond.c:1492:10: note: status is assigned ganglia-3.7.2/gmond/gmond.c:1495:10: note: status is overwritten ganglia-3.7.2/gmond/gmond.c:3002:25: style: Local variable 'i' shadows outer variable [shadowVariable] ganglia-3.7.2/gmond/gmond.c:2917:9: note: Shadowed declaration ganglia-3.7.2/gmond/gmond.c:3002:25: note: Shadow variable ganglia-3.7.2/gmond/gmond.c:3197:21: style: Local variable 'val' shadows outer variable [shadowVariable] ganglia-3.7.2/gmond/gmond.c:3171:13: note: Shadowed declaration ganglia-3.7.2/gmond/gmond.c:3197:21: note: Shadow variable ganglia-3.7.2/gmond/gmond.c:234:66: style: Parameter 'len' can be declared as pointer to const [constParameter] ganglia-3.7.2/lib/apr_net.h:13:1: error: There is an unknown macro here somewhere. Configuration is required. If APR_DECLARE is a macro then please configure it. [unknownMacro] ganglia-3.7.2/lib/become_a_nobody.c:19:9: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] ganglia-3.7.2/gmond/gmond.c:312:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/error_msg.c:89:4: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] ganglia-3.7.2/lib/ganglia.c:159:11: style: Condition 'e==NULL' is always false [knownConditionTrueFalse] ganglia-3.7.2/lib/ganglia.c:165:10: error: Memory leak: e2 [memleak] ganglia-3.7.2/lib/gm_protocol_xdr.c:14:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:24:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:112:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:126:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:138:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:148:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:162:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:176:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:190:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:204:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:218:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:232:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:246:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:256:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:278:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/gm_protocol_xdr.c:320:20: style: Unused variable: buf [unusedVariable] ganglia-3.7.2/lib/hash.c:401:28: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] ganglia-3.7.2/lib/hash.c:399:68: note: outer condition: bucket->key!=NULL ganglia-3.7.2/lib/hash.c:401:28: note: opposite inner condition: bucket->key==NULL ganglia-3.7.2/lib/hash.c:422:28: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] ganglia-3.7.2/lib/hash.c:420:68: note: outer condition: bucket->key!=NULL ganglia-3.7.2/lib/hash.c:422:28: note: opposite inner condition: bucket->key==NULL ganglia-3.7.2/gmond/sflow.c:611:14: style: Variable 'jvm_vstate' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmond/sflow.c:613:13: style: Variable 'jvm_vcpus' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/inetaddr.c:53:25: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] ganglia-3.7.2/lib/inetaddr.c:80:8: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] ganglia-3.7.2/gmond/sflow.c:1168:15: style: Variable 'sflowdsi[0]' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/dotconf.c:1003:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ganglia-3.7.2/lib/dotconf.c:1164:21: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ganglia-3.7.2/lib/dotconf.c:399:14: style: Condition '!sq' is always true [knownConditionTrueFalse] ganglia-3.7.2/lib/dotconf.c:397:9: note: Assuming that condition 'sq' is not redundant ganglia-3.7.2/lib/dotconf.c:399:14: note: Condition '!sq' is always true ganglia-3.7.2/lib/dotconf.c:407:14: style: Condition '!dq' is always true [knownConditionTrueFalse] ganglia-3.7.2/lib/dotconf.c:405:9: note: Assuming that condition 'dq' is not redundant ganglia-3.7.2/lib/dotconf.c:407:14: note: Condition '!dq' is always true ganglia-3.7.2/lib/dotconf.c:211:3: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] ganglia-3.7.2/lib/dotconf.c:304:4: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] ganglia-3.7.2/lib/dotconf.c:1025:13: error: Return value of allocation function 'realloc' is not stored. [leakReturnValNotUsed] ganglia-3.7.2/lib/dotconf.c:1189:13: error: Return value of allocation function 'realloc' is not stored. [leakReturnValNotUsed] ganglia-3.7.2/lib/dotconf.c:328:23: style: Checking if unsigned expression 'configfile->size' is less than zero. [unsignedLessThanZero] ganglia-3.7.2/lib/dotconf.c:196:51: style:inconclusive: Function 'dotconf_warning' argument 2 names different: declaration 'level' definition 'type'. [funcArgNamesDifferent] ganglia-3.7.2/lib/dotconf.h:220:51: note: Function 'dotconf_warning' argument 2 names different: declaration 'level' definition 'type'. ganglia-3.7.2/lib/dotconf.c:196:51: note: Function 'dotconf_warning' argument 2 names different: declaration 'level' definition 'type'. ganglia-3.7.2/lib/dotconf.c:1047:26: error: Uninitialized variable: already_matched [legacyUninitvar] ganglia-3.7.2/lib/dotconf.c:629:15: style: Variable 'opt_idx' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/dotconf.c:837:17: style: Variable 'prefix_len' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/dotconf.c:838:16: style: Variable 'tmp_count' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/dotconf.c:839:12: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/dotconf.c:980:24: style: Variable 'dirptr' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/dotconf.c:995:15: style: Variable 'name_len' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/dotconf.c:997:18: style: Variable 'match_state' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/dotconf.c:1118:24: style: Variable 'dirptr' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/dotconf.c:1129:12: style: Variable 'sub' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/dotconf.c:1136:15: style: Variable 'name_len' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/dotconf.c:1138:18: style: Variable 'match_state' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/dotconf.c:1140:16: style: Variable 'sub_count' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/lib/update_pidfile.c:42:8: error: Resource leak: file [resourceLeak] ganglia-3.7.2/libmetrics/cygwin/metrics.c:62:5: style: Obsolescent function 'ftime' called. It is recommended to use 'time', 'gettimeofday' or 'clock_gettime' instead. [prohibitedftimeCalled] ganglia-3.7.2/libmetrics/cygwin/metrics.c:882:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] ganglia-3.7.2/libmetrics/cygwin/metrics.c:57:6: error: Common realloc mistake: 'iftable' nulled but not freed upon failure [memleakOnRealloc] ganglia-3.7.2/libmetrics/cygwin/metrics.c:289:10: style: Unused variable: p [unusedVariable] ganglia-3.7.2/libmetrics/cygwin/metrics.c:725:18: style: Variable 'cProcesses' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/cygwin/metrics.c:727:18: style: Variable 'cProcesses' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/aix/metrics.c:246:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/aix/metrics.c:263:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/aix/metrics.c:276:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/aix/metrics.c:52:14: style: struct member 'product::filler' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:53:14: style: struct member 'product::lpp_name' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:54:14: style: struct member 'product::comp_id' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:55:15: style: struct member 'product::update' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:56:14: style: struct member 'product::cp_flag' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:57:14: style: struct member 'product::fesn' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:58:15: style: struct member 'product::name' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:59:15: style: struct member 'product::state' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:64:14: style: struct member 'product::ptf' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:65:15: style: struct member 'product::media' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:66:14: style: struct member 'product::sceded_by' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:67:15: style: struct member 'product::fixinfo' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:68:15: style: struct member 'product::prereq' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:69:15: style: struct member 'product::description' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:70:15: style: struct member 'product::supersedes' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/aix/metrics.c:744:20: style: Variable 'min' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/darwin/metrics.c:1022:25: error: Common realloc mistake: 'seen' nulled but not freed upon failure [memleakOnRealloc] ganglia-3.7.2/libmetrics/darwin/metrics.c:1023:25: error: Common realloc mistake: 'lastcount' nulled but not freed upon failure [memleakOnRealloc] ganglia-3.7.2/libmetrics/darwin/metrics.c:205:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/darwin/metrics.c:226:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/darwin/metrics.c:248:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/darwin/metrics.c:262:72: error: Uninitialized variable: cpuStats [uninitvar] ganglia-3.7.2/libmetrics/darwin/metrics.c:266:13: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/darwin/metrics.c:298:72: error: Uninitialized variable: cpuStats [uninitvar] ganglia-3.7.2/libmetrics/darwin/metrics.c:302:13: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/darwin/metrics.c:334:72: error: Uninitialized variable: cpuStats [uninitvar] ganglia-3.7.2/libmetrics/darwin/metrics.c:338:13: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/darwin/metrics.c:370:72: error: Uninitialized variable: cpuStats [uninitvar] ganglia-3.7.2/libmetrics/darwin/metrics.c:374:13: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/darwin/metrics.c:406:72: error: Uninitialized variable: cpuStats [uninitvar] ganglia-3.7.2/libmetrics/darwin/metrics.c:410:13: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/darwin/metrics.c:803:39: error: Uninitialized variable: vm_stat [uninitvar] ganglia-3.7.2/libmetrics/darwin/metrics.c:195:11: style: Variable 'prefix' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/darwin/metrics.c:216:11: style: Variable 'prefix' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/darwin/metrics.c:237:11: style: Variable 'prefix' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/darwin/metrics.c:640:29: style: Unused variable: port [unusedVariable] ganglia-3.7.2/libmetrics/darwin/metrics.c:644:29: style: Unused variable: a_task [unusedVariable] ganglia-3.7.2/libmetrics/darwin/metrics.c:645:29: style: Unused variable: ti [unusedVariable] ganglia-3.7.2/libmetrics/darwin/metrics.c:797:11: style: Unused variable: host_port [unusedVariable] ganglia-3.7.2/libmetrics/darwin/metrics.c:861:20: style: Variable 'min' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/dragonfly/metrics.c:291:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] ganglia-3.7.2/libmetrics/dragonfly/metrics.c:292:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] ganglia-3.7.2/libmetrics/dragonfly/metrics.c:295:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] ganglia-3.7.2/libmetrics/freebsd/metrics.c:355:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] ganglia-3.7.2/libmetrics/dragonfly/metrics.c:1012:4: error: Common realloc mistake: 'seen' nulled but not freed upon failure [memleakOnRealloc] ganglia-3.7.2/libmetrics/freebsd/metrics.c:356:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] ganglia-3.7.2/libmetrics/dragonfly/metrics.c:1013:4: error: Common realloc mistake: 'lastcount' nulled but not freed upon failure [memleakOnRealloc] ganglia-3.7.2/libmetrics/dragonfly/metrics.c:65:17: style: struct member 'xswdev::xsw_flags' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/dragonfly/metrics.c:584:9: style: Variable 'n' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/dragonfly/metrics.c:759:9: style: Variable 'fstype' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/freebsd/metrics.c:1198:4: error: Common realloc mistake: 'seen' nulled but not freed upon failure [memleakOnRealloc] ganglia-3.7.2/libmetrics/freebsd/metrics.c:1199:4: error: Common realloc mistake: 'lastcount' nulled but not freed upon failure [memleakOnRealloc] ganglia-3.7.2/libmetrics/freebsd/metrics.c:75:17: style: struct member 'xswdev::xsw_flags' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/freebsd/metrics.c:670:9: style: Variable 'n' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/freebsd/metrics.c:897:9: style: Variable 'fstype' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/get_ifi_info.c:156:15: style: The comparison '_all_virt == 0' is always true. [knownConditionTrueFalse] ganglia-3.7.2/libmetrics/get_ifi_info.c:62:18: note: '_all_virt' is assigned value '0' here. ganglia-3.7.2/libmetrics/get_ifi_info.c:156:15: note: The comparison '_all_virt == 0' is always true. ganglia-3.7.2/libmetrics/hpux/metrics.c:175:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/hpux/metrics.c:192:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/hpux/metrics.c:213:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/irix/metrics.c:218:9: style: Variable 'size' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/irix/metrics.c:229:9: style: Variable 'size' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/irix/metrics.c:240:9: style: Variable 'size' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/mingw/metrics.c:70:5: style: Obsolescent function 'ftime' called. It is recommended to use 'time', 'gettimeofday' or 'clock_gettime' instead. [prohibitedftimeCalled] ganglia-3.7.2/libmetrics/mingw/metrics.c:65:6: error: Common realloc mistake: 'iftable' nulled but not freed upon failure [memleakOnRealloc] ganglia-3.7.2/libmetrics/mingw/metrics.c:629:11: style: struct member 'disk_t::total' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/mingw/metrics.c:630:11: style: struct member 'disk_t::avail' is never used. [unusedStructMember] ganglia-3.7.2/libmetrics/mingw/metrics.c:496:18: style: Variable 'cProcesses' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/mingw/metrics.c:498:18: style: Variable 'cProcesses' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/mingw/metrics.c:490:17: style: Unused variable: i [unusedVariable] ganglia-3.7.2/libmetrics/mingw/metrics.c:491:11: style: Unused variable: hProcess [unusedVariable] ganglia-3.7.2/libmetrics/mingw/metrics.c:492:9: style: Unused variable: bResult [unusedVariable] ganglia-3.7.2/libmetrics/openbsd/metrics.c:281:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] ganglia-3.7.2/libmetrics/openbsd/metrics.c:282:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] ganglia-3.7.2/libmetrics/openbsd/metrics.c:283:7: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] ganglia-3.7.2/libmetrics/openbsd/metrics.c:992:4: error: Common realloc mistake: 'seen' nulled but not freed upon failure [memleakOnRealloc] ganglia-3.7.2/libmetrics/openbsd/metrics.c:993:4: error: Common realloc mistake: 'lastcount' nulled but not freed upon failure [memleakOnRealloc] ganglia-3.7.2/libmetrics/openbsd/metrics.c:874:10: style: The comparison 'cnt == 0' is always true. [knownConditionTrueFalse] ganglia-3.7.2/libmetrics/openbsd/metrics.c:855:12: note: 'cnt' is assigned value '0' here. ganglia-3.7.2/libmetrics/openbsd/metrics.c:874:10: note: The comparison 'cnt == 0' is always true. ganglia-3.7.2/libmetrics/openbsd/metrics.c:440:11: style: Local variable 'kd' shadows outer variable [shadowVariable] ganglia-3.7.2/libmetrics/openbsd/metrics.c:77:16: note: Shadowed declaration ganglia-3.7.2/libmetrics/openbsd/metrics.c:440:11: note: Shadow variable ganglia-3.7.2/libmetrics/openbsd/metrics.c:459:11: style: Local variable 'kd' shadows outer variable [shadowVariable] ganglia-3.7.2/libmetrics/openbsd/metrics.c:77:16: note: Shadowed declaration ganglia-3.7.2/libmetrics/openbsd/metrics.c:459:11: note: Shadow variable ganglia-3.7.2/libmetrics/openbsd/metrics.c:222:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/openbsd/metrics.c:241:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/openbsd/metrics.c:262:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/openbsd/metrics.c:252:11: style: Variable 'prefix' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/openbsd/metrics.c:446:7: style: Variable 'kp' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/openbsd/metrics.c:757:9: style: Variable 'fstype' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/netbsd/metrics.c:291:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] ganglia-3.7.2/libmetrics/netbsd/metrics.c:292:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] ganglia-3.7.2/libmetrics/netbsd/metrics.c:1053:10: style: Condition 'cnt==0' is always true [knownConditionTrueFalse] ganglia-3.7.2/libmetrics/netbsd/metrics.c:1052:8: note: Assignment 'cnt=0', assigned value is 0 ganglia-3.7.2/libmetrics/netbsd/metrics.c:1053:10: note: Condition 'cnt==0' is always true ganglia-3.7.2/libmetrics/netbsd/metrics.c:1171:4: error: Common realloc mistake: 'seen' nulled but not freed upon failure [memleakOnRealloc] ganglia-3.7.2/libmetrics/netbsd/metrics.c:1172:4: error: Common realloc mistake: 'lastcount' nulled but not freed upon failure [memleakOnRealloc] ganglia-3.7.2/libmetrics/netbsd/metrics.c:236:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/netbsd/metrics.c:255:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/netbsd/metrics.c:276:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/netbsd/metrics.c:132:15: style: Variable 'len' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/netbsd/metrics.c:142:27: style: Variable 'cpu_speed' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/netbsd/metrics.c:266:11: style: Variable 'prefix' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/osf/metrics.c:353:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/osf/metrics.c:364:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/osf/metrics.c:375:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/osf/metrics.c:93:8: style: Variable 'dp' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/osf/metrics.c:88:19: style: Unused variable: change [unusedVariable] ganglia-3.7.2/libmetrics/osf/metrics.c:158:13: style: Variable 'alpha' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/osf/metrics.c:159:12: style: Variable 'beta' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/osf/metrics.c:125:25: style: Unused variable: last_refresh [unusedVariable] ganglia-3.7.2/libmetrics/osf/metrics.c:126:20: style: Unused variable: j [unusedVariable] ganglia-3.7.2/libmetrics/osf/metrics.c:243:8: style: Unused variable: memsize [unusedVariable] ganglia-3.7.2/libmetrics/osf/metrics.c:306:25: style: Unused variable: pmbuf [unusedVariable] ganglia-3.7.2/libmetrics/osf/metrics.c:349:9: style: Unused variable: size [unusedVariable] ganglia-3.7.2/libmetrics/osf/metrics.c:360:9: style: Unused variable: size [unusedVariable] ganglia-3.7.2/libmetrics/osf/metrics.c:371:9: style: Unused variable: size [unusedVariable] ganglia-3.7.2/libmetrics/linux/metrics.c:217:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] ganglia-3.7.2/libmetrics/linux/metrics.c:218:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] ganglia-3.7.2/libmetrics/linux/metrics.c:240:19: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] ganglia-3.7.2/libmetrics/linux/metrics.c:300:19: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] ganglia-3.7.2/libmetrics/linux/metrics.c:1377:14: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] ganglia-3.7.2/libmetrics/linux/metrics.c:1380:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] ganglia-3.7.2/libmetrics/linux/metrics.c:1383:13: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] ganglia-3.7.2/libmetrics/linux/metrics.c:1386:14: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] ganglia-3.7.2/libmetrics/linux/metrics.c:240:25: warning: Either the condition 'p!=0x00' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] ganglia-3.7.2/libmetrics/linux/metrics.c:230:24: note: Assuming that condition 'p!=0x00' is not redundant ganglia-3.7.2/libmetrics/linux/metrics.c:240:25: note: Null pointer dereference ganglia-3.7.2/libmetrics/linux/metrics.c:300:26: warning: Either the condition 'p' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] ganglia-3.7.2/libmetrics/linux/metrics.c:242:19: note: Assuming that condition 'p' is not redundant ganglia-3.7.2/libmetrics/linux/metrics.c:300:26: note: Null pointer dereference ganglia-3.7.2/libmetrics/linux/metrics.c:282:25: style: Variable 'rbo' is reassigned a value before the old one has been used. [redundantAssignment] ganglia-3.7.2/libmetrics/linux/metrics.c:279:49: note: rbo is assigned ganglia-3.7.2/libmetrics/linux/metrics.c:282:25: note: rbo is overwritten ganglia-3.7.2/libmetrics/linux/metrics.c:1268:17: style: Local variable 'hashval' shadows outer function [shadowFunction] ganglia-3.7.2/libmetrics/linux/metrics.c:120:21: note: Shadowed declaration ganglia-3.7.2/libmetrics/linux/metrics.c:1268:17: note: Shadow variable ganglia-3.7.2/libmetrics/linux/metrics.c:1279:17: style: Local variable 'hashval' shadows outer function [shadowFunction] ganglia-3.7.2/libmetrics/linux/metrics.c:120:21: note: Shadowed declaration ganglia-3.7.2/libmetrics/linux/metrics.c:1279:17: note: Shadow variable ganglia-3.7.2/libmetrics/linux/metrics.c:628:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/linux/metrics.c:206:14: style: Variable 'rbi' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/linux/metrics.c:206:21: style: Variable 'rbo' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/linux/metrics.c:206:28: style: Variable 'rpi' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/linux/metrics.c:206:35: style: Variable 'rpo' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/linux/metrics.c:592:12: style: Variable 'val' is not assigned a value. [unassignedVariable] ganglia-3.7.2/libmetrics/tests/test-metrics.c:127:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ganglia-3.7.2/libmetrics/tests/test-metrics.c:133:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ganglia-3.7.2/libmetrics/solaris/metrics.c:1047:33: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] ganglia-3.7.2/libmetrics/solaris/metrics.c:322:36: style: Condition '(change=*new-*old)<0' is always false [knownConditionTrueFalse] ganglia-3.7.2/libmetrics/solaris/metrics.c:921:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/solaris/metrics.c:930:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/solaris/metrics.c:939:11: error: Uninitialized variable: val [uninitvar] ganglia-3.7.2/libmetrics/solaris/metrics.c:552:12: style: Variable 'beta' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/solaris/metrics.c:554:13: style: Variable 'alpha' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/solaris/metrics.c:555:12: style: Variable 'beta' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/libmetrics/solaris/metrics.c:606:20: style: Variable 'diff_cycles' is assigned a value that is never used. [unreadVariable] ganglia-3.7.2/gmetad/server.c:1031:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] ganglia-3.7.2/gmetad/server.c:246:14: style: Condition '!rc' is always true [knownConditionTrueFalse] ganglia-3.7.2/gmetad/server.c:244:9: note: Assignment 'rc=0', assigned value is 0 ganglia-3.7.2/gmetad/server.c:246:14: note: Condition '!rc' is always true ganglia-3.7.2/gmetad/server.c:308:14: style: Condition '!rc' is always true [knownConditionTrueFalse] ganglia-3.7.2/gmetad/server.c:306:9: note: Assignment 'rc=0', assigned value is 0 ganglia-3.7.2/gmetad/server.c:308:14: note: Condition '!rc' is always true ganglia-3.7.2/gmetad/server.c:886:54: style: Condition 'strcmp(metrics[i].name,"cpu_system")==0' is always false [knownConditionTrueFalse] ganglia-3.7.2/gmetad/server.c:843:23: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ganglia-3.7.2/gmetad/server.c:931:31: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ganglia-3.7.2/gmetad/server.c:937:31: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] ganglia-3.7.2/gmetad/server.c:422:7: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] ganglia-3.7.2/gmetad/server.c:419:7: note: rc is assigned ganglia-3.7.2/gmetad/server.c:422:7: note: rc is overwritten ganglia-3.7.2/gmetad/server.c:1013:11: style: Local variable 'val' shadows outer variable [shadowVariable] ganglia-3.7.2/gmetad/server.c:659:12: note: Shadowed declaration ganglia-3.7.2/gmetad/server.c:1013:11: note: Shadow variable ganglia-3.7.2/gmetad/server.c:1139:22: style: Parameter 'arg' can be declared as pointer to const [constParameter] ganglia-3.7.2/gmetad/server.c:1150:19: style: Variable 'now' is assigned a value that is never used. [unreadVariable] diff: head ganglia-3.7.2/gmetad/server.c:1139:22: style: Parameter 'arg' can be declared as pointer to const [constParameter] 2.8 ganglia-3.7.2/gmetad/server.c:1139:22: style: Parameter 'arg' can be declared with const [constParameter] head ganglia-3.7.2/gmond/gmond.c:234:66: style: Parameter 'len' can be declared as pointer to const [constParameter] 2.8 ganglia-3.7.2/gmond/gmond.c:234:66: style: Parameter 'len' can be declared with const [constParameter] head type_hash.gperf:30:24: style: Variable 'asso_values' can be declared as const array [constVariable] 2.8 type_hash.gperf:30:24: style: Variable 'asso_values' can be declared with const [constVariable] head xml_hash.gperf:26:24: style: Variable 'asso_values' can be declared as const array [constVariable] 2.8 xml_hash.gperf:26:24: style: Variable 'asso_values' can be declared with const [constVariable] head xml_hash.gperf:69:24: style: Variable 'lengthtable' can be declared as const array [constVariable] 2.8 xml_hash.gperf:69:24: style: Variable 'lengthtable' can be declared with const [constVariable] DONE