2022-06-29 15:44 ftp://ftp.de.debian.org/debian/pool/main/libt/libtext-bibtex-perl/libtext-bibtex-perl_0.88.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.4.0-110-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.24 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 cppcheck: head 2.8 head-info: 06b408e (2022-06-29 13:43:17 +0200) count: 114 115 elapsed-time: 492.1 732.8 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: Text-BibTeX-0.88/btparse/pccts/ast.c:208:40: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] Text-BibTeX-0.88/btparse/src/bibtex.c:162:7: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] Text-BibTeX-0.88/btparse/src/bibtex.c:161:38: note: outer condition: metatype==BTE_REGULAR Text-BibTeX-0.88/btparse/src/bibtex.c:162:7: note: opposite inner condition: !(metatype==BTE_REGULAR) Text-BibTeX-0.88/btparse/src/bibtex.c:185:8: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] Text-BibTeX-0.88/btparse/src/bibtex.c:184:40: note: outer condition: metatype==BTE_MACRODEF Text-BibTeX-0.88/btparse/src/bibtex.c:185:8: note: opposite inner condition: !(metatype==BTE_MACRODEF) Text-BibTeX-0.88/btparse/src/bibtex.c:190:9: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] Text-BibTeX-0.88/btparse/src/bibtex.c:189:41: note: outer condition: metatype==BTE_PREAMBLE Text-BibTeX-0.88/btparse/src/bibtex.c:190:9: note: opposite inner condition: !(metatype==BTE_PREAMBLE) Text-BibTeX-0.88/btparse/src/bibtex.c:73:1: style: Label 'fail' is not used. [unusedLabel] Text-BibTeX-0.88/btparse/src/bibtex.c:39:1: style: Variable 'a' is not assigned a value. [unassignedVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:49:2: style: Variable 'zzaRetPtr' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:49:2: style: Variable 'zzMissTok' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:49:2: style: Variable 'zzBadTok' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:49:2: style: Variable 'zzBadText' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:49:2: style: Variable 'zzErrk' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:49:2: style: Variable 'zzMissText' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:49:2: style: Variable '_sibling' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:49:2: style: Variable '_tail' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:88:5: style: Variable 'zzaRetPtr' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:88:5: style: Variable '_ast' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:120:5: style: Variable 'zzaRetPtr' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:120:5: style: Variable '_ast' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:157:2: style: Variable 'zzaRetPtr' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:157:2: style: Variable '_ast' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:213:2: style: Variable 'zzaRetPtr' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:213:2: style: Variable '_ast' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:253:2: style: Variable 'zzaRetPtr' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:253:2: style: Variable '_ast' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:286:2: style: Variable 'zzaRetPtr' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:286:2: style: Variable '_ast' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:320:2: style: Variable 'zzaRetPtr' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/bibtex.c:320:2: style: Variable '_ast' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/pccts/err.h:173:36: warning: Either the condition 'i>1' is redundant or the array 'f[1]' is accessed at index 1, which is out of bounds. [arrayIndexOutOfBoundsCond] Text-BibTeX-0.88/btparse/pccts/err.h:166:9: note: Assuming that condition 'i>1' is not redundant Text-BibTeX-0.88/btparse/pccts/err.h:173:36: note: Array index out of bounds Text-BibTeX-0.88/btparse/pccts/err.h:78:14: style: Parameter 'wd' can be declared as pointer to const [constParameter] Text-BibTeX-0.88/btparse/pccts/err.h:339:14: style: Parameter 'p' can be declared as pointer to const [constParameter] Text-BibTeX-0.88/btparse/pccts/err.h:191:9: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] Text-BibTeX-0.88/btparse/src/error.c:135:27: style:inconclusive: Function 'report_error' argument 1 names different: declaration 'class' definition 'errclass'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/error.h:50:32: note: Function 'report_error' argument 1 names different: declaration 'class' definition 'errclass'. Text-BibTeX-0.88/btparse/src/error.c:135:27: note: Function 'report_error' argument 1 names different: declaration 'class' definition 'errclass'. Text-BibTeX-0.88/btparse/src/error.c:140:27: style:inconclusive: Function 'report_error' argument 6 names different: declaration 'format' definition 'fmt'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/error.h:52:27: note: Function 'report_error' argument 6 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:140:27: note: Function 'report_error' argument 6 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:200:1: style:inconclusive: Function 'general_error' argument 1 names different: declaration 'class' definition 'errclass'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/error.h:54:33: note: Function 'general_error' argument 1 names different: declaration 'class' definition 'errclass'. Text-BibTeX-0.88/btparse/src/error.c:200:1: note: Function 'general_error' argument 1 names different: declaration 'class' definition 'errclass'. Text-BibTeX-0.88/btparse/src/error.c:200:1: style:inconclusive: Function 'general_error' argument 6 names different: declaration 'format' definition 'fmt'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/error.h:56:28: note: Function 'general_error' argument 6 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:200:1: note: Function 'general_error' argument 6 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:210:1: style:inconclusive: Function 'error' argument 1 names different: declaration 'class' definition 'errclass'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/error.h:57:25: note: Function 'error' argument 1 names different: declaration 'class' definition 'errclass'. Text-BibTeX-0.88/btparse/src/error.c:210:1: note: Function 'error' argument 1 names different: declaration 'class' definition 'errclass'. Text-BibTeX-0.88/btparse/src/error.c:210:1: style:inconclusive: Function 'error' argument 4 names different: declaration 'format' definition 'fmt'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/error.h:57:66: note: Function 'error' argument 4 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:210:1: note: Function 'error' argument 4 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:218:1: style:inconclusive: Function 'ast_error' argument 1 names different: declaration 'class' definition 'errclass'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/error.h:58:29: note: Function 'ast_error' argument 1 names different: declaration 'class' definition 'errclass'. Text-BibTeX-0.88/btparse/src/error.c:218:1: note: Function 'ast_error' argument 1 names different: declaration 'class' definition 'errclass'. Text-BibTeX-0.88/btparse/src/error.c:218:1: style:inconclusive: Function 'ast_error' argument 3 names different: declaration 'format' definition 'fmt'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/error.h:58:54: note: Function 'ast_error' argument 3 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:218:1: note: Function 'ast_error' argument 3 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:225:1: style:inconclusive: Function 'notify' argument 1 names different: declaration 'format' definition 'fmt'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/error.h:60:20: note: Function 'notify' argument 1 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:225:1: note: Function 'notify' argument 1 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:229:1: style:inconclusive: Function 'usage_warning' argument 1 names different: declaration 'format' definition 'fmt'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/error.h:61:28: note: Function 'usage_warning' argument 1 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:229:1: note: Function 'usage_warning' argument 1 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:233:1: style:inconclusive: Function 'usage_error' argument 1 names different: declaration 'format' definition 'fmt'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/error.h:62:26: note: Function 'usage_error' argument 1 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:233:1: note: Function 'usage_error' argument 1 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:237:1: style:inconclusive: Function 'internal_error' argument 1 names different: declaration 'format' definition 'fmt'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/error.h:63:29: note: Function 'internal_error' argument 1 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:237:1: note: Function 'internal_error' argument 1 names different: declaration 'format' definition 'fmt'. Text-BibTeX-0.88/btparse/src/error.c:331:31: style: Parameter 'saved_counts' can be declared as pointer to const [constParameter] Text-BibTeX-0.88/btparse/src/format_name.c:540:21: style: Parameter 'text' can be declared as pointer to const [constParameter] Text-BibTeX-0.88/btparse/src/format_name.c:702:31: style: Parameter 'num_tokens' can be declared as pointer to const [constParameter] Text-BibTeX-0.88/btparse/src/format_name.c:751:14: warning: Uninitialized variable: parts [uninitvar] Text-BibTeX-0.88/btparse/src/format_name.c:738:18: note: Assuming condition is false Text-BibTeX-0.88/btparse/src/format_name.c:751:14: note: Uninitialized variable: parts Text-BibTeX-0.88/btparse/src/format_name.c:498:12: style: Unused variable: i [unusedVariable] Text-BibTeX-0.88/btparse/src/format_name.c:715:12: style: Unused variable: abbrev_prefix_len [unusedVariable] Text-BibTeX-0.88/btparse/src/format_name.c:717:12: style: Unused variable: abbrev_prefix_start [unusedVariable] Text-BibTeX-0.88/btparse/src/input.c:493:11: style: Condition '!cur_entry' is always false [knownConditionTrueFalse] Text-BibTeX-0.88/btparse/src/input.c:445:32: style:inconclusive: Function 'bt_parse_file' argument 3 names different: declaration 'overall_status' definition 'status'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/btparse.h:258:35: note: Function 'bt_parse_file' argument 3 names different: declaration 'overall_status' definition 'status'. Text-BibTeX-0.88/btparse/src/input.c:445:32: note: Function 'bt_parse_file' argument 3 names different: declaration 'overall_status' definition 'status'. Text-BibTeX-0.88/btparse/src/lex_auxiliary.c:249:4: error: Common realloc mistake: 'zztoktext' nulled but not freed upon failure [memleakOnRealloc] Text-BibTeX-0.88/btparse/src/lex_auxiliary.c:786:22: style: Variable 'at_top' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/lex_auxiliary.c:794:17: style: Variable 'at_top' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/lex_auxiliary.c:796:17: style: Variable 'at_top' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/src/parse_auxiliary.c:203:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] Text-BibTeX-0.88/btparse/src/parse_auxiliary.c:276:11: style: Local variable 'name' shadows outer function [shadowFunction] Text-BibTeX-0.88/btparse/src/lex_auxiliary.h:56:6: note: Shadowed declaration Text-BibTeX-0.88/btparse/src/parse_auxiliary.c:276:11: note: Shadow variable Text-BibTeX-0.88/btparse/src/names.c:629:10: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] Text-BibTeX-0.88/btparse/src/names.c:932:18: warning: Either the condition 'name' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] Text-BibTeX-0.88/btparse/src/names.c:924:6: note: Assuming that condition 'name' is not redundant Text-BibTeX-0.88/btparse/src/names.c:932:18: note: Null pointer dereference Text-BibTeX-0.88/btparse/src/names.c:520:17: style: Local variable 'token' shadows outer variable [shadowVariable] Text-BibTeX-0.88/btparse/src/names.c:514:14: note: Shadowed declaration Text-BibTeX-0.88/btparse/src/names.c:520:17: note: Shadow variable Text-BibTeX-0.88/btparse/src/names.c:554:37: style: Parameter 'tok_range' can be declared as pointer to const [constParameter] Text-BibTeX-0.88/btparse/src/names.c:699:32: style: Parameter 'comma_token' can be declared as pointer to const [constParameter] Text-BibTeX-0.88/btparse/src/postprocess.c:251:8: style: The if condition is the same as the previous if condition [duplicateCondition] Text-BibTeX-0.88/btparse/src/postprocess.c:212:8: note: First condition Text-BibTeX-0.88/btparse/src/postprocess.c:251:8: note: Second condition Text-BibTeX-0.88/btparse/src/postprocess.c:83:30: style: Condition '*j!=(char)0' is always true [knownConditionTrueFalse] Text-BibTeX-0.88/btparse/src/postprocess.c:83:17: note: Assuming that condition '*j==' '' is not redundant Text-BibTeX-0.88/btparse/src/postprocess.c:83:30: note: Condition '*j!=(char)0' is always true Text-BibTeX-0.88/btparse/src/postprocess.c:459:29: style:inconclusive: Function 'bt_postprocess_entry' argument 1 names different: declaration 'entry' definition 'top'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/btparse.h:264:34: note: Function 'bt_postprocess_entry' argument 1 names different: declaration 'entry' definition 'top'. Text-BibTeX-0.88/btparse/src/postprocess.c:459:29: note: Function 'bt_postprocess_entry' argument 1 names different: declaration 'entry' definition 'top'. Text-BibTeX-0.88/btparse/src/postprocess.c:178:12: style: Local variable 'simple_value' shadows outer function [shadowFunction] Text-BibTeX-0.88/btparse/src/tokens.h:70:13: note: Shadowed declaration Text-BibTeX-0.88/btparse/src/postprocess.c:178:12: note: Shadow variable Text-BibTeX-0.88/btparse/src/sym.c:335:11: debug: Wrong data detected by condition !tok->next()->astOperand1() [DacaWrongData] Text-BibTeX-0.88/btparse/src/sym.c:295:26: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] Text-BibTeX-0.88/btparse/src/sym.c:309:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Text-BibTeX-0.88/btparse/src/sym.c:309:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Text-BibTeX-0.88/btparse/src/sym.c:309:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Text-BibTeX-0.88/btparse/src/sym.c:318:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Text-BibTeX-0.88/btparse/src/sym.c:323:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Text-BibTeX-0.88/btparse/src/sym.c:323:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] Text-BibTeX-0.88/btparse/src/string_util.c:111:23: style: Parameter 'str' can be declared as pointer to const [constParameter] Text-BibTeX-0.88/btparse/src/tex_tree.c:313:7: warning: Either the condition 'node->len>255' is redundant or the array 'buf[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] Text-BibTeX-0.88/btparse/src/tex_tree.c:310:18: note: Assuming that condition 'node->len>255' is not redundant Text-BibTeX-0.88/btparse/src/tex_tree.c:313:7: note: Array index out of bounds Text-BibTeX-0.88/btparse/src/tex_tree.c:75:11: style: Variable '*stack' is reassigned a value before the old one has been used. [redundantAssignment] Text-BibTeX-0.88/btparse/src/tex_tree.c:72:14: note: *stack is assigned Text-BibTeX-0.88/btparse/src/tex_tree.c:75:11: note: *stack is overwritten Text-BibTeX-0.88/btparse/src/traversal.c:81:5: warning: Either the condition 'name' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] Text-BibTeX-0.88/btparse/src/traversal.c:100:8: note: Assuming that condition 'name' is not redundant Text-BibTeX-0.88/btparse/src/traversal.c:81:5: note: Null pointer dereference Text-BibTeX-0.88/btparse/src/traversal.c:111:26: style:inconclusive: Function 'bt_next_value' argument 1 names different: declaration 'head' definition 'top'. [funcArgNamesDifferent] Text-BibTeX-0.88/btparse/src/btparse.h:287:26: note: Function 'bt_next_value' argument 1 names different: declaration 'head' definition 'top'. Text-BibTeX-0.88/btparse/src/traversal.c:111:26: note: Function 'bt_next_value' argument 1 names different: declaration 'head' definition 'top'. Text-BibTeX-0.88/btparse/src/traversal.c:78:10: style: Local variable 'field' shadows outer function [shadowFunction] Text-BibTeX-0.88/btparse/src/tokens.h:58:13: note: Shadowed declaration Text-BibTeX-0.88/btparse/src/traversal.c:78:10: note: Shadow variable Text-BibTeX-0.88/btparse/src/traversal.c:115:18: style: Local variable 'value' shadows outer function [shadowFunction] Text-BibTeX-0.88/btparse/src/tokens.h:64:13: note: Shadowed declaration Text-BibTeX-0.88/btparse/src/traversal.c:115:18: note: Shadow variable Text-BibTeX-0.88/btparse/tests/case_test.c:41:7: error: Uninitialized variable: line_num [legacyUninitvar] Text-BibTeX-0.88/btparse/tests/case_test.c:31:11: style: Variable 'line_num' is not assigned a value. [unassignedVariable] Text-BibTeX-0.88/btparse/tests/name_test.c:136:7: error: Uninitialized variable: line_num [legacyUninitvar] Text-BibTeX-0.88/btparse/tests/purify_test.c:19:10: error: Uninitialized variable: line_num [legacyUninitvar] Text-BibTeX-0.88/btparse/tests/purify_test.c:10:11: style: Variable 'line_num' is not assigned a value. [unassignedVariable] Text-BibTeX-0.88/btparse/tests/simple_test.c:252:4: warning: Either the condition 'entry!=NULL' is redundant or there is possible null pointer dereference: entry. [nullPointerRedundantCheck] Text-BibTeX-0.88/btparse/tests/simple_test.c:251:4: note: Assuming that condition 'entry!=NULL' is not redundant Text-BibTeX-0.88/btparse/tests/simple_test.c:252:4: note: Null pointer dereference Text-BibTeX-0.88/btparse/tests/simple_test.c:203:4: warning: Conversion of string literal "entry" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:209:4: warning: Conversion of string literal "entry" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:220:7: warning: Conversion of string literal "entry" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:228:10: warning: Conversion of string literal "field" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:262:7: warning: Conversion of string literal "entry" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:270:10: warning: Conversion of string literal "macro" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:291:4: warning: Conversion of string literal "entry" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:295:4: warning: Conversion of string literal "entry" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:310:4: warning: Conversion of string literal "entry" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:317:7: warning: Conversion of string literal "entry" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:353:7: warning: Conversion of string literal "entry" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:359:10: warning: Conversion of string literal "field" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:395:7: warning: Conversion of string literal "entry" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:401:10: warning: Conversion of string literal "macro" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:447:7: warning: Conversion of string literal "entry" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:480:7: warning: Conversion of string literal "file" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:522:7: warning: Conversion of string literal "file" to bool always evaluates to true. [incorrectStringBooleanError] Text-BibTeX-0.88/btparse/tests/simple_test.c:203:4: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/tests/simple_test.c:209:4: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/tests/simple_test.c:291:4: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/tests/simple_test.c:295:4: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/tests/simple_test.c:310:4: style: Variable 'ok' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/btparse/tests/simple_test.c:424:10: style: Variable 'value' is assigned a value that is never used. [unreadVariable] Text-BibTeX-0.88/xscode/btxs_support.c:178:12: style: Unused variable: item [unusedVariable] Text-BibTeX-0.88/xscode/btxs_support.c:179:12: style: Unused variable: item_text [unusedVariable] diff: head Text-BibTeX-0.88/btparse/pccts/err.h:339:14: style: Parameter 'p' can be declared as pointer to const [constParameter] 2.8 Text-BibTeX-0.88/btparse/pccts/err.h:339:14: style: Parameter 'p' can be declared with const [constParameter] head Text-BibTeX-0.88/btparse/pccts/err.h:78:14: style: Parameter 'wd' can be declared as pointer to const [constParameter] 2.8 Text-BibTeX-0.88/btparse/pccts/err.h:78:14: style: Parameter 'wd' can be declared with const [constParameter] 2.8 Text-BibTeX-0.88/btparse/progs/biblex.c:35:27: style: Parameter 'argv' can be declared with const [constParameter] head Text-BibTeX-0.88/btparse/src/error.c:331:31: style: Parameter 'saved_counts' can be declared as pointer to const [constParameter] 2.8 Text-BibTeX-0.88/btparse/src/error.c:331:31: style: Parameter 'saved_counts' can be declared with const [constParameter] head Text-BibTeX-0.88/btparse/src/format_name.c:540:21: style: Parameter 'text' can be declared as pointer to const [constParameter] 2.8 Text-BibTeX-0.88/btparse/src/format_name.c:540:21: style: Parameter 'text' can be declared with const [constParameter] head Text-BibTeX-0.88/btparse/src/format_name.c:702:31: style: Parameter 'num_tokens' can be declared as pointer to const [constParameter] 2.8 Text-BibTeX-0.88/btparse/src/format_name.c:702:31: style: Parameter 'num_tokens' can be declared with const [constParameter] 2.8 Text-BibTeX-0.88/btparse/src/format_name.c:751:14: error: Uninitialized variable: parts [uninitvar] Text-BibTeX-0.88/btparse/src/format_name.c:738:18: note: Assuming condition is false Text-BibTeX-0.88/btparse/src/format_name.c:751:14: note: Uninitialized variable: parts head Text-BibTeX-0.88/btparse/src/format_name.c:751:14: warning: Uninitialized variable: parts [uninitvar] Text-BibTeX-0.88/btparse/src/format_name.c:738:18: note: Assuming condition is false Text-BibTeX-0.88/btparse/src/format_name.c:751:14: note: Uninitialized variable: parts head Text-BibTeX-0.88/btparse/src/names.c:554:37: style: Parameter 'tok_range' can be declared as pointer to const [constParameter] 2.8 Text-BibTeX-0.88/btparse/src/names.c:554:37: style: Parameter 'tok_range' can be declared with const [constParameter] head Text-BibTeX-0.88/btparse/src/names.c:699:32: style: Parameter 'comma_token' can be declared as pointer to const [constParameter] 2.8 Text-BibTeX-0.88/btparse/src/names.c:699:32: style: Parameter 'comma_token' can be declared with const [constParameter] head Text-BibTeX-0.88/btparse/src/string_util.c:111:23: style: Parameter 'str' can be declared as pointer to const [constParameter] 2.8 Text-BibTeX-0.88/btparse/src/string_util.c:111:23: style: Parameter 'str' can be declared with const [constParameter] DONE