2024-04-24 08:37 ftp://ftp.de.debian.org/debian/pool/main/d/docbook-to-man/docbook-to-man_2.0.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j2 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.53 compiler: g++ (Debian 13.2.0-13) 13.2.0 cppcheck: head 2.14.0 head-info: 7dab204 (2024-04-23 22:20:29 +0200) count: 171 171 elapsed-time: 5.1 5.0 head-timing-info: old-timing-info: head results: docbook-to-man-2.0.0.orig/Instant/allVersion.c:3:24: error: No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported. [syntaxError] docbook-to-man-2.0.0.orig/Instant/hyper.c:79:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ID [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/hyper.c:91:20: style: Parameter 'idval' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/browse.c:122:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/browse.c:469:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/info.c:90:11: style: Variable 'hfmt' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/info.c:91:11: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/info.c:168:16: style: Parameter 'e' can be declared as pointer to const. However it seems that 'print_indent' is a callback function, if 'e' is declared with const you might also need to cast function pointer(s). [constParameterCallback] docbook-to-man-2.0.0.orig/Instant/info.c:187:20: note: You might need to cast the function pointer here docbook-to-man-2.0.0.orig/Instant/info.c:168:16: note: Parameter 'e' can be declared as pointer to const docbook-to-man-2.0.0.orig/Instant/main.c:157:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/main.c:228:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/main.c:264:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/main.c:284:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/main.c:439:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/main.c:588:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/main.c:867:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/main.c:209:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] docbook-to-man-2.0.0.orig/Instant/main.c:244:11: style: Parameter 'var' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/main.c:372:15: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/main.c:395:11: style: Parameter 'ename' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/main.c:454:10: style: Variable 'na' is assigned a value that is never used. [unreadVariable] docbook-to-man-2.0.0.orig/Instant/browse.c:112:21: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/browse.c:113:11: style: Variable 'Prompt' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/browse.c:366:16: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/browse.c:427:11: style: Variable 'atval' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/tptregexp/regerror.c:10:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tptregexp/regerror.c:5:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tptregexp/regexp.c:218:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regexp [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tptregexp/regexp.c:293:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSUBEXP [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tptregexp/regexp.c:779:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSUBEXP [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tables.c:379:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tables.c:532:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tables.c:917:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tables.c:1284:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tables.c:1521:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tables.c:1940:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tptregexp/regexp.c:228:3: error: Memory leak: r [memleak] docbook-to-man-2.0.0.orig/Instant/tptregexp/regexp.c:634:7: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tptregexp/regexp.c:837:20: style: Variable 'opnd' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/tptregexp/regexp.c:995:17: style: Variable 'opnd' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/tables.c:1338:20: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] docbook-to-man-2.0.0.orig/Instant/tables.c:383:3: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] docbook-to-man-2.0.0.orig/Instant/tables.c:1749:10: style: Variable 'didSep' is reassigned a value before the old one has been used. [redundantAssignment] docbook-to-man-2.0.0.orig/Instant/tables.c:1744:11: note: didSep is assigned docbook-to-man-2.0.0.orig/Instant/tables.c:1749:10: note: didSep is overwritten docbook-to-man-2.0.0.orig/Instant/tables.c:830:10: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] docbook-to-man-2.0.0.orig/Instant/tables.c:831:5: note: Found duplicate branches for 'if' and 'else'. docbook-to-man-2.0.0.orig/Instant/tables.c:830:10: note: Found duplicate branches for 'if' and 'else'. docbook-to-man-2.0.0.orig/Instant/tables.c:1440:16: style: Local variable 'rowsep' shadows outer variable [shadowVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:209:12: note: Shadowed declaration docbook-to-man-2.0.0.orig/Instant/tables.c:1440:16: note: Shadow variable docbook-to-man-2.0.0.orig/Instant/tables.c:523:11: style: Variable 'tpref' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/tables.c:524:11: style: Variable 'ncolchk' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/tables.c:750:16: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tables.c:785:16: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tables.c:824:11: style: Variable 'at' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/tables.c:882:18: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/tables.c:910:21: style: Parameter 'ep' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tables.c:957:18: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/tables.c:1390:17: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tables.c:1466:18: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/tables.c:1577:35: style: Parameter 'tf1' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tables.c:1578:28: style: Parameter 'tf2' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tables.c:1621:38: style: Variable 'tfp3' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/tables.c:1862:18: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/tables.c:2010:23: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tables.c:2077:24: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tables.c:440:17: style: Unused variable: ep [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:520:13: style: Unused variable: r [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:520:16: style: Unused variable: c [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:521:16: style: Unused variable: ep [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:521:21: style: Unused variable: ep2 [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:522:11: style: Unused variable: wt [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:635:11: style: Unused variable: at [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:637:10: style: Unused variable: n [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:637:16: style: Unused variable: inspan [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:694:13: style: Unused variable: n [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:695:11: style: Unused variable: tot [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:696:11: style: Unused variable: cp [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:696:15: style: Unused variable: wbuf [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:755:20: style: Unused variable: at [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:883:30: style: Unused variable: ep2 [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:957:24: style: Unused variable: cp2 [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:958:28: style: Unused variable: ep3 [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:1360:32: style: Unused variable: tssp [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:1393:31: style: Unused variable: tcsp [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:1394:32: style: Unused variable: tssp [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:1510:15: style: Unused variable: i [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:1548:24: style: Unused variable: cp2 [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tables.c:1774:23: style: Unused variable: ep2 [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tptregexp/timer.c:48:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] docbook-to-man-2.0.0.orig/Instant/tptregexp/timer.c:99:1: portability: Omitted return type of function 'error' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] docbook-to-man-2.0.0.orig/Instant/tptregexp/timer.c:112:1: portability: Omitted return type of function 'multiple' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] docbook-to-man-2.0.0.orig/Instant/tptregexp/timer.c:125:1: portability: Omitted return type of function 'try' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] docbook-to-man-2.0.0.orig/Instant/tptregexp/timer.c:175:1: portability: Omitted return type of function 'complain' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] docbook-to-man-2.0.0.orig/Instant/tptregexp/timer.c:103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tptregexp/timer.c:130:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tptregexp/timer.c:179:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tptregexp/timer.c:100:7: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tptregexp/timer.c:101:7: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tptregexp/timer.c:176:7: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tptregexp/timer.c:177:7: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tptregexp/timer.c:54:7: style: Unused variable: dummy [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:51:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:101:1: portability: Omitted return type of function 'error' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:116:1: portability: Omitted return type of function 'multiple' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:189:1: portability: Omitted return type of function 'try' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:230:1: portability: Omitted return type of function 'complain' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:78:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSUBEXP [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:105:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:118:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:193:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:234:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/traninit.c:154:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/traninit.c:274:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:106:2: warning: fprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:102:7: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:103:7: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:231:7: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tptregexp/try.c:232:7: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/translate.c:104:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/translate.c:161:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/translate.c:229:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/translate.c:368:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/translate.c:548:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/translate.c:700:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/translate.c:779:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/translate.c:897:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/translate.c:926:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/traninit.c:290:11: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] docbook-to-man-2.0.0.orig/Instant/traninit.c:289:10: note: outer condition: *cp docbook-to-man-2.0.0.orig/Instant/traninit.c:290:11: note: identical inner condition: *cp docbook-to-man-2.0.0.orig/Instant/traninit.c:386:6: error: Common realloc mistake: 'CharMap' nulled but not freed upon failure [memleakOnRealloc] docbook-to-man-2.0.0.orig/Instant/traninit.c:359:26: style: Variable 'name' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/tranvar.c:119:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tranvar.c:528:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tranvar.c:621:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/tranvar.c:717:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/translate.c:285:12: warning: Found suspicious operator ',', result is not used. [constStatement] docbook-to-man-2.0.0.orig/Instant/translate.c:158:14: style: Variable 't' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/translate.c:479:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/translate.c:577:11: style: Parameter 's' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/translate.c:679:11: style: Parameter 'pi' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/translate.c:915:11: style: Parameter 'strn' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/translate.c:627:11: style: Unused variable: cp [unusedVariable] docbook-to-man-2.0.0.orig/Instant/translate.c:627:15: style: Unused variable: buf [unusedVariable] docbook-to-man-2.0.0.orig/Instant/translate.c:627:31: style: Unused variable: dp [unusedVariable] docbook-to-man-2.0.0.orig/Instant/translate.c:627:36: style: Unused variable: sub [unusedVariable] docbook-to-man-2.0.0.orig/Instant/translate.c:627:41: style: Unused variable: prev [unusedVariable] docbook-to-man-2.0.0.orig/Instant/translate.c:628:10: style: Unused variable: i [unusedVariable] docbook-to-man-2.0.0.orig/Instant/translate.c:628:13: style: Unused variable: mapped [unusedVariable] docbook-to-man-2.0.0.orig/Instant/util.c:342:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/util.c:376:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/util.c:667:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/util.c:908:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/util.c:926:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] docbook-to-man-2.0.0.orig/Instant/util.c:172:6: style: Condition '*s' is always true [knownConditionTrueFalse] docbook-to-man-2.0.0.orig/Instant/util.c:702:2: error: Common realloc mistake: 'UsedElem' nulled but not freed upon failure [memleakOnRealloc] docbook-to-man-2.0.0.orig/Instant/util.c:738:2: error: Common realloc mistake: 'UsedAtt' nulled but not freed upon failure [memleakOnRealloc] docbook-to-man-2.0.0.orig/Instant/util.c:295:17: warning: Either the condition 'name' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] docbook-to-man-2.0.0.orig/Instant/util.c:308:6: note: Assuming that condition 'name' is not redundant docbook-to-man-2.0.0.orig/Instant/util.c:295:17: note: Null pointer dereference docbook-to-man-2.0.0.orig/Instant/util.c:296:17: warning: Either the condition 'name' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] docbook-to-man-2.0.0.orig/Instant/util.c:308:6: note: Assuming that condition 'name' is not redundant docbook-to-man-2.0.0.orig/Instant/util.c:296:17: note: Null pointer dereference docbook-to-man-2.0.0.orig/Instant/util.c:297:17: warning: Either the condition 'name' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] docbook-to-man-2.0.0.orig/Instant/util.c:308:6: note: Assuming that condition 'name' is not redundant docbook-to-man-2.0.0.orig/Instant/util.c:297:17: note: Null pointer dereference docbook-to-man-2.0.0.orig/Instant/util.c:381:13: warning: Either the condition 'name' is redundant or there is possible null pointer dereference: val. [nullPointerRedundantCheck] docbook-to-man-2.0.0.orig/Instant/util.c:386:9: note: Assuming that condition 'name' is not redundant docbook-to-man-2.0.0.orig/Instant/util.c:380:10: note: name is assigned 'buf' here. docbook-to-man-2.0.0.orig/Instant/util.c:380:18: note: Assignment 'val=buf', assigned value is 0 docbook-to-man-2.0.0.orig/Instant/util.c:381:13: note: Null pointer dereference docbook-to-man-2.0.0.orig/Instant/util.c:661:12: style: Variable 'v' is reassigned a value before the old one has been used. [redundantAssignment] docbook-to-man-2.0.0.orig/Instant/util.c:658:7: note: v is assigned docbook-to-man-2.0.0.orig/Instant/util.c:661:12: note: v is overwritten docbook-to-man-2.0.0.orig/Instant/util.c:227:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/util.c:369:11: style: Parameter 's' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/util.c:400:11: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/util.c:479:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] docbook-to-man-2.0.0.orig/Instant/util.c:509:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/util.c:683:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/util.c:719:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/util.c:775:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/util.c:922:11: style: Parameter 'relname' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/util.c:1021:11: style: Parameter 'idval' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/util.c:458:33: warning: Uninitialized variable: e_path [uninitvar] docbook-to-man-2.0.0.orig/Instant/util.c:454:16: note: Assuming condition is false docbook-to-man-2.0.0.orig/Instant/util.c:458:33: note: Uninitialized variable: e_path docbook-to-man-2.0.0.orig/Instant/util.c:462:12: warning: Uninitialized variable: s [uninitvar] docbook-to-man-2.0.0.orig/Instant/util.c:482:52: note: Calling function 'FindElementPath', 2nd argument 'buf' value is docbook-to-man-2.0.0.orig/Instant/util.c:462:12: note: Uninitialized variable: s docbook-to-man-2.0.0.orig/Instant/util.c:292:16: style: Unused variable: xx [unusedVariable] docbook-to-man-2.0.0.orig/Instant/tranvar.c:592:21: warning: Either the condition '!s' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] docbook-to-man-2.0.0.orig/Instant/tranvar.c:628:9: note: Assuming that condition '!s' is not redundant docbook-to-man-2.0.0.orig/Instant/tranvar.c:592:21: note: Null pointer dereference docbook-to-man-2.0.0.orig/Instant/tranvar.c:522:22: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] docbook-to-man-2.0.0.orig/Instant/tranvar.c:671:11: style: Variable 'atval' can be declared as pointer to const [constVariablePointer] diff: DONE