2022-06-28 19:25 ftp://ftp.de.debian.org/debian/pool/main/i/indent/indent_2.2.12.orig.tar.xz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j1 platform: Linux-5.4.0-121-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0 cppcheck: head 2.8 head-info: 2223cd2 (2022-06-28 14:02:02 +0200) count: 388 388 elapsed-time: 84.7 126.5 head-timing-info: Tokenizer::simplifyTokens1: 26.9509s (avg. 0.0972958s - 277 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 25.965s (avg. 0.096524s - 269 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.586062s (avg. 0.00217867s - 269 result(s)) Tokenizer::createTokens: 0.253733s (avg. 0.000860112s - 295 result(s)) Tokenizer::simplifyTokens1::setValueType: 0.11138s (avg. 0.000414052s - 269 result(s)) Overall time: 54.3382s old-timing-info: Tokenizer::simplifyTokens1: 40.761s (avg. 0.147152s - 277 result(s)) Tokenizer::simplifyTokens1::ValueFlow: 39.8208s (avg. 0.148033s - 269 result(s)) Tokenizer::simplifyTokens1::createSymbolDatabase: 0.55803s (avg. 0.00207446s - 269 result(s)) Tokenizer::createTokens: 0.254303s (avg. 0.000862044s - 295 result(s)) Tokenizer::simplifyTokens1::setValueType: 0.098096s (avg. 0.000364669s - 269 result(s)) Overall time: 81.9489s head results: indent-2.2.12/intl/bindtextdom.c:230:12: style: Local variable 'len' shadows outer variable [shadowVariable] indent-2.2.12/intl/bindtextdom.c:202:14: note: Shadowed declaration indent-2.2.12/intl/bindtextdom.c:230:12: note: Shadow variable indent-2.2.12/intl/bindtextdom.c:259:15: style: Local variable 'len' shadows outer variable [shadowVariable] indent-2.2.12/intl/bindtextdom.c:202:14: note: Shadowed declaration indent-2.2.12/intl/bindtextdom.c:259:15: note: Shadow variable indent-2.2.12/intl/dcigettext.c:855:19: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] indent-2.2.12/intl/dcigettext.c:640:14: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] indent-2.2.12/intl/dcigettext.c:689:39: style: Redundant condition: If 'EXPR == ':'', the comparison 'EXPR != '\0'' is always true. [redundantCondition] indent-2.2.12/intl/dcigettext.c:485:25: style:inconclusive: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] indent-2.2.12/intl/gettextP.h:78:46: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. indent-2.2.12/intl/dcigettext.c:485:25: note: Function 'libintl_dcigettext' argument 1 names different: declaration '__domainname' definition 'domainname'. indent-2.2.12/intl/dcigettext.c:485:49: style:inconclusive: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. [funcArgNamesDifferent] indent-2.2.12/intl/gettextP.h:79:18: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. indent-2.2.12/intl/dcigettext.c:485:49: note: Function 'libintl_dcigettext' argument 2 names different: declaration '__msgid1' definition 'msgid1'. indent-2.2.12/intl/dcigettext.c:485:69: style:inconclusive: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. [funcArgNamesDifferent] indent-2.2.12/intl/gettextP.h:79:40: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. indent-2.2.12/intl/dcigettext.c:485:69: note: Function 'libintl_dcigettext' argument 3 names different: declaration '__msgid2' definition 'msgid2'. indent-2.2.12/intl/dcigettext.c:486:10: style:inconclusive: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. [funcArgNamesDifferent] indent-2.2.12/intl/gettextP.h:80:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. indent-2.2.12/intl/dcigettext.c:486:10: note: Function 'libintl_dcigettext' argument 4 names different: declaration '__plural' definition 'plural'. indent-2.2.12/intl/dcigettext.c:486:36: style:inconclusive: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. [funcArgNamesDifferent] indent-2.2.12/intl/gettextP.h:80:38: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. indent-2.2.12/intl/dcigettext.c:486:36: note: Function 'libintl_dcigettext' argument 5 names different: declaration '__n' definition 'n'. indent-2.2.12/intl/dcigettext.c:486:43: style:inconclusive: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. [funcArgNamesDifferent] indent-2.2.12/intl/gettextP.h:81:10: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. indent-2.2.12/intl/dcigettext.c:486:43: note: Function 'libintl_dcigettext' argument 6 names different: declaration '__category' definition 'category'. indent-2.2.12/intl/tsearch.c:182:8: style: Local variable 'root' shadows outer variable [shadowVariable] indent-2.2.12/intl/dcigettext.c:275:14: note: Shadowed declaration indent-2.2.12/intl/tsearch.c:182:8: note: Shadow variable indent-2.2.12/intl/tsearch.c:282:12: style: Local variable 'root' shadows outer variable [shadowVariable] indent-2.2.12/intl/dcigettext.c:275:14: note: Shadowed declaration indent-2.2.12/intl/tsearch.c:282:12: note: Shadow variable indent-2.2.12/intl/tsearch.c:343:12: style: Local variable 'root' shadows outer variable [shadowVariable] indent-2.2.12/intl/dcigettext.c:275:14: note: Shadowed declaration indent-2.2.12/intl/tsearch.c:343:12: note: Shadow variable indent-2.2.12/intl/tsearch.c:368:8: style: Local variable 'root' shadows outer variable [shadowVariable] indent-2.2.12/intl/dcigettext.c:275:14: note: Shadowed declaration indent-2.2.12/intl/tsearch.c:368:8: note: Shadow variable indent-2.2.12/intl/tsearch.c:618:14: style: Local variable 'root' shadows outer variable [shadowVariable] indent-2.2.12/intl/dcigettext.c:275:14: note: Shadowed declaration indent-2.2.12/intl/tsearch.c:618:14: note: Shadow variable indent-2.2.12/intl/tsearch.c:641:14: style: Local variable 'root' shadows outer variable [shadowVariable] indent-2.2.12/intl/dcigettext.c:275:14: note: Shadowed declaration indent-2.2.12/intl/tsearch.c:641:14: note: Shadow variable indent-2.2.12/intl/finddomain.c:59:30: style:inconclusive: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. [funcArgNamesDifferent] indent-2.2.12/intl/gettextP.h:255:54: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. indent-2.2.12/intl/finddomain.c:59:30: note: Function '_nl_find_domain' argument 1 names different: declaration '__dirname' definition 'dirname'. indent-2.2.12/intl/finddomain.c:59:45: style:inconclusive: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. [funcArgNamesDifferent] indent-2.2.12/intl/gettextP.h:255:71: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. indent-2.2.12/intl/finddomain.c:59:45: note: Function '_nl_find_domain' argument 2 names different: declaration '__locale' definition 'locale'. indent-2.2.12/intl/finddomain.c:60:16: style:inconclusive: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. [funcArgNamesDifferent] indent-2.2.12/intl/gettextP.h:256:19: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. indent-2.2.12/intl/finddomain.c:60:16: note: Function '_nl_find_domain' argument 3 names different: declaration '__domainname' definition 'domainname'. indent-2.2.12/intl/finddomain.c:60:44: style:inconclusive: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] indent-2.2.12/intl/gettextP.h:257:23: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. indent-2.2.12/intl/finddomain.c:60:44: note: Function '_nl_find_domain' argument 4 names different: declaration '__domainbinding' definition 'domainbinding'. indent-2.2.12/intl/loadmsgcat.c:861:12: style: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. [knownConditionTrueFalse] indent-2.2.12/intl/loadmsgcat.c:791:33: note: 'data' is assigned value '(struct mo_file_header*)-1' here. indent-2.2.12/intl/loadmsgcat.c:861:12: note: The comparison 'data == (struct mo_file_header*)-1' is always true because 'data' and '(struct mo_file_header*)-1' represent the same value. indent-2.2.12/intl/loadmsgcat.c:780:42: style:inconclusive: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. [funcArgNamesDifferent] indent-2.2.12/intl/gettextP.h:259:47: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. indent-2.2.12/intl/loadmsgcat.c:780:42: note: Function '_nl_load_domain' argument 1 names different: declaration '__domain' definition 'domain_file'. indent-2.2.12/intl/loadmsgcat.c:781:20: style:inconclusive: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. [funcArgNamesDifferent] indent-2.2.12/intl/gettextP.h:260:25: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. indent-2.2.12/intl/loadmsgcat.c:781:20: note: Function '_nl_load_domain' argument 2 names different: declaration '__domainbinding' definition 'domainbinding'. indent-2.2.12/intl/localcharset.c:442:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] indent-2.2.12/intl/localcharset.c:433:24: note: Assignment 'locale=NULL', assigned value is 0 indent-2.2.12/intl/localcharset.c:442:14: note: Condition 'locale==NULL' is always true indent-2.2.12/intl/localealias.c:173:41: error: Uninitialized variable: &item.value [uninitvar] plural.c:1160:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] plural.c:1416:15: style: Condition 'yyn==0' is always true [knownConditionTrueFalse] plural.c:1413:16: note: Assignment 'yyn=yytable[yyn]', assigned value is greater than -1 plural.c:1414:11: note: Assuming that condition 'yyn<=0' is not redundant plural.c:1416:15: note: Condition 'yyn==0' is always true plural.y:156:21: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:158:52: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:164:96: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:172:71: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:180:72: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:188:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:196:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:204:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:212:89: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:220:48: style: Same expression on both sides of '-'. [duplicateExpression] plural.y:237:42: style: Same expression on both sides of '-'. [duplicateExpression] indent-2.2.12/man/texinfo2man.c:293:16: style: Variable 'line_no' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/backup.c:166:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] indent-2.2.12/regression/input/backup.c:323:20: style: Variable 'p' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/backup.c:325:9: style: Unused variable: new_backup_name [unusedVariable] indent-2.2.12/regression/input/bad-break.c:3:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/bad-comment.c:3:21: style: Unused variable: cmtscfg [unusedVariable] indent-2.2.12/regression/input/braces.c:11:9: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/braces.c:5:11: style: Condition 'i==6' is always false [knownConditionTrueFalse] indent-2.2.12/regression/input/braces.c:4:9: note: Assignment 'i=10', assigned value is 10 indent-2.2.12/regression/input/braces.c:5:11: note: Condition 'i==6' is always false indent-2.2.12/regression/input/braces.c:3:9: style: Local variable 'i' shadows outer argument [shadowArgument] indent-2.2.12/regression/input/braces.c:2:21: note: Shadowed declaration indent-2.2.12/regression/input/braces.c:3:9: note: Shadow variable indent-2.2.12/regression/input/braces.c:23:9: style: struct member 'Anonymous0::i' is never used. [unusedStructMember] indent-2.2.12/regression/input/braces.c:24:9: style: struct member 'Anonymous0::j' is never used. [unusedStructMember] indent-2.2.12/regression/input/braces.c:7:10: style: Variable 'i' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/braces.c:11:10: style: Variable 'i' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/bug-gnu-33364.c:1:15: warning: Return value of function malloc() is not used. [ignoredReturnValue] indent-2.2.12/regression/input/bug-gnu-33364.c:1:15: error: Return value of allocation function 'malloc' is not stored. [leakReturnValNotUsed] indent-2.2.12/regression/input/bug-gnu-33364.c:1:15: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] indent-2.2.12/regression/input/bug-hp.c:2:12: style: Unused variable: valfnc [unusedVariable] indent-2.2.12/regression/input/bug206785.c:4:12: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [syntaxError] indent-2.2.12/regression/input/c99-compound-literal.c:1:5: error: syntax error [syntaxError] indent-2.2.12/regression/input/case.c:15:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/class-func.cc:4:5: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] indent-2.2.12/regression/input/comment-break.c:7:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/comment-break.c:14:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/comments.c:26:9: error: syntax error [syntaxError] indent-2.2.12/regression/input/comments1.c:56:7: style: Unused variable: i [unusedVariable] indent-2.2.12/regression/input/comments2.c:3:10: style: Variable 'lc' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/comments2.c:4:8: style: Variable 'ch' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/comments2.c:5:8: style: Variable 'co' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/const.c:12:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/decl_block.c:3:9: style: Local variable 'a' shadows outer argument [shadowArgument] indent-2.2.12/regression/input/decl_block.c:1:15: note: Shadowed declaration indent-2.2.12/regression/input/decl_block.c:3:9: note: Shadow variable indent-2.2.12/regression/input/decl_block.c:4:9: style: Local variable 'b' shadows outer argument [shadowArgument] indent-2.2.12/regression/input/decl_block.c:1:26: note: Shadowed declaration indent-2.2.12/regression/input/decl_block.c:4:9: note: Shadow variable indent-2.2.12/regression/input/decl_block.c:3:9: style: Unused variable: a [unusedVariable] indent-2.2.12/regression/input/decl_block.c:4:9: style: Unused variable: b [unusedVariable] indent-2.2.12/regression/input/elif.c:4:10: style: Unused variable: j [unusedVariable] indent-2.2.12/regression/input/elif.c:4:13: style: Unused variable: k [unusedVariable] indent-2.2.12/regression/input/else-comment-2.c:17:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/else-comment-2.c:8:9: style: Condition 'a==2' is always true [knownConditionTrueFalse] indent-2.2.12/regression/input/else-comment-2.c:5:9: note: Assignment 'a=2', assigned value is 2 indent-2.2.12/regression/input/else-comment-2.c:8:9: note: Condition 'a==2' is always true indent-2.2.12/regression/input/else-comment-2.c:4:9: style: The comparison 'a == 1' is always true. [knownConditionTrueFalse] indent-2.2.12/regression/input/else-comment-2.c:3:11: note: 'a' is assigned value '1' here. indent-2.2.12/regression/input/else-comment-2.c:4:9: note: The comparison 'a == 1' is always true. indent-2.2.12/regression/input/else-comment-2.c:16:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/else-comment.c:5:53: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/input/else-comment.c:7:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:5:53: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:15:42: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/input/else-comment.c:17:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:15:42: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:23:53: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/input/else-comment.c:25:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:23:53: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:31:8: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/input/else-comment.c:33:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:31:8: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:42:53: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/input/else-comment.c:46:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:42:53: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:55:42: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/input/else-comment.c:59:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:55:42: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:69:53: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/input/else-comment.c:73:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:69:53: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:83:8: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/input/else-comment.c:87:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-comment.c:83:8: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/input/else-if.c:13:70: style: Expression is always false because 'else if' condition matches previous condition at line 10. [multiCondition] indent-2.2.12/regression/input/else-if.c:8:13: style: Unused variable: i [unusedVariable] indent-2.2.12/regression/input/gettext-strings.c:1:17: style: Same expression on both sides of '=='. [duplicateExpression] indent-2.2.12/regression/input/gettext-strings.c:3:11: style: Same expression on both sides of '=='. [duplicateExpression] indent-2.2.12/regression/input/ind-star.c:8:7: style: Variable 'code' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/indent.c:442:5: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/indent.c:460:7: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/indent.c:538:7: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/indent.c:681:9: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/indent.c:695:5: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/indent.c:744:3: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/indent.c:825:3: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/indent.c:1132:6: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/indent.c:1160:5: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/indent.c:1201:7: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/indent.c:1236:3: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/indent.c:1281:3: error: Common realloc mistake: 'labbuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/indent.c:117:7: style: Local variable 'dec_ind' shadows outer variable [shadowVariable] indent-2.2.12/regression/input/indent.c:85:5: note: Shadowed declaration indent-2.2.12/regression/input/indent.c:117:7: note: Shadow variable indent-2.2.12/regression/input/indent.c:118:7: style: Local variable 'flushed_nl' shadows outer variable [shadowVariable] indent-2.2.12/regression/input/indent.c:95:5: note: Shadowed declaration indent-2.2.12/regression/input/indent.c:118:7: note: Shadow variable indent-2.2.12/regression/input/indent.c:119:7: style: Local variable 'force_nl' shadows outer variable [shadowVariable] indent-2.2.12/regression/input/indent.c:96:5: note: Shadowed declaration indent-2.2.12/regression/input/indent.c:119:7: note: Shadow variable indent-2.2.12/regression/input/indent.c:120:7: style: Local variable 'scase' shadows outer variable [shadowVariable] indent-2.2.12/regression/input/indent.c:100:5: note: Shadowed declaration indent-2.2.12/regression/input/indent.c:120:7: note: Shadow variable indent-2.2.12/regression/input/indent.c:121:7: style: Local variable 'sp_sw' shadows outer variable [shadowVariable] indent-2.2.12/regression/input/indent.c:103:5: note: Shadowed declaration indent-2.2.12/regression/input/indent.c:121:7: note: Shadow variable indent-2.2.12/regression/input/indent.c:129:7: style: Local variable 'last_token_ends_sp' shadows outer variable [shadowVariable] indent-2.2.12/regression/input/indent.c:82:5: note: Shadowed declaration indent-2.2.12/regression/input/indent.c:129:7: note: Shadow variable indent-2.2.12/regression/input/indent.c:131:7: style: Local variable 'squest' shadows outer variable [shadowVariable] indent-2.2.12/regression/input/indent.c:107:5: note: Shadowed declaration indent-2.2.12/regression/input/indent.c:131:7: note: Shadow variable indent-2.2.12/regression/input/indent.c:134:7: style: Local variable 'last_else' shadows outer variable [shadowVariable] indent-2.2.12/regression/input/indent.c:75:5: note: Shadowed declaration indent-2.2.12/regression/input/indent.c:134:7: note: Shadow variable indent-2.2.12/regression/input/indent.c:1506:19: style: Variable 'flushed_nl' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/indent.pro.c:5:3: error: Uninitialized variable: i [legacyUninitvar] indent-2.2.12/regression/input/indent.pro.c:6:3: error: Uninitialized variable: j [legacyUninitvar] indent-2.2.12/regression/input/indent.pro.c:5:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/indent.pro.c:6:5: style: Variable 'j' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/initializers.c:3:13: style: Variable 'c' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/initializers.c:7:13: style: Variable 'c' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/initializers.c:11:13: style: Variable 'c' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/io.c:757:7: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/io.c:765:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/io.c:501:11: error: Uninitialized variable: ch [uninitvar] indent-2.2.12/regression/input/io.c:491:28: note: Assuming condition is false indent-2.2.12/regression/input/io.c:501:11: note: Uninitialized variable: ch indent-2.2.12/regression/input/io.c:337:16: style: Variable 'cur_col' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/kr-proc-decls.c:15:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/kr.c:11:27: style: Local variable 'z' shadows outer variable [shadowVariable] indent-2.2.12/regression/input/kr.c:7:3: note: Shadowed declaration indent-2.2.12/regression/input/kr.c:11:27: note: Shadow variable indent-2.2.12/regression/input/kr.c:12:8: style: Variable 'z.x' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/kr.c:13:8: style: Variable 'z.y' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/lexi.c:90:24: style: Variable 'hash_table' can be declared as const array [constVariable] indent-2.2.12/regression/input/lexi.c:87:21: style: Parameter 'str' can be declared as pointer to const [constParameter] indent-2.2.12/regression/input/line-count.c:33:1: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] indent-2.2.12/regression/input/lshift.c:3:7: style: Unused variable: size [unusedVariable] indent-2.2.12/regression/input/meta-indent.c:6:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/meta-indent.c:6:13: style: Unused variable: data [unusedVariable] indent-2.2.12/regression/input/method.c:5:5: style: Unused variable: i [unusedVariable] indent-2.2.12/regression/input/nested.c:18:3: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] indent-2.2.12/regression/input/nested.c:5:7: style: Unused variable: baz [unusedVariable] indent-2.2.12/regression/input/newlined-parms.c:6:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/no-forced-nl-in-block-init.c:11:13: style: struct member 'Anonymous0::a' is never used. [unusedStructMember] indent-2.2.12/regression/input/no-forced-nl-in-block-init.c:12:13: style: struct member 'Anonymous0::b' is never used. [unusedStructMember] indent-2.2.12/regression/input/no-forced-nl-in-block-init.c:3:20: style: Variable 'arr' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/no-forced-nl-in-block-init.c:13:9: style: Variable 'v' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/on-off-1.c:15:5: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/on-off-1.c:22:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/on-off-1.c:8:8: error: Uninitialized variable: foo [uninitvar] indent-2.2.12/regression/input/on-off-1.c:15:10: error: Uninitialized variable: foo [uninitvar] indent-2.2.12/regression/input/on-off-1.c:22:8: error: Uninitialized variable: foo [uninitvar] indent-2.2.12/regression/input/on-off-2.c:11:6: error: Unmatched '('. Configuration: '__GNUC__=1'. [syntaxError] indent-2.2.12/regression/input/pointer-pal.c:1:43: error: Memory leak: x [memleak] indent-2.2.12/regression/input/pr_comment.c:192:7: error: Common realloc mistake: 'combuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/pr_comment.c:249:5: error: Common realloc mistake: 'combuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/pr_comment.c:293:5: error: Common realloc mistake: 'combuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/pr_comment.c:361:8: error: Common realloc mistake: 'combuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/input/pr_comment.c:339:5: style: Variable 'now_col' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/pr_comment.c:359:13: style: Variable 'now_col' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/preserve-newline-after-right-brace.c:16:8: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/preserve-newline-after-right-brace.c:5:18: style: Assignment 'a=1' is redundant with condition 'a==1'. [duplicateConditionalAssign] indent-2.2.12/regression/input/preserve-newline-after-right-brace.c:4:14: note: Condition 'a==1' indent-2.2.12/regression/input/preserve-newline-after-right-brace.c:5:18: note: Assignment 'a=1' is redundant indent-2.2.12/regression/input/preserve-newline-after-right-brace.c:8:18: style: Assignment 'a=2' is redundant with condition 'a==2'. [duplicateConditionalAssign] indent-2.2.12/regression/input/preserve-newline-after-right-brace.c:7:14: note: Condition 'a==2' indent-2.2.12/regression/input/preserve-newline-after-right-brace.c:8:18: note: Assignment 'a=2' is redundant indent-2.2.12/regression/input/preserve-newline-after-right-brace.c:7:14: style: Condition 'a==2' is always false [knownConditionTrueFalse] indent-2.2.12/regression/input/preserve-newline-after-right-brace.c:5:20: note: Assignment 'a=1', assigned value is 1 indent-2.2.12/regression/input/preserve-newline-after-right-brace.c:7:14: note: Condition 'a==2' is always false indent-2.2.12/regression/input/preserve-newline-after-right-brace.c:4:14: style: The comparison 'a == 1' is always true. [knownConditionTrueFalse] indent-2.2.12/regression/input/preserve-newline-after-right-brace.c:3:16: note: 'a' is assigned value '1' here. indent-2.2.12/regression/input/preserve-newline-after-right-brace.c:4:14: note: The comparison 'a == 1' is always true. indent-2.2.12/regression/input/preserve-newline-after-right-brace.c:15:18: style: Variable 'a' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/proto.c:16:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/proto.c:2:12: style: Parameter 'foo' can be declared as pointer to const [constParameter] indent-2.2.12/regression/input/proto.c:8:14: error: Uninitialized variable: spazzo [uninitvar] indent-2.2.12/regression/input/proto.c:8:12: style: Variable 'whizzo' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/proto.c:16:10: style: Variable 'buf[3]' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/single-line-conditionals.c:9:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/single-line-conditionals.c:4:16: style: Assignment 'a=1' is redundant with condition 'a==1'. [duplicateConditionalAssign] indent-2.2.12/regression/input/single-line-conditionals.c:4:8: note: Condition 'a==1' indent-2.2.12/regression/input/single-line-conditionals.c:4:16: note: Assignment 'a=1' is redundant indent-2.2.12/regression/input/single-line-conditionals.c:5:8: style: Condition 'a==3' is always false [knownConditionTrueFalse] indent-2.2.12/regression/input/single-line-conditionals.c:4:18: note: Assignment 'a=1', assigned value is 1 indent-2.2.12/regression/input/single-line-conditionals.c:5:8: note: Condition 'a==3' is always false indent-2.2.12/regression/input/single-line-conditionals.c:4:8: style: The comparison 'a == 1' is always true. [knownConditionTrueFalse] indent-2.2.12/regression/input/single-line-conditionals.c:3:10: note: 'a' is assigned value '1' here. indent-2.2.12/regression/input/single-line-conditionals.c:4:8: note: The comparison 'a == 1' is always true. indent-2.2.12/regression/input/struct-decl.c:25:3: style: Local variable 'xyz' shadows outer variable [shadowVariable] indent-2.2.12/regression/input/struct-decl.c:10:3: note: Shadowed declaration indent-2.2.12/regression/input/struct-decl.c:25:3: note: Shadow variable indent-2.2.12/regression/input/struct-decl.c:18:3: style: Unused variable: com [unusedVariable] indent-2.2.12/regression/input/struct-decl.c:25:3: style: Unused variable: xyz [unusedVariable] indent-2.2.12/regression/input/struct_param.c:1:16: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/input/typedef-bug.c:5:10: style: Variable 'c' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/wide.c:9:6: style: Variable 's1' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/wide.c:13:6: style: Variable 's2' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/wide.c:15:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/input/wrapped-string.c:4:16: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [syntaxError] indent-2.2.12/regression/standard/backup.c:166:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] indent-2.2.12/regression/standard/backup.c:321:20: style: Variable 'p' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/backup.c:323:9: style: Unused variable: new_backup_name [unusedVariable] indent-2.2.12/regression/standard/bad-break.c:4:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/bad-comment.c:4:21: style: Unused variable: cmtscfg [unusedVariable] indent-2.2.12/regression/standard/bug-gnu-33364.c:4:3: warning: Return value of function malloc() is not used. [ignoredReturnValue] indent-2.2.12/regression/standard/bug-gnu-33364.c:4:3: error: Return value of allocation function 'malloc' is not stored. [leakReturnValNotUsed] indent-2.2.12/regression/standard/bug-gnu-33364.c:4:3: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] indent-2.2.12/regression/standard/bug-hp.c:3:12: style: Unused variable: valfnc [unusedVariable] indent-2.2.12/regression/standard/bug206785.c:6:11: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [syntaxError] indent-2.2.12/regression/standard/c99-compound-literal.c:1:1: error: syntax error [syntaxError] indent-2.2.12/regression/standard/case-br.c:15:6: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/case.c:17:7: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/class-func.cc:4:5: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] indent-2.2.12/regression/standard/comment-break.c:7:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/comment-break.c:15:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/comments.c:23:9: error: syntax error [syntaxError] indent-2.2.12/regression/standard/comments1-fca.c:56:7: style: Unused variable: i [unusedVariable] indent-2.2.12/regression/standard/comments1.c:56:7: style: Unused variable: i [unusedVariable] indent-2.2.12/regression/standard/comments2.c:3:10: style: Variable 'lc' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/comments2.c:4:8: style: Variable 'ch' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/comments2.c:5:8: style: Variable 'co' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/const.c:13:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/decl_block.c:4:7: style: Local variable 'a' shadows outer argument [shadowArgument] indent-2.2.12/regression/standard/decl_block.c:2:11: note: Shadowed declaration indent-2.2.12/regression/standard/decl_block.c:4:7: note: Shadow variable indent-2.2.12/regression/standard/decl_block.c:5:7: style: Local variable 'b' shadows outer argument [shadowArgument] indent-2.2.12/regression/standard/decl_block.c:2:21: note: Shadowed declaration indent-2.2.12/regression/standard/decl_block.c:5:7: note: Shadow variable indent-2.2.12/regression/standard/decl_block.c:4:7: style: Unused variable: a [unusedVariable] indent-2.2.12/regression/standard/decl_block.c:5:7: style: Unused variable: b [unusedVariable] indent-2.2.12/regression/standard/elif.c:4:10: style: Unused variable: j [unusedVariable] indent-2.2.12/regression/standard/elif.c:4:13: style: Unused variable: k [unusedVariable] indent-2.2.12/regression/standard/else-comment-2-bl.c:22:5: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/else-comment-2-bl.c:10:9: style: Condition 'a==2' is always true [knownConditionTrueFalse] indent-2.2.12/regression/standard/else-comment-2-bl.c:7:11: note: Assignment 'a=2', assigned value is 2 indent-2.2.12/regression/standard/else-comment-2-bl.c:10:9: note: Condition 'a==2' is always true indent-2.2.12/regression/standard/else-comment-2-bl.c:5:9: style: The comparison 'a == 1' is always true. [knownConditionTrueFalse] indent-2.2.12/regression/standard/else-comment-2-bl.c:4:11: note: 'a' is assigned value '1' here. indent-2.2.12/regression/standard/else-comment-2-bl.c:5:9: note: The comparison 'a == 1' is always true. indent-2.2.12/regression/standard/else-comment-2-bl.c:21:9: style: Variable 'a' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/else-comment-2-br-ce.c:18:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/else-comment-2-br-ce.c:9:9: style: Condition 'a==2' is always true [knownConditionTrueFalse] indent-2.2.12/regression/standard/else-comment-2-br-ce.c:6:9: note: Assignment 'a=2', assigned value is 2 indent-2.2.12/regression/standard/else-comment-2-br-ce.c:9:9: note: Condition 'a==2' is always true indent-2.2.12/regression/standard/else-comment-2-br-ce.c:5:9: style: The comparison 'a == 1' is always true. [knownConditionTrueFalse] indent-2.2.12/regression/standard/else-comment-2-br-ce.c:4:11: note: 'a' is assigned value '1' here. indent-2.2.12/regression/standard/else-comment-2-br-ce.c:5:9: note: The comparison 'a == 1' is always true. indent-2.2.12/regression/standard/else-comment-2-br-ce.c:17:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/else-comment-2-br.c:18:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/else-comment-2-br.c:9:9: style: Condition 'a==2' is always true [knownConditionTrueFalse] indent-2.2.12/regression/standard/else-comment-2-br.c:6:9: note: Assignment 'a=2', assigned value is 2 indent-2.2.12/regression/standard/else-comment-2-br.c:9:9: note: Condition 'a==2' is always true indent-2.2.12/regression/standard/else-comment-2-br.c:5:9: style: The comparison 'a == 1' is always true. [knownConditionTrueFalse] indent-2.2.12/regression/standard/else-comment-2-br.c:4:11: note: 'a' is assigned value '1' here. indent-2.2.12/regression/standard/else-comment-2-br.c:5:9: note: The comparison 'a == 1' is always true. indent-2.2.12/regression/standard/else-comment-2-br.c:17:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/else-comment-bl.c:6:53: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-bl.c:8:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:6:53: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:16:39: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-bl.c:18:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:16:39: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:24:53: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-bl.c:26:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:24:53: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:32:8: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-bl.c:34:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:32:8: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:43:53: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-bl.c:47:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:43:53: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:56:39: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-bl.c:60:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:56:39: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:70:53: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-bl.c:74:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:70:53: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:84:8: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-bl.c:88:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-bl.c:84:8: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:6:53: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br-ce.c:8:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:6:53: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:16:39: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br-ce.c:18:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:16:39: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:24:53: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br-ce.c:26:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:24:53: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:32:8: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br-ce.c:34:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:32:8: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:41:55: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br-ce.c:43:5: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:41:55: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:50:39: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br-ce.c:52:5: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:50:39: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:59:55: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br-ce.c:61:5: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:59:55: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:68:10: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br-ce.c:70:5: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br-ce.c:68:10: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:6:53: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br.c:8:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:6:53: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:16:39: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br.c:18:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:16:39: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:24:53: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br.c:26:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:24:53: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:32:8: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br.c:34:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:32:8: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:42:53: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br.c:45:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:42:53: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:53:39: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br.c:56:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:53:39: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:64:53: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br.c:67:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:64:53: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:75:8: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] indent-2.2.12/regression/standard/else-comment-br.c:78:3: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-comment-br.c:75:8: note: Found duplicate branches for 'if' and 'else'. indent-2.2.12/regression/standard/else-if.c:15:4: style: Expression is always false because 'else if' condition matches previous condition at line 12. [multiCondition] indent-2.2.12/regression/standard/else-if.c:9:6: style: Unused variable: i [unusedVariable] indent-2.2.12/regression/standard/gettext-strings.c:4:9: style: Same expression on both sides of '=='. [duplicateExpression] indent-2.2.12/regression/standard/gettext-strings.c:9:14: style: Same expression on both sides of '=='. [duplicateExpression] indent-2.2.12/regression/standard/ind-star.c:8:8: style: Variable 'code' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/indent.c:438:5: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/indent.c:456:7: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/indent.c:533:7: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/indent.c:675:9: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/indent.c:689:5: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/indent.c:738:3: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/indent.c:818:3: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/indent.c:1123:6: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/indent.c:1151:5: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/indent.c:1192:7: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/indent.c:1225:3: error: Common realloc mistake: 'codebuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/indent.c:1267:3: error: Common realloc mistake: 'labbuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/indent.c:117:7: style: Local variable 'dec_ind' shadows outer variable [shadowVariable] indent-2.2.12/regression/standard/indent.c:85:5: note: Shadowed declaration indent-2.2.12/regression/standard/indent.c:117:7: note: Shadow variable indent-2.2.12/regression/standard/indent.c:118:7: style: Local variable 'flushed_nl' shadows outer variable [shadowVariable] indent-2.2.12/regression/standard/indent.c:95:5: note: Shadowed declaration indent-2.2.12/regression/standard/indent.c:118:7: note: Shadow variable indent-2.2.12/regression/standard/indent.c:119:7: style: Local variable 'force_nl' shadows outer variable [shadowVariable] indent-2.2.12/regression/standard/indent.c:96:5: note: Shadowed declaration indent-2.2.12/regression/standard/indent.c:119:7: note: Shadow variable indent-2.2.12/regression/standard/indent.c:120:7: style: Local variable 'scase' shadows outer variable [shadowVariable] indent-2.2.12/regression/standard/indent.c:100:5: note: Shadowed declaration indent-2.2.12/regression/standard/indent.c:120:7: note: Shadow variable indent-2.2.12/regression/standard/indent.c:121:7: style: Local variable 'sp_sw' shadows outer variable [shadowVariable] indent-2.2.12/regression/standard/indent.c:103:5: note: Shadowed declaration indent-2.2.12/regression/standard/indent.c:121:7: note: Shadow variable indent-2.2.12/regression/standard/indent.c:129:7: style: Local variable 'last_token_ends_sp' shadows outer variable [shadowVariable] indent-2.2.12/regression/standard/indent.c:82:5: note: Shadowed declaration indent-2.2.12/regression/standard/indent.c:129:7: note: Shadow variable indent-2.2.12/regression/standard/indent.c:131:7: style: Local variable 'squest' shadows outer variable [shadowVariable] indent-2.2.12/regression/standard/indent.c:107:5: note: Shadowed declaration indent-2.2.12/regression/standard/indent.c:131:7: note: Shadow variable indent-2.2.12/regression/standard/indent.c:134:7: style: Local variable 'last_else' shadows outer variable [shadowVariable] indent-2.2.12/regression/standard/indent.c:75:5: note: Shadowed declaration indent-2.2.12/regression/standard/indent.c:134:7: note: Shadow variable indent-2.2.12/regression/standard/indent.c:1491:19: style: Variable 'flushed_nl' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/indent.pro.c:5:3: error: Uninitialized variable: i [legacyUninitvar] indent-2.2.12/regression/standard/indent.pro.c:6:3: error: Uninitialized variable: j [legacyUninitvar] indent-2.2.12/regression/standard/indent.pro.c:5:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/indent.pro.c:6:5: style: Variable 'j' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/initializers.c:4:13: style: Variable 'c' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/initializers.c:8:13: style: Variable 'c' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/initializers.c:12:13: style: Variable 'c' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/io.c:760:7: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/io.c:768:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/io.c:503:11: error: Uninitialized variable: ch [uninitvar] indent-2.2.12/regression/standard/io.c:493:28: note: Assuming condition is false indent-2.2.12/regression/standard/io.c:503:11: note: Uninitialized variable: ch indent-2.2.12/regression/standard/io.c:340:16: style: Variable 'cur_col' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/kr-proc-decls.c:12:5: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/kr.c:13:7: style: Local variable 'z' shadows outer variable [shadowVariable] indent-2.2.12/regression/standard/kr.c:6:3: note: Shadowed declaration indent-2.2.12/regression/standard/kr.c:13:7: note: Shadow variable indent-2.2.12/regression/standard/kr.c:14:9: style: Variable 'z.x' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/kr.c:15:9: style: Variable 'z.y' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/lexi.c:89:24: style: Variable 'hash_table' can be declared as const array [constVariable] indent-2.2.12/regression/standard/lexi.c:86:21: style: Parameter 'str' can be declared as pointer to const [constParameter] indent-2.2.12/regression/standard/line-count.c:1:1: error: syntax error [syntaxError] indent-2.2.12/regression/standard/lshift.c:3:7: style: Unused variable: size [unusedVariable] indent-2.2.12/regression/standard/meta-indent.c:6:2: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/meta-indent.c:6:13: style: Unused variable: data [unusedVariable] indent-2.2.12/regression/standard/method.c:4:7: style: Unused variable: i [unusedVariable] indent-2.2.12/regression/standard/nested.c:19:8: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] indent-2.2.12/regression/standard/nested.c:6:7: style: Unused variable: baz [unusedVariable] indent-2.2.12/regression/standard/newlined-parms.c:4:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/no-forced-nl-in-block-init.c:13:9: style: struct member 'Anonymous0::a' is never used. [unusedStructMember] indent-2.2.12/regression/standard/no-forced-nl-in-block-init.c:14:9: style: struct member 'Anonymous0::b' is never used. [unusedStructMember] indent-2.2.12/regression/standard/no-forced-nl-in-block-init.c:4:18: style: Variable 'arr' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/no-forced-nl-in-block-init.c:15:7: style: Variable 'v' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/on-off-1.c:16:5: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/on-off-1.c:23:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/on-off-1.c:9:9: error: Uninitialized variable: foo [uninitvar] indent-2.2.12/regression/standard/on-off-1.c:16:10: error: Uninitialized variable: foo [uninitvar] indent-2.2.12/regression/standard/on-off-1.c:23:9: error: Uninitialized variable: foo [uninitvar] indent-2.2.12/regression/standard/on-off-2.c:11:6: error: Unmatched '('. Configuration: '__GNUC__=1'. [syntaxError] indent-2.2.12/regression/standard/pointer-pal.c:6:1: error: Memory leak: x [memleak] indent-2.2.12/regression/standard/pr_comment.c:191:7: error: Common realloc mistake: 'combuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/pr_comment.c:248:5: error: Common realloc mistake: 'combuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/pr_comment.c:292:5: error: Common realloc mistake: 'combuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/pr_comment.c:361:8: error: Common realloc mistake: 'combuf' nulled but not freed upon failure [memleakOnRealloc] indent-2.2.12/regression/standard/pr_comment.c:338:5: style: Variable 'now_col' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/pr_comment.c:359:13: style: Variable 'now_col' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/preserve-newline-after-right-brace.c:17:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/preserve-newline-after-right-brace.c:6:7: style: Assignment 'a=1' is redundant with condition 'a==1'. [duplicateConditionalAssign] indent-2.2.12/regression/standard/preserve-newline-after-right-brace.c:5:9: note: Condition 'a==1' indent-2.2.12/regression/standard/preserve-newline-after-right-brace.c:6:7: note: Assignment 'a=1' is redundant indent-2.2.12/regression/standard/preserve-newline-after-right-brace.c:9:7: style: Assignment 'a=2' is redundant with condition 'a==2'. [duplicateConditionalAssign] indent-2.2.12/regression/standard/preserve-newline-after-right-brace.c:8:9: note: Condition 'a==2' indent-2.2.12/regression/standard/preserve-newline-after-right-brace.c:9:7: note: Assignment 'a=2' is redundant indent-2.2.12/regression/standard/preserve-newline-after-right-brace.c:8:9: style: Condition 'a==2' is always false [knownConditionTrueFalse] indent-2.2.12/regression/standard/preserve-newline-after-right-brace.c:6:9: note: Assignment 'a=1', assigned value is 1 indent-2.2.12/regression/standard/preserve-newline-after-right-brace.c:8:9: note: Condition 'a==2' is always false indent-2.2.12/regression/standard/preserve-newline-after-right-brace.c:5:9: style: The comparison 'a == 1' is always true. [knownConditionTrueFalse] indent-2.2.12/regression/standard/preserve-newline-after-right-brace.c:4:11: note: 'a' is assigned value '1' here. indent-2.2.12/regression/standard/preserve-newline-after-right-brace.c:5:9: note: The comparison 'a == 1' is always true. indent-2.2.12/regression/standard/preserve-newline-after-right-brace.c:16:7: style: Variable 'a' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/proto.c:16:3: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/proto.c:2:12: style: Parameter 'foo' can be declared as pointer to const [constParameter] indent-2.2.12/regression/standard/proto.c:8:14: error: Uninitialized variable: spazzo [uninitvar] indent-2.2.12/regression/standard/proto.c:8:12: style: Variable 'whizzo' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/proto.c:16:10: style: Variable 'buf[3]' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/single-line-conditionals.c:10:0: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/single-line-conditionals.c:5:17: style: Assignment 'a=1' is redundant with condition 'a==1'. [duplicateConditionalAssign] indent-2.2.12/regression/standard/single-line-conditionals.c:5:9: note: Condition 'a==1' indent-2.2.12/regression/standard/single-line-conditionals.c:5:17: note: Assignment 'a=1' is redundant indent-2.2.12/regression/standard/single-line-conditionals.c:6:9: style: Condition 'a==3' is always false [knownConditionTrueFalse] indent-2.2.12/regression/standard/single-line-conditionals.c:5:19: note: Assignment 'a=1', assigned value is 1 indent-2.2.12/regression/standard/single-line-conditionals.c:6:9: note: Condition 'a==3' is always false indent-2.2.12/regression/standard/single-line-conditionals.c:5:9: style: The comparison 'a == 1' is always true. [knownConditionTrueFalse] indent-2.2.12/regression/standard/single-line-conditionals.c:4:11: note: 'a' is assigned value '1' here. indent-2.2.12/regression/standard/single-line-conditionals.c:5:9: note: The comparison 'a == 1' is always true. indent-2.2.12/regression/standard/struct-decl-kr.c:20:7: style: Local variable 'xyz' shadows outer variable [shadowVariable] indent-2.2.12/regression/standard/struct-decl-kr.c:9:3: note: Shadowed declaration indent-2.2.12/regression/standard/struct-decl-kr.c:20:7: note: Shadow variable indent-2.2.12/regression/standard/struct-decl-kr.c:15:7: style: Unused variable: com [unusedVariable] indent-2.2.12/regression/standard/struct-decl-kr.c:20:7: style: Unused variable: xyz [unusedVariable] indent-2.2.12/regression/standard/struct-decl.c:26:3: style: Local variable 'xyz' shadows outer variable [shadowVariable] indent-2.2.12/regression/standard/struct-decl.c:11:3: note: Shadowed declaration indent-2.2.12/regression/standard/struct-decl.c:26:3: note: Shadow variable indent-2.2.12/regression/standard/struct-decl.c:19:3: style: Unused variable: com [unusedVariable] indent-2.2.12/regression/standard/struct-decl.c:26:3: style: Unused variable: xyz [unusedVariable] indent-2.2.12/regression/standard/struct_param.c:3:1: error: Found a exit path from function with non-void return type that has missing return statement [missingReturn] indent-2.2.12/regression/standard/typedef-bug.c:6:10: style: Variable 'c' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/wide.c:9:6: style: Variable 's1' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/wide.c:13:6: style: Variable 's2' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/wide.c:15:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] indent-2.2.12/regression/standard/wrapped-string.c:5:18: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [syntaxError] indent-2.2.12/src/libgettext.h:229:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/libgettext.h:231:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/libgettext.h:277:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/libgettext.h:279:7: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/args.c:922:17: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/args.c:952:31: warning: Either the condition 'param_start==NULL' is redundant or there is possible null pointer dereference: param_start. [nullPointerRedundantCheck] indent-2.2.12/src/args.c:942:37: note: Assuming that condition 'param_start==NULL' is not redundant indent-2.2.12/src/args.c:952:31: note: Null pointer dereference indent-2.2.12/src/args.c:760:31: style: Variable 'this_prefix' is assigned a value that is never used. [unreadVariable] indent-2.2.12/src/args.c:761:31: style: Variable 'argp' is assigned a value that is never used. [unreadVariable] indent-2.2.12/src/backup.c:506:50: warning: Either the condition '!bf' is redundant or there is possible null pointer dereference: bf. [nullPointerRedundantCheck] indent-2.2.12/src/backup.c:501:12: note: Assuming that condition '!bf' is not redundant indent-2.2.12/src/backup.c:506:50: note: Null pointer dereference indent-2.2.12/src/code_io.c:315:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/code_io.c:220:15: warning: Either the condition 'fd<0' is redundant or fstat() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] indent-2.2.12/src/code_io.c:215:12: note: Assuming that condition 'fd<0' is not redundant indent-2.2.12/src/code_io.c:220:15: note: Invalid argument indent-2.2.12/src/code_io.c:408:31: style: Variable 'finished_a_line' is assigned a value that is never used. [unreadVariable] indent-2.2.12/src/comments.c:863:17: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/comments.c:887:17: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/gperf-cc.c:50:24: style: Variable 'asso_values' can be declared as const array [constVariable] indent-cc.gperf:132:22: style: Variable 'lookup' can be declared as const array [constVariable] indent-2.2.12/src/gperf-cc.c:97:24: style: Variable 'lengthtable' can be declared as const array [constVariable] indent-2.2.12/src/gperf.c:50:24: style: Variable 'asso_values' can be declared as const array [constVariable] indent.gperf:121:22: style: Variable 'lookup' can be declared as const array [constVariable] indent-2.2.12/src/gperf.c:85:24: style: Variable 'lengthtable' can be declared as const array [constVariable] indent-2.2.12/src/handletoken.c:2008:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/handletoken.c:2015:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/handletoken.c:2020:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/handletoken.c:2024:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/handletoken.c:2029:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/handletoken.c:2062:20: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/handletoken.c:2074:20: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/handletoken.c:2080:20: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/handletoken.c:2086:20: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/handletoken.c:2092:20: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/handletoken.c:1397:33: style: Condition 'parser_state_tos->in_decl' is always false [knownConditionTrueFalse] indent-2.2.12/src/handletoken.c:1392:9: note: Assuming that condition '!parser_state_tos->in_decl' is not redundant indent-2.2.12/src/handletoken.c:1397:33: note: Condition 'parser_state_tos->in_decl' is always false indent-2.2.12/src/handletoken.c:95:27: warning: Either the condition 'bp->ptr==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] indent-2.2.12/src/handletoken.c:90:21: note: Assuming that condition 'bp->ptr==NULL' is not redundant indent-2.2.12/src/handletoken.c:95:27: note: Null pointer addition indent-2.2.12/src/handletoken.c:311:21: style: Parameter 'dec_ind' can be declared as pointer to const [constParameter] indent-2.2.12/src/handletoken.c:310:21: style: Parameter 'sp_sw' can be declared as pointer to const [constParameter] indent-2.2.12/src/handletoken.c:633:22: style: Parameter 'dec_ind' can be declared as pointer to const [constParameter] indent-2.2.12/src/handletoken.c:826:21: style: Parameter 'dec_ind' can be declared as pointer to const [constParameter] indent-2.2.12/src/handletoken.c:966:22: style: Parameter 'dec_ind' can be declared as pointer to const [constParameter] indent-2.2.12/src/handletoken.c:967:22: style: Parameter 'last_token_ends_sp' can be declared as pointer to const [constParameter] indent-2.2.12/src/handletoken.c:965:22: style: Parameter 'sp_sw' can be declared as pointer to const [constParameter] indent-2.2.12/src/handletoken.c:1752:22: style: Parameter 'dec_ind' can be declared as pointer to const [constParameter] indent-2.2.12/src/handletoken.c:1931:30: style: Variable 'in_cplus_comment' is assigned a value that is never used. [unreadVariable] indent-2.2.12/src/indent.c:1091:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/indent.c:1094:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/indent.c:1097:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/indent.c:1111:17: style: Variable 'exit_status' is reassigned a value before the old one has been used. [redundantAssignment] indent-2.2.12/src/indent.c:1102:17: note: exit_status is assigned indent-2.2.12/src/indent.c:1111:17: note: exit_status is overwritten indent-2.2.12/src/output.c:938:10: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] indent-2.2.12/src/output.c:999:18: style:inconclusive: Function 'dump_line' argument 3 names different: declaration 'break_line' definition 'pbreak_line'. [funcArgNamesDifferent] indent-2.2.12/src/output.h:57:15: note: Function 'dump_line' argument 3 names different: declaration 'break_line' definition 'pbreak_line'. indent-2.2.12/src/output.c:999:18: note: Function 'dump_line' argument 3 names different: declaration 'break_line' definition 'pbreak_line'. indent-2.2.12/src/output.c:593:16: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] indent-2.2.12/src/output.c:843:22: style: Variable 'paren_level' is assigned a value that is never used. [unreadVariable] indent-2.2.12/src/output.c:931:22: style: Variable 'paren_level' is assigned a value that is never used. [unreadVariable] diff: head indent-2.2.12/regression/input/lexi.c:87:21: style: Parameter 'str' can be declared as pointer to const [constParameter] 2.8 indent-2.2.12/regression/input/lexi.c:87:21: style: Parameter 'str' can be declared with const [constParameter] head indent-2.2.12/regression/input/lexi.c:90:24: style: Variable 'hash_table' can be declared as const array [constVariable] 2.8 indent-2.2.12/regression/input/lexi.c:90:24: style: Variable 'hash_table' can be declared with const [constVariable] head indent-2.2.12/regression/input/proto.c:2:12: style: Parameter 'foo' can be declared as pointer to const [constParameter] 2.8 indent-2.2.12/regression/input/proto.c:2:12: style: Parameter 'foo' can be declared with const [constParameter] head indent-2.2.12/regression/standard/lexi.c:86:21: style: Parameter 'str' can be declared as pointer to const [constParameter] 2.8 indent-2.2.12/regression/standard/lexi.c:86:21: style: Parameter 'str' can be declared with const [constParameter] head indent-2.2.12/regression/standard/lexi.c:89:24: style: Variable 'hash_table' can be declared as const array [constVariable] 2.8 indent-2.2.12/regression/standard/lexi.c:89:24: style: Variable 'hash_table' can be declared with const [constVariable] head indent-2.2.12/regression/standard/proto.c:2:12: style: Parameter 'foo' can be declared as pointer to const [constParameter] 2.8 indent-2.2.12/regression/standard/proto.c:2:12: style: Parameter 'foo' can be declared with const [constParameter] head indent-2.2.12/src/gperf-cc.c:50:24: style: Variable 'asso_values' can be declared as const array [constVariable] 2.8 indent-2.2.12/src/gperf-cc.c:50:24: style: Variable 'asso_values' can be declared with const [constVariable] head indent-2.2.12/src/gperf-cc.c:97:24: style: Variable 'lengthtable' can be declared as const array [constVariable] 2.8 indent-2.2.12/src/gperf-cc.c:97:24: style: Variable 'lengthtable' can be declared with const [constVariable] head indent-2.2.12/src/gperf.c:50:24: style: Variable 'asso_values' can be declared as const array [constVariable] 2.8 indent-2.2.12/src/gperf.c:50:24: style: Variable 'asso_values' can be declared with const [constVariable] head indent-2.2.12/src/gperf.c:85:24: style: Variable 'lengthtable' can be declared as const array [constVariable] 2.8 indent-2.2.12/src/gperf.c:85:24: style: Variable 'lengthtable' can be declared with const [constVariable] head indent-2.2.12/src/handletoken.c:1752:22: style: Parameter 'dec_ind' can be declared as pointer to const [constParameter] 2.8 indent-2.2.12/src/handletoken.c:1752:22: style: Parameter 'dec_ind' can be declared with const [constParameter] head indent-2.2.12/src/handletoken.c:310:21: style: Parameter 'sp_sw' can be declared as pointer to const [constParameter] 2.8 indent-2.2.12/src/handletoken.c:310:21: style: Parameter 'sp_sw' can be declared with const [constParameter] head indent-2.2.12/src/handletoken.c:311:21: style: Parameter 'dec_ind' can be declared as pointer to const [constParameter] 2.8 indent-2.2.12/src/handletoken.c:311:21: style: Parameter 'dec_ind' can be declared with const [constParameter] head indent-2.2.12/src/handletoken.c:633:22: style: Parameter 'dec_ind' can be declared as pointer to const [constParameter] 2.8 indent-2.2.12/src/handletoken.c:633:22: style: Parameter 'dec_ind' can be declared with const [constParameter] head indent-2.2.12/src/handletoken.c:826:21: style: Parameter 'dec_ind' can be declared as pointer to const [constParameter] 2.8 indent-2.2.12/src/handletoken.c:826:21: style: Parameter 'dec_ind' can be declared with const [constParameter] head indent-2.2.12/src/handletoken.c:965:22: style: Parameter 'sp_sw' can be declared as pointer to const [constParameter] 2.8 indent-2.2.12/src/handletoken.c:965:22: style: Parameter 'sp_sw' can be declared with const [constParameter] head indent-2.2.12/src/handletoken.c:966:22: style: Parameter 'dec_ind' can be declared as pointer to const [constParameter] 2.8 indent-2.2.12/src/handletoken.c:966:22: style: Parameter 'dec_ind' can be declared with const [constParameter] head indent-2.2.12/src/handletoken.c:967:22: style: Parameter 'last_token_ends_sp' can be declared as pointer to const [constParameter] 2.8 indent-2.2.12/src/handletoken.c:967:22: style: Parameter 'last_token_ends_sp' can be declared with const [constParameter] head indent-cc.gperf:132:22: style: Variable 'lookup' can be declared as const array [constVariable] 2.8 indent-cc.gperf:132:22: style: Variable 'lookup' can be declared with const [constVariable] head indent.gperf:121:22: style: Variable 'lookup' can be declared as const array [constVariable] 2.8 indent.gperf:121:22: style: Variable 'lookup' can be declared with const [constVariable] DONE