2025-10-19 22:50 ftp://ftp.de.debian.org/debian/pool/main/w/wims/wims_4.30+dfsg1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j8 platform: Linux-6.16.12+deb14+1-amd64-x86_64-with-glibc2.41 python: 3.13.9 client-version: 1.3.69 compiler: g++ (Debian 15.2.0-4) 15.2.0 cppcheck: head 2.18.0 head-info: ba32fd20 (2025-10-18 16:18:37 +0200) count: 1881 1852 elapsed-time: 10.7 10.3 head-timing-info: old-timing-info: head results: tmptl6ivth2/public_html/scripts/oef/cn/qcm/src/cpp/qcm.cpp:11:8: error: The code contains unhandled character(s) (character code=193). Neither unicode nor extended ascii is supported. [syntaxError] tmptl6ivth2/public_html/modules/home/result.C:2:2: error: syntax error [syntaxError] tmptl6ivth2/public_html/scripts/oef/fr/qcm/src/cpp/qcm.cpp:18:20: error: The code contains unhandled character(s) (character code=233). Neither unicode nor extended ascii is supported. [syntaxError] tmptl6ivth2/public_html/modules/home/search.C:3:2: error: syntax error [syntaxError] tmptl6ivth2/public_html/scripts/oef/nl/qcm/src/cpp/qcm.cpp:18:20: error: The code contains unhandled character(s) (character code=233). Neither unicode nor extended ascii is supported. [syntaxError] tmptl6ivth2/public_html/scripts/oef/en/qcm/src/cpp/qcm.cpp:5:1: error: syntax error [syntaxError] tmptl6ivth2/src/Common/xmalloc.c:7:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Common/setenv.c:13:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] tmptl6ivth2/src/Common/setenv.c:11:14: note: Assuming allocation function fails tmptl6ivth2/src/Common/setenv.c:11:14: note: Assignment 's=xmalloc(2+strlen(name)+strlen(value))', assigned value is 0 tmptl6ivth2/src/Common/setenv.c:13:17: note: Null pointer dereference tmptl6ivth2/src/Flydraw/flydraw.c:79:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/flydraw.c:117:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/vimg.c:25:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/flylines.c:23:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/flylines.c:34:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/flylines.c:147:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdBrushed [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Interfaces/gap.c:128:22: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_uint] tmptl6ivth2/src/Interfaces/gap.c:124:33: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Interfaces/gap.c:139:25: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Interfaces/gap.c:134:29: style: Variable 'p' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Interfaces/m2.c:128:33: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Interfaces/m2.c:146:25: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Flydraw/vimg.c:23:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Flydraw/vimg.c:114:28: style: Parameter 'xy' can be declared as const array [constParameter] tmptl6ivth2/src/Flydraw/flydraw.c:124:26: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Flydraw/flylines.c:21:22: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Flydraw/flylines.c:151:19: style: Parameter 'dbuf' can be declared as const array [constParameter] tmptl6ivth2/src/Interfaces/maxima.c:202:7: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_uint] tmptl6ivth2/src/Interfaces/maxima.c:106:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Interfaces/maxima.c:197:33: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Interfaces/maxima.c:218:25: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Interfaces/common.c:186:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Interfaces/common.c:353:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Interfaces/common.c:438:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Interfaces/yacas.c:188:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Lib/dir.c:58:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Interfaces/scilab.c:118:33: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Interfaces/scilab.c:141:25: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Interfaces/octave.c:152:7: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/Interfaces/octave.c:152:7: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/Interfaces/octave.c:152:7: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/Interfaces/octave.c:152:7: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/Interfaces/octave.c:152:7: warning: %u in format string (no. 5) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/Interfaces/octave.c:152:7: warning: %u in format string (no. 6) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/Lib/dir.c:26:18: style: Variable 'f' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Interfaces/octave.c:107:19: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Interfaces/octave.c:146:33: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Interfaces/octave.c:168:25: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Interfaces/yacas.c:150:20: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Interfaces/yacas.c:245:25: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Interfaces/pari.c:184:22: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'int {aka signed int}'. [invalidPrintfArgType_uint] tmptl6ivth2/src/Lib/libwims.c:29:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Interfaces/pari.c:180:33: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Interfaces/pari.c:203:25: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Interfaces/pari.c:205:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Lib/libwims.c:27:18: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:280:68: debug: Function::addArguments found argument 'pt' with varid 0. [varid0] tmptl6ivth2/src/Lib/mt19937ar.c:74:34: style: Parameter 'init_key' can be declared as const array [constParameter] tmptl6ivth2/src/Lib/mt19937ar.c:103:24: style: Variable 'mag01' can be declared as const array [constVariable] tmptl6ivth2/src/Mathml/Changelog.insmath.c:21:42: error: The code contains unhandled character(s) (character code=178). Neither unicode nor extended ascii is supported. [syntaxError] tmptl6ivth2/src/Lib/evalue.c:137:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Lib/evalue.c:372:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Lib/math.c:61:39: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/Plouffe.c:68:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Mathml/wims_mathml.cc:50:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable npos [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Mathml/wims_mathml.cc:79:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/Plouffe.c:95:30: style: Variable 'last' is reassigned a value before the old one has been used. [redundantAssignment] tmptl6ivth2/src/Misc/Plouffe.c:90:26: note: last is assigned tmptl6ivth2/src/Misc/Plouffe.c:95:30: note: last is overwritten tmptl6ivth2/src/Misc/Plouffe.c:97:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] tmptl6ivth2/src/Misc/Plouffe.c:49:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/Plouffe.c:60:16: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/Plouffe.c:60:20: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/bioinfo/C_etat_civil.c:22:26: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Lib/liblines.c:53:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Lib/liblines.c:349:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Lib/liblines.c:780:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/bioinfo/tab1d.c:24:26: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Lib/evalue.c:136:26: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:151:45: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:156:45: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:166:33: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:171:20: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:321:27: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:371:20: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:377:34: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:383:34: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:389:16: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:393:40: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:396:27: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:419:41: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:425:43: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:433:14: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:464:40: error: Invalid log() argument nr 1. The value is -1 but the valid values are '4.94066e-324:'. [invalidFunctionArg] tmptl6ivth2/src/Lib/evalue.c:136:26: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:151:45: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:156:45: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:166:33: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:171:20: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:321:27: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:371:20: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:377:34: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:383:34: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:389:16: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:393:40: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:396:27: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:419:41: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:425:43: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:433:14: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:464:40: warning: Passing value -1 to log() leads to implementation-defined result. [wrongmathcall] tmptl6ivth2/src/Lib/evalue.c:479:14: warning: If memory allocation fails, then there is a possible null pointer dereference: p1 [nullPointerOutOfMemory] tmptl6ivth2/src/Lib/evalue.c:547:19: note: Assuming allocation function fails tmptl6ivth2/src/Lib/evalue.c:547:19: note: Assignment 'q=malloc(45000+1)', assigned value is 0 tmptl6ivth2/src/Lib/evalue.c:553:18: note: Calling function 'evalue_compile', 1st argument 'q' value is 0 tmptl6ivth2/src/Lib/evalue.c:479:10: note: Assignment 'p1=p', assigned value is 0 tmptl6ivth2/src/Lib/evalue.c:479:14: note: Null pointer dereference tmptl6ivth2/src/Lib/evalue.c:548:12: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] tmptl6ivth2/src/Lib/evalue.c:547:19: note: Assuming allocation function fails tmptl6ivth2/src/Lib/evalue.c:547:19: note: Assignment 'q=malloc(45000+1)', assigned value is 0 tmptl6ivth2/src/Lib/evalue.c:548:12: note: Null pointer dereference tmptl6ivth2/src/Lib/evalue.c:554:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Lib/evalue.c:546:27: note: Assuming allocation function fails tmptl6ivth2/src/Lib/evalue.c:546:27: note: Assignment 'p=malloc(sizeof(struct eval_struct))', assigned value is 0 tmptl6ivth2/src/Lib/evalue.c:554:3: note: Null pointer dereference tmptl6ivth2/src/Lib/evalue.c:281:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/evalue.c:298:23: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/evalue.c:457:24: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/evalue.c:544:34: style: Parameter 'in_p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Mathml/wims_mathml.cc:174:5: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tmptl6ivth2/src/Mathml/wims_mathml.cc:174:15: style: C-style pointer casting [cstyleCast] tmptl6ivth2/src/Mathml/wims_mathml.cc:172:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Mathml/wims_mathml.cc:178:12: style: Variable 'input' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Mathml/wims_mathml.cc:271:14: style: Variable 'mathml' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Mathml/wims_mathml.cc:69:6: style: Variable 'insize' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/canvasdraw/canvasdragstuff.c:194:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdragstuff.c:194:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdragstuff.c:244:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdragstuff.c:268:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdragstuff.c:297:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdragstuff.c:297:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdragstuff.c:304:30: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdragstuff.c:3:58: style:inconclusive: Function 'add_drag_code' argument 3 names different: declaration 'stuff' definition 'dragstuff'. [funcArgNamesDifferent] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.h:84:58: note: Function 'add_drag_code' argument 3 names different: declaration 'stuff' definition 'dragstuff'. tmptl6ivth2/src/Misc/canvasdraw/canvasdragstuff.c:3:58: note: Function 'add_drag_code' argument 3 names different: declaration 'stuff' definition 'dragstuff'. tmptl6ivth2/src/Misc/canvasdraw/canvasdragstuff.c:3:58: style: Parameter 'dragstuff' can be declared as const array [constParameter] tmptl6ivth2/src/Interfaces/common.c:347:8: style: Condition '*parm' is always true [knownConditionTrueFalse] tmptl6ivth2/src/Interfaces/common.c:146:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/Interfaces/common.c:159:5: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/Interfaces/common.c:401:8: style: Variable 'l' is reassigned a value before the old one has been used. [redundantAssignment] tmptl6ivth2/src/Interfaces/common.c:400:30: note: l is assigned tmptl6ivth2/src/Interfaces/common.c:401:8: note: l is overwritten tmptl6ivth2/src/Interfaces/common.c:55:31: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Interfaces/common.c:94:38: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Interfaces/common.c:168:38: style: Parameter 'inf' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Interfaces/common.c:168:49: style: Parameter 'outf' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Interfaces/common.c:168:61: style: Parameter 'errf' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Interfaces/common.c:173:11: style: Variable 'cm' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Interfaces/common.c:231:16: style: Variable 'pe' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Interfaces/common.c:274:17: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Interfaces/common.c:302:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Interfaces/common.c:385:22: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Interfaces/common.c:508:16: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Interfaces/common.c:508:27: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Lib/text.c:412:16: warning: Either the condition 'i<0' is redundant or the array 'text_proc[25]' is accessed at index -1, which is out of bounds. [negativeIndex] tmptl6ivth2/src/Lib/text.c:410:7: note: Assuming that condition 'i<0' is not redundant tmptl6ivth2/src/Lib/text.c:412:16: note: Negative array index tmptl6ivth2/src/Lib/text.c:27:4: warning: Either the condition 'p1==NULL' is redundant or there is possible null pointer dereference: p1. [nullPointerRedundantCheck] tmptl6ivth2/src/Lib/text.c:26:25: note: Assuming that condition 'p1==NULL' is not redundant tmptl6ivth2/src/Lib/text.c:27:4: note: Null pointer dereference tmptl6ivth2/src/Lib/text.c:168:4: warning: Either the condition 'table==NULL' is redundant or there is possible null pointer dereference: table. [nullPointerRedundantCheck] tmptl6ivth2/src/Lib/text.c:167:11: note: Assuming that condition 'table==NULL' is not redundant tmptl6ivth2/src/Lib/text.c:168:4: note: Null pointer dereference tmptl6ivth2/src/Lib/text.c:180:15: warning: Either the condition 'p1==NULL' is redundant or there is possible null pointer dereference: p1. [nullPointerRedundantCheck] tmptl6ivth2/src/Lib/text.c:179:10: note: Assuming that condition 'p1==NULL' is not redundant tmptl6ivth2/src/Lib/text.c:180:15: note: Null pointer dereference tmptl6ivth2/src/Lib/text.c:27:31: warning: Either the condition 'p1==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/Lib/text.c:26:25: note: Assuming that condition 'p1==NULL' is not redundant tmptl6ivth2/src/Lib/text.c:27:31: note: Null pointer addition tmptl6ivth2/src/Lib/text.c:169:30: warning: Either the condition 'table==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/Lib/text.c:167:11: note: Assuming that condition 'table==NULL' is not redundant tmptl6ivth2/src/Lib/text.c:169:30: note: Null pointer addition tmptl6ivth2/src/Lib/text.c:53:7: style: Local variable 'min' shadows outer function [shadowFunction] tmptl6ivth2/src/Lib/libwims.h:158:8: note: Shadowed declaration tmptl6ivth2/src/Lib/text.c:53:7: note: Shadow variable tmptl6ivth2/src/Lib/text.c:53:11: style: Local variable 'max' shadows outer function [shadowFunction] tmptl6ivth2/src/Lib/libwims.h:157:8: note: Shadowed declaration tmptl6ivth2/src/Lib/text.c:53:11: note: Shadow variable tmptl6ivth2/src/Lib/text.c:224:7: style: Local variable 'min' shadows outer function [shadowFunction] tmptl6ivth2/src/Lib/libwims.h:158:8: note: Shadowed declaration tmptl6ivth2/src/Lib/text.c:224:7: note: Shadow variable tmptl6ivth2/src/Lib/text.c:224:11: style: Local variable 'max' shadows outer function [shadowFunction] tmptl6ivth2/src/Lib/libwims.h:157:8: note: Shadowed declaration tmptl6ivth2/src/Lib/text.c:224:11: note: Shadow variable tmptl6ivth2/src/Lib/text.c:249:7: style: Local variable 'min' shadows outer function [shadowFunction] tmptl6ivth2/src/Lib/libwims.h:158:8: note: Shadowed declaration tmptl6ivth2/src/Lib/text.c:249:7: note: Shadow variable tmptl6ivth2/src/Lib/text.c:249:11: style: Local variable 'max' shadows outer function [shadowFunction] tmptl6ivth2/src/Lib/libwims.h:157:8: note: Shadowed declaration tmptl6ivth2/src/Lib/text.c:249:11: note: Shadow variable tmptl6ivth2/src/Lib/text.c:162:17: style: Variable 'dline' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Lib/text.c:273:11: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:28:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Lib/liblines.c:694:34: warning: Either the condition '*sp<0' is redundant or strchr() argument nr 2 can have invalid value. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] tmptl6ivth2/src/Lib/liblines.c:694:11: note: Assuming that condition '*sp<0' is not redundant tmptl6ivth2/src/Lib/liblines.c:694:34: note: Invalid argument tmptl6ivth2/src/Lib/liblines.c:701:33: warning: Either the condition 'c<0' is redundant or strchr() argument nr 2 can have invalid value. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] tmptl6ivth2/src/Lib/liblines.c:701:9: note: Assuming that condition 'c<0' is not redundant tmptl6ivth2/src/Lib/liblines.c:701:33: note: Invalid argument tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:4:1: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:4:1: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:4:1: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:28:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:28:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:28:3: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:28:3: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:28:3: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:28:3: warning: %d in format string (no. 11) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:28:3: warning: %d in format string (no. 12) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 10) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 11) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 12) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 13) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 14) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 15) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 16) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 18) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 20) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 21) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 22) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 23) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 24) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 25) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 26) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 27) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 28) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 29) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 30) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 31) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 32) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 33) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 34) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:58:3: warning: %d in format string (no. 35) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:139:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:139:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:139:3: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:139:3: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:184:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:269:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:368:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:368:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:405:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:405:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:444:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:480:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:506:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:506:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:550:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:568:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:585:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:834:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:834:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:834:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:834:3: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:834:3: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:887:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1060:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1060:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1118:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1118:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1193:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1259:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1280:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1280:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1355:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1355:2: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1425:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1495:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:3:32: style: Parameter 'stroke_color' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:27:25: style: Parameter 'getfile_cmd' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:57:27: style: Parameter 'tooltip_text' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:57:46: style: Parameter 'bgcolor' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:138:54: style: Parameter 'stroke_color' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:183:59: style: Parameter 'font_color' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:367:23: style: Parameter 'jsmath' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:367:50: style: Parameter 'css_class' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:402:47: style: Parameter 'stroke_color' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:402:67: style: Parameter 'jsmath' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:404:28: style: Parameter 'css_class' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:443:28: style: Parameter 'css_class' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:479:40: style: Parameter 'css_class' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:505:33: style: Parameter 'css_class' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:505:49: style: Parameter 'input_label' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:505:81: style: Parameter 'stroke_color' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:549:39: style: Parameter 'css_class' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:567:45: style: Parameter 'css_class' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:584:40: style: Parameter 'css_class' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:820:29: style: Parameter 'css_class' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:820:45: style: Parameter 'button_text' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:886:30: style: Parameter 'css_class' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1115:69: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1116:7: style: Parameter 'stroke_color' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1116:48: style: Parameter 'fill_color' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1272:78: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1272:89: style: Parameter 'stroke_color' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmacro.c:1272:130: style: Parameter 'fill_color' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:67:21: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:186:32: style: Parameter 'fnd' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:217:21: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:217:29: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:223:30: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:236:30: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:238:13: style: Variable 'r1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Lib/liblines.c:238:18: style: Variable 'r2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Lib/liblines.c:251:30: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:267:29: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:344:16: style: Variable 'old' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Lib/liblines.c:360:23: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:375:16: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Lib/liblines.c:397:16: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Lib/liblines.c:407:28: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:514:27: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:532:30: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:657:24: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:664:24: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:692:9: style: Variable 'v' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Lib/liblines.c:700:9: style: Variable 'v' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Lib/liblines.c:707:17: style: Variable 'q2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Lib/liblines.c:725:14: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Lib/liblines.c:740:27: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:757:27: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:757:55: style: Parameter 'bad_end' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Lib/liblines.c:910:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Lib/liblines.c:347:11: portability: 'list' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] tmptl6ivth2/src/Lib/liblines.c:365:36: portability: 'list' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] tmptl6ivth2/src/Lib/liblines.c:316:41: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:151:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:151:6: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:151:6: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:159:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:159:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:159:13: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:174:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:174:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:174:13: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:182:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:182:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:182:13: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:196:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:196:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:196:13: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:211:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:211:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:211:13: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:233:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:233:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:233:13: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:246:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:246:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:246:13: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:259:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:259:13: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:259:13: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:273:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:273:14: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:273:14: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:286:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:286:14: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:286:14: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:300:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:300:14: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:300:14: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:331:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:331:14: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:331:14: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:366:15: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:366:15: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:366:15: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:379:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:379:14: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:379:14: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:406:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:406:14: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:406:14: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:413:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:413:14: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:413:14: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:427:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:427:14: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:427:14: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:440:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:440:14: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:440:14: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:456:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:456:14: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:456:14: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:477:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:477:14: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:477:14: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:493:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:493:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:493:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:507:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:507:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:507:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:521:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:521:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:521:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:535:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:535:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:535:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:552:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:552:7: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:552:7: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:655:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:655:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:655:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:667:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:667:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:667:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:679:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:679:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:679:7: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:694:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:694:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:694:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasreply.c:330:7: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] tmptl6ivth2/src/Misc/bioinfo/test_cond.c:20:25: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:39:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:129:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:342:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:342:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:342:9: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:342:9: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:394:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:595:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:595:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:595:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:620:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:620:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:654:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:654:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:682:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:682:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:760:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:760:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:789:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:789:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:824:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:824:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1097:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1097:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1097:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1097:9: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1097:9: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1097:9: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1097:9: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1097:9: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1097:9: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1287:1: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1359:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1359:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1359:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1359:9: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1697:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1697:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1697:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1812:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1812:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1812:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1908:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1908:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1908:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1929:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1929:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:1929:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2003:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2019:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2128:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2128:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2128:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2167:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2167:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2167:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2167:9: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2264:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2264:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2264:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2264:9: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2365:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2365:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2365:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2365:9: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:2464:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasutils.c:9:7: style: Variable 'mathjax' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:22:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:46:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:52:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:52:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:89:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:204:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:235:11: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:235:11: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:245:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:294:7: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:294:7: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:303:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:366:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:366:9: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:375:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:417:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:417:9: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:426:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:483:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:483:9: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:492:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:543:4: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:543:4: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:552:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:615:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:615:9: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:624:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:659:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:659:9: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:667:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:709:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:709:9: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:718:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:771:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:771:9: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:780:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:857:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:857:9: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:870:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:979:11: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:992:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:1035:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:1035:9: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:1044:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:1091:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:1091:9: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:1099:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:1141:9: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:1141:9: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:1156:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:1204:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:13:46: style:inconclusive: Function 'add_js_multidraw' argument 2 names different: declaration 'button_style' definition 'table_css'. [funcArgNamesDifferent] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.h:110:46: note: Function 'add_js_multidraw' argument 2 names different: declaration 'button_style' definition 'table_css'. tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:13:46: note: Function 'add_js_multidraw' argument 2 names different: declaration 'button_style' definition 'table_css'. tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:13:75: style:inconclusive: Function 'add_js_multidraw' argument 4 names different: declaration 'use_controls' definition 'no_controls'. [funcArgNamesDifferent] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.h:110:78: note: Function 'add_js_multidraw' argument 4 names different: declaration 'use_controls' definition 'no_controls'. tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:13:75: note: Function 'add_js_multidraw' argument 4 names different: declaration 'use_controls' definition 'no_controls'. tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:13:29: style: Parameter 'draw_types' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:13:46: style: Parameter 'table_css' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasmultidraw.c:24:9: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/ccsum.c:90:32: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/ccsum.c:89:16: note: Assuming allocation function fails tmptl6ivth2/src/Misc/ccsum.c:89:16: note: Assignment 'buf=xmalloc(strlen(s)+1)', assigned value is 0 tmptl6ivth2/src/Misc/ccsum.c:90:32: note: Null pointer dereference tmptl6ivth2/src/Misc/ccsum.c:136:35: warning: If memory allocation fails, then there is a possible null pointer dereference: fbuf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/ccsum.c:136:15: note: Assuming allocation function fails tmptl6ivth2/src/Misc/ccsum.c:136:15: note: Assignment 'fbuf=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Misc/ccsum.c:136:35: note: Null pointer dereference tmptl6ivth2/src/Misc/ccsum.c:136:59: warning: If memory allocation fails, then there is a possible null pointer dereference: fbuf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/ccsum.c:136:15: note: Assuming allocation function fails tmptl6ivth2/src/Misc/ccsum.c:136:15: note: Assignment 'fbuf=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Misc/ccsum.c:136:59: note: Null pointer dereference tmptl6ivth2/src/Misc/ccsum.c:137:17: warning: If memory allocation fails, then there is a possible null pointer dereference: p1 [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/ccsum.c:136:15: note: Assuming allocation function fails tmptl6ivth2/src/Misc/ccsum.c:136:15: note: Assignment 'fbuf=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Misc/ccsum.c:137:10: note: Assignment 'p1=fbuf', assigned value is 0 tmptl6ivth2/src/Misc/ccsum.c:137:17: note: Null pointer dereference tmptl6ivth2/src/Misc/ccsum.c:51:38: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/ccsum.c:133:26: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/ccsum.c:165:15: style: Variable 'cl1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/ccsum.c:165:21: style: Variable 'cl2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/canvasdraw/canvasuserdraw.c:164:23: style: Redundant condition: The condition 'reply_format == 0' is redundant since 'reply_format != -1' is sufficient. [redundantCondition] tmptl6ivth2/src/Misc/canvasdraw/canvasuserdraw.c:1561:28: style: Redundant condition: The condition 'reply_format == 0' is redundant since 'reply_format != -1' is sufficient. [redundantCondition] tmptl6ivth2/src/Misc/canvasdraw/canvasuserdraw.c:1167:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasuserdraw.c:1433:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasuserdraw.c:3:248: style: Parameter 'font_family' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasuserdraw.c:6:13: style: Variable 'userdraw_primitives' can be declared as const array [constVariable] tmptl6ivth2/src/Misc/canvasdraw/canvasuserdraw.c:38:12: style: Variable 'userdraw_primitives_length' can be declared as const array [constVariable] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:145:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Zed [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:157:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Zed [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:168:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Zed [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:203:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Zed [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:214:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sqbr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:261:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:270:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nb [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:279:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nb [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:292:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:296:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nb [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:318:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:324:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:361:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:429:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:440:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nb [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:445:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nb [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:449:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nb [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:453:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:469:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aqueous [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:502:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:597:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sol [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:693:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:702:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:719:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:734:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Faraday [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:741:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gauche [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:763:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:822:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:838:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:864:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:929:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:946:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MINVAL [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:1004:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable i [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:1023:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable table [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:1028:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable table [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chroot.c:101:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chroot.c:127:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXO [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chroot.c:193:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CPU [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/clickzone.c:115:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/clickzone.c:276:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:171:15: style: Expression is always true because 'else if' condition is opposite to previous condition at line 168. [multiCondition] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:168:9: note: first condition tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:171:15: note: else if condition is opposite to first condition tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:179:16: style: The scope of the variable 'al1' can be reduced. [variableScope] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:849:12: style: The scope of the variable 'ga' can be reduced. [variableScope] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:849:18: style: The scope of the variable 'dr' can be reduced. [variableScope] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:659:54: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:660:56: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:679:54: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] tmptl6ivth2/src/Misc/chemeq/src/chemeq.cc:681:56: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] tmptl6ivth2/src/Misc/chroot.c:143:29: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] tmptl6ivth2/src/Misc/chroot.c:86:18: style: Variable 'f' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/chroot.c:137:18: style: Variable 'ses' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/chroot.c:162:9: style: Variable 'pc' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/chroot.c:177:13: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/bioinfo/tab2d.c:29:26: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Flydraw/objects.c:37:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdBrushed [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/objects.c:74:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdTransparent [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/objects.c:227:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/objects.c:284:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/objects.c:346:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITY [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/objects.c:956:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdBrushed [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/objects.c:998:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdTiled [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/objects.c:1014:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdTiled [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/objects.c:1030:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdTiled [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/objects.c:1046:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdTiled [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/objects.c:1213:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdTransparent [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/objects.c:1661:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdMaxColors [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/objects.c:1775:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdBrushed [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/objects.c:1823:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdTiled [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/clickzone.c:78:7: style: Condition 'p!=NULL' is always true [knownConditionTrueFalse] tmptl6ivth2/src/Misc/clickzone.c:78:19: style: Condition '*p!=0' is always true [knownConditionTrueFalse] tmptl6ivth2/src/Misc/clickzone.c:43:13: style: Variable 'm' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/crossword/crossword.c:272:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/crossword/crossword.c:327:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/crossword/crossword.c:960:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/crossword/crossword.c:1060:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/cyclicode.c:38:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/cryptarith.c:36:23: style: Parameter 'curr' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/cryptarith.c:65:20: style: Parameter 'curr' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/cyclicode.c:36:22: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/cyclicode.c:43:9: style: Variable 'parm' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/curvecomp.c:142:9: style: Condition 'i=100' is redundant or the array 'maintab[i].code[100]' is accessed at index 100, which is out of bounds. [arrayIndexOutOfBoundsCond] tmptl6ivth2/src/Misc/huffman.c:95:9: note: Assuming that condition 'l>=100' is not redundant tmptl6ivth2/src/Misc/huffman.c:97:20: note: Array index out of bounds tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:175:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:254:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:44:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:44:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:45:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:45:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:46:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:46:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:47:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:47:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:48:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:48:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:64:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:64:54: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/lceb/lceb_bigsum.c:143:27: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:182:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:256:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:44:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:44:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:45:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:45:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:46:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:46:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:47:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:47:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:48:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:48:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:64:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:64:54: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/lceb/lceb_dyn.c:151:27: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:186:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:260:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:43:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:42:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:42:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:43:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:44:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:42:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:42:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:44:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:45:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:42:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:42:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:45:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:46:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:42:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:42:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:46:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:47:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:42:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:42:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:47:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:63:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:63:54: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/lceb/lceb_dynopt.c:155:27: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/exostat.c:136:34: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/exostat.c:136:14: note: Assuming allocation function fails tmptl6ivth2/src/Misc/exostat.c:136:14: note: Assignment 'buf=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Misc/exostat.c:136:34: note: Null pointer dereference tmptl6ivth2/src/Misc/exostat.c:136:57: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/exostat.c:136:14: note: Assuming allocation function fails tmptl6ivth2/src/Misc/exostat.c:136:14: note: Assignment 'buf=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Misc/exostat.c:136:57: note: Null pointer dereference tmptl6ivth2/src/Misc/exostat.c:54:11: style: Local variable 'min' shadows outer function [shadowFunction] tmptl6ivth2/src/Lib/libwims.h:158:8: note: Shadowed declaration tmptl6ivth2/src/Misc/exostat.c:54:11: note: Shadow variable tmptl6ivth2/src/Misc/exostat.c:315:28: style: Local variable 'user' shadows outer variable [shadowVariable] tmptl6ivth2/src/Misc/exostat.c:50:24: note: Shadowed declaration tmptl6ivth2/src/Misc/exostat.c:315:28: note: Shadow variable tmptl6ivth2/src/Misc/exostat.c:66:29: style: Parameter 'typ' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/exostat.c:72:9: style: Variable 'ltype' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/exostat.c:128:20: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/exostat.c:167:19: style: Parameter 'dirname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/exostat.c:184:20: style: Parameter 'dirname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/exostat.c:184:34: style: Parameter 'fname' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/exostat.c:200:37: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/exostat.c:215:25: style: Parameter 'dat' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/exostat.c:317:9: style: Variable 'cdata' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/exostat.c:317:17: style: Variable 'udata' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/exostat.c:317:25: style: Variable 'sh' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/html2msg.c:115:19: error: Resource leak: f [resourceLeak] tmptl6ivth2/src/Misc/html2msg.c:116:43: warning: If memory allocation fails, then there is a possible null pointer dereference: filebuf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/html2msg.c:116:18: note: Assuming allocation function fails tmptl6ivth2/src/Misc/html2msg.c:116:18: note: Assignment 'filebuf=xmalloc(2*flen+1024)', assigned value is 0 tmptl6ivth2/src/Misc/html2msg.c:116:43: note: Null pointer dereference tmptl6ivth2/src/Misc/html2msg.c:119:3: warning: If memory allocation fails, then there is a possible null pointer dereference: filebuf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/html2msg.c:116:18: note: Assuming allocation function fails tmptl6ivth2/src/Misc/html2msg.c:116:18: note: Assignment 'filebuf=xmalloc(2*flen+1024)', assigned value is 0 tmptl6ivth2/src/Misc/html2msg.c:119:3: note: Null pointer dereference tmptl6ivth2/src/Misc/html2msg.c:78:31: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/html2msg.c:89:19: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/html2msg.c:126:14: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/html2msg.c:261:9: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:175:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:256:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:44:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:44:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:45:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:45:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:46:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:46:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:47:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:47:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:48:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:43:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:43:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:48:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:64:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:64:54: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/lceb/lceb_easiest.c:143:27: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/mathexp/basic.c:118:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/lceb/lceb_rec.c:174:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/lceb/lceb_rec.c:182:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/mathexp/extract.c:37:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/lceb/lceb_rec.c:40:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_rec.c:39:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_rec.c:39:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_rec.c:40:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_rec.c:41:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_rec.c:39:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_rec.c:39:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_rec.c:41:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_rec.c:42:2: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/lceb/lceb_rec.c:39:29: note: Assuming allocation function fails tmptl6ivth2/src/Misc/lceb/lceb_rec.c:39:6: note: Assignment 'p=(struct result*)malloc(sizeof(struct result))', assigned value is 0 tmptl6ivth2/src/Misc/lceb/lceb_rec.c:42:2: note: Null pointer dereference tmptl6ivth2/src/Misc/lceb/lceb_rec.c:152:27: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/mathexp/mathexp.c:78:43: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] tmptl6ivth2/src/Misc/mathexp/mathexp.c:77:9: note: Assuming that condition 'p==NULL' is not redundant tmptl6ivth2/src/Misc/mathexp/mathexp.c:78:43: note: Null pointer dereference tmptl6ivth2/src/Misc/mathexp/mathexp.c:73:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/mathexp/basic.c:55:12: warning: Either the condition 'p3==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/Misc/mathexp/basic.c:54:15: note: Assuming that condition 'p3==NULL' is not redundant tmptl6ivth2/src/Misc/mathexp/basic.c:55:12: note: Null pointer addition tmptl6ivth2/src/Misc/mathexp/basic.c:84:34: warning: Either the condition 'p3==NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/Misc/mathexp/basic.c:83:16: note: Assuming that condition 'p3==NULL' is not redundant tmptl6ivth2/src/Misc/mathexp/basic.c:84:34: note: Null pointer subtraction tmptl6ivth2/src/Misc/mathexp/basic.c:84:46: warning: Either the condition 'p3==NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/Misc/mathexp/basic.c:83:16: note: Assuming that condition 'p3==NULL' is not redundant tmptl6ivth2/src/Misc/mathexp/basic.c:84:46: note: Null pointer subtraction tmptl6ivth2/src/Misc/mathexp/basic.c:85:13: warning: Either the condition 'p3==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/Misc/mathexp/basic.c:83:16: note: Assuming that condition 'p3==NULL' is not redundant tmptl6ivth2/src/Misc/mathexp/basic.c:85:13: note: Null pointer addition tmptl6ivth2/src/Misc/mathexp/basic.c:22:11: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/mathexp/basic.c:106:21: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/mathexp/not.c:72:65: warning: Either the condition 'i>=(sizeof(revtab)/sizeof(revtab[0]))' is redundant or the array 'revtab[10]' is accessed at index 10, which is out of bounds. [arrayIndexOutOfBoundsCond] tmptl6ivth2/src/Misc/mathexp/not.c:71:14: note: Assuming that condition 'i>=(sizeof(revtab)/sizeof(revtab[0]))' is not redundant tmptl6ivth2/src/Misc/mathexp/not.c:72:65: note: Array index out of bounds tmptl6ivth2/src/Misc/mathexp/not.c:128:15: style: Variable 'ld' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/mathexp/extract.c:65:33: warning: Either the condition 'p3==NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/Misc/mathexp/extract.c:64:22: note: Assuming that condition 'p3==NULL' is not redundant tmptl6ivth2/src/Misc/mathexp/extract.c:65:33: note: Null pointer subtraction tmptl6ivth2/src/Misc/mathexp/extract.c:65:45: warning: Either the condition 'p3==NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/Misc/mathexp/extract.c:64:22: note: Assuming that condition 'p3==NULL' is not redundant tmptl6ivth2/src/Misc/mathexp/extract.c:65:45: note: Null pointer subtraction tmptl6ivth2/src/Misc/mathexp/extract.c:100:34: warning: Either the condition 'p3==NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/Misc/mathexp/extract.c:99:16: note: Assuming that condition 'p3==NULL' is not redundant tmptl6ivth2/src/Misc/mathexp/extract.c:100:34: note: Null pointer subtraction tmptl6ivth2/src/Misc/mathexp/extract.c:100:46: warning: Either the condition 'p3==NULL' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/Misc/mathexp/extract.c:99:16: note: Assuming that condition 'p3==NULL' is not redundant tmptl6ivth2/src/Misc/mathexp/extract.c:100:46: note: Null pointer subtraction tmptl6ivth2/src/Misc/mathexp/extract.c:102:13: warning: Either the condition 'p3==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/Misc/mathexp/extract.c:99:16: note: Assuming that condition 'p3==NULL' is not redundant tmptl6ivth2/src/Misc/mathexp/extract.c:102:13: note: Null pointer addition tmptl6ivth2/src/Misc/mathexp/extract.c:22:30: style: Parameter 'pe' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/mathexp/extract.c:22:48: style: Parameter 'commas' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/moneyprint/moneyprint.c:52:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/oncechar.c:66:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/modind.c:881:44: debug: Function::addArguments found argument 'int' with varid 0. [varid0] tmptl6ivth2/src/Misc/modind.c:990:34: debug: Function::addArguments found argument 'int' with varid 0. [varid0] tmptl6ivth2/src/Misc/phtmltext.c:41:19: error: Resource leak: f [resourceLeak] tmptl6ivth2/src/Misc/phtmltext.c:42:43: warning: If memory allocation fails, then there is a possible null pointer dereference: filebuf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/phtmltext.c:42:18: note: Assuming allocation function fails tmptl6ivth2/src/Misc/phtmltext.c:42:18: note: Assignment 'filebuf=xmalloc(2*flen+1024)', assigned value is 0 tmptl6ivth2/src/Misc/phtmltext.c:42:43: note: Null pointer dereference tmptl6ivth2/src/Misc/phtmltext.c:123:26: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/moneyprint/moneyprint.c:100:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tmptl6ivth2/src/Misc/moneyprint/moneyprint.c:174:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tmptl6ivth2/src/Misc/moneyprint/moneyprint.c:75:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/moneyprint/moneyprint.c:98:9: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/modstat.c:61:30: error: Resource leak: f [resourceLeak] tmptl6ivth2/src/Misc/modstat.c:65:16: error: Resource leak: f [resourceLeak] tmptl6ivth2/src/Misc/modstat.c:63:14: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/modstat.c:62:34: note: Assuming allocation function fails tmptl6ivth2/src/Misc/modstat.c:62:34: note: Assignment 'buf=xmalloc(len+1)', assigned value is 0 tmptl6ivth2/src/Misc/modstat.c:63:14: note: Null pointer dereference tmptl6ivth2/src/Misc/modstat.c:67:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/modstat.c:62:34: note: Assuming allocation function fails tmptl6ivth2/src/Misc/modstat.c:62:34: note: Assignment 'buf=xmalloc(len+1)', assigned value is 0 tmptl6ivth2/src/Misc/modstat.c:64:14: note: Assuming condition is false tmptl6ivth2/src/Misc/modstat.c:67:3: note: Null pointer dereference tmptl6ivth2/src/Misc/moneyprint/moneyprint.c:80:12: style: Variable 'powE' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/moneyprint/moneyprint.c:81:12: style: Variable 'idx1' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/moneyprint/moneyprint.c:82:12: style: Variable 'idx2' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/moneyprint/moneyprint.c:83:13: style: Variable 'length' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/moneyprint/moneyprint.c:85:13: style: Variable 'pow10' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/modstat.c:52:19: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/modstat.c:110:19: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:153:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:241:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/sigdigits/sigdigits.c:75:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:266:24: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:295:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:113:35: warning: If memory allocation fails, then there is a possible null pointer dereference: head [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:111:23: note: Assuming allocation function fails tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:111:23: note: Assignment 'new_word=strdup(word)', assigned value is 0 tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:112:12: note: Assignment 'head=new_word', assigned value is 0 tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:113:35: note: Null pointer dereference tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:105:11: style: Variable 'part_word' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:141:11: style: Variable 'sign' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:141:29: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:246:31: style: Variable 'type' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:246:39: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:246:56: style: Variable 'size' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/scienceprint/scienceprint.c:247:29: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/suffix.c:67:9: style: Condition 'k<0' is always true [knownConditionTrueFalse] tmptl6ivth2/src/Misc/suffix.c:65:9: note: Assuming that condition 'k==0' is not redundant tmptl6ivth2/src/Misc/suffix.c:66:9: note: Assuming condition is false tmptl6ivth2/src/Misc/suffix.c:67:9: note: Condition 'k<0' is always true tmptl6ivth2/src/Misc/suffix.c:96:22: error: Resource leak: suff [resourceLeak] tmptl6ivth2/src/Misc/suffix.c:97:38: warning: If memory allocation fails, then there is a possible null pointer dereference: sufbuf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/suffix.c:97:17: note: Assuming allocation function fails tmptl6ivth2/src/Misc/suffix.c:97:17: note: Assignment 'sufbuf=xmalloc(flen+16)', assigned value is 0 tmptl6ivth2/src/Misc/suffix.c:97:38: note: Null pointer dereference tmptl6ivth2/src/Misc/suffix.c:52:23: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/suffix.c:86:23: style: Parameter 'sdicname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/modind.c:326:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/modind.c:411:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/modind.c:444:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/modind.c:501:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/modind.c:1005:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/crossword/crossword.c:327:5: portability: %lo in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] tmptl6ivth2/src/Misc/crossword/crossword.c:1096:7: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/crossword/crossword.c:1093:21: note: Assuming allocation function fails tmptl6ivth2/src/Misc/crossword/crossword.c:1093:7: note: Assignment 'd=(struct node*)calloc(1,sizeof(struct node))', assigned value is 0 tmptl6ivth2/src/Misc/crossword/crossword.c:1096:7: note: Null pointer dereference tmptl6ivth2/src/Misc/crossword/crossword.c:1097:7: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/crossword/crossword.c:1093:21: note: Assuming allocation function fails tmptl6ivth2/src/Misc/crossword/crossword.c:1093:7: note: Assignment 'd=(struct node*)calloc(1,sizeof(struct node))', assigned value is 0 tmptl6ivth2/src/Misc/crossword/crossword.c:1097:7: note: Null pointer dereference tmptl6ivth2/src/Misc/crossword/crossword.c:1101:7: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/crossword/crossword.c:1093:21: note: Assuming allocation function fails tmptl6ivth2/src/Misc/crossword/crossword.c:1093:7: note: Assignment 'd=(struct node*)calloc(1,sizeof(struct node))', assigned value is 0 tmptl6ivth2/src/Misc/crossword/crossword.c:1101:7: note: Null pointer dereference tmptl6ivth2/src/Misc/crossword/crossword.c:1102:7: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/crossword/crossword.c:1093:21: note: Assuming allocation function fails tmptl6ivth2/src/Misc/crossword/crossword.c:1093:7: note: Assignment 'd=(struct node*)calloc(1,sizeof(struct node))', assigned value is 0 tmptl6ivth2/src/Misc/crossword/crossword.c:1102:7: note: Null pointer dereference tmptl6ivth2/src/Misc/crossword/crossword.c:192:23: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/crossword/crossword.c:391:23: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/crossword/crossword.c:432:23: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/crossword/crossword.c:491:14: style: Variable 'ld' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/crossword/crossword.c:603:14: style: Variable 'ld' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/crossword/crossword.c:724:14: style: Variable 'ld' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/crossword/crossword.c:955:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/symtext/compile.c:47:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/symtext/compile.c:293:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/symtext/compile.c:688:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/symtext/match.c:102:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/symtext/match.c:119:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/symtext/match.c:140:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/symtext/match.c:380:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Flydraw/objects.c:1338:18: error: fprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] tmptl6ivth2/src/Flydraw/objects.c:1381:18: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] tmptl6ivth2/src/Flydraw/objects.c:1426:5: error: fprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum] tmptl6ivth2/src/Flydraw/objects.c:1435:18: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] tmptl6ivth2/src/Misc/symtext/suffix.c:64:11: style: Condition 'k<0' is always true [knownConditionTrueFalse] tmptl6ivth2/src/Misc/symtext/suffix.c:62:11: note: Assuming that condition 'k==0' is not redundant tmptl6ivth2/src/Misc/symtext/suffix.c:63:11: note: Assuming condition is false tmptl6ivth2/src/Misc/symtext/suffix.c:64:11: note: Condition 'k<0' is always true tmptl6ivth2/src/Misc/symtext/suffix.c:91:24: error: Resource leak: suff [resourceLeak] tmptl6ivth2/src/Misc/symtext/suffix.c:92:40: warning: If memory allocation fails, then there is a possible null pointer dereference: sufbuf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/symtext/suffix.c:92:19: note: Assuming allocation function fails tmptl6ivth2/src/Misc/symtext/suffix.c:92:19: note: Assignment 'sufbuf=xmalloc(flen+16)', assigned value is 0 tmptl6ivth2/src/Misc/symtext/suffix.c:92:40: note: Null pointer dereference tmptl6ivth2/src/Misc/symtext/suffix.c:50:23: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Flydraw/objects.c:867:20: warning: If memory allocation fails, then there is a possible null pointer dereference: check [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:866:24: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:866:24: note: Assignment 'check=xmalloc(numpix)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:867:20: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:869:3: warning: If memory allocation fails, then there is a possible null pointer dereference: check [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:866:24: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:866:24: note: Assignment 'check=xmalloc(numpix)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:869:3: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:870:3: warning: If memory allocation fails, then there is a possible null pointer dereference: stack [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:860:23: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:860:23: note: Assignment 'stack=xmalloc(numpix*sizeof(int))', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:870:3: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:873:11: warning: If memory allocation fails, then there is a possible null pointer dereference: stack [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:860:23: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:860:23: note: Assignment 'stack=xmalloc(numpix*sizeof(int))', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:873:11: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:1407:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ld [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assignment 'ld=xmalloc(sizeof(struct leveldata)+16)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:1407:3: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:1407:18: warning: If memory allocation fails, then there is a possible null pointer dereference: ld [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assignment 'ld=xmalloc(sizeof(struct leveldata)+16)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:1407:18: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:1408:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ld [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assignment 'ld=xmalloc(sizeof(struct leveldata)+16)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:1408:3: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:1408:20: warning: If memory allocation fails, then there is a possible null pointer dereference: ld [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assignment 'ld=xmalloc(sizeof(struct leveldata)+16)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:1408:20: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:1408:37: warning: If memory allocation fails, then there is a possible null pointer dereference: ld [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assignment 'ld=xmalloc(sizeof(struct leveldata)+16)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:1408:37: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:1409:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ld [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assignment 'ld=xmalloc(sizeof(struct leveldata)+16)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:1409:3: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:1409:25: warning: If memory allocation fails, then there is a possible null pointer dereference: ld [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assignment 'ld=xmalloc(sizeof(struct leveldata)+16)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:1409:25: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:1410:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ld [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assignment 'ld=xmalloc(sizeof(struct leveldata)+16)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:1410:3: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:1410:38: warning: If memory allocation fails, then there is a possible null pointer dereference: ld [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assignment 'ld=xmalloc(sizeof(struct leveldata)+16)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:1410:38: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:1411:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ld [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assignment 'ld=xmalloc(sizeof(struct leveldata)+16)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:1411:3: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:1412:27: warning: If memory allocation fails, then there is a possible null pointer dereference: ld [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assignment 'ld=xmalloc(sizeof(struct leveldata)+16)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:1412:27: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:1428:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ld [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assignment 'ld=xmalloc(sizeof(struct leveldata)+16)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:1428:13: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:1429:27: warning: If memory allocation fails, then there is a possible null pointer dereference: ld [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assignment 'ld=xmalloc(sizeof(struct leveldata)+16)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:1429:27: note: Null pointer dereference tmptl6ivth2/src/Flydraw/objects.c:1429:40: warning: If memory allocation fails, then there is a possible null pointer dereference: ld [nullPointerOutOfMemory] tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assuming allocation function fails tmptl6ivth2/src/Flydraw/objects.c:1406:13: note: Assignment 'ld=xmalloc(sizeof(struct leveldata)+16)', assigned value is 0 tmptl6ivth2/src/Flydraw/objects.c:1429:40: note: Null pointer dereference tmptl6ivth2/src/Misc/symtext/match.c:31:19: style: Parameter 'tit' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/symtext/match.c:90:33: style: Parameter 'pl' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/symtext/match.c:108:27: style: Parameter 'blk' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/symtext/match.c:346:30: style: Parameter 'blk' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/symtext/match.c:346:41: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/symtext/symtext.c:108:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/symtext/symtext.c:361:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/symtext/translate.c:131:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/sigdigits/sigdigits.c:79:11: style: Variable 'input' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Flydraw/objects.c:372:7: style: Local variable 'xstart' shadows outer variable [shadowVariable] tmptl6ivth2/src/Flydraw/flydraw.h:60:31: note: Shadowed declaration tmptl6ivth2/src/Flydraw/objects.c:372:7: note: Shadow variable tmptl6ivth2/src/Flydraw/objects.c:372:14: style: Local variable 'ystart' shadows outer variable [shadowVariable] tmptl6ivth2/src/Flydraw/flydraw.h:60:39: note: Shadowed declaration tmptl6ivth2/src/Flydraw/objects.c:372:14: note: Shadow variable tmptl6ivth2/src/Flydraw/objects.c:387:9: style: Local variable 'xstart' shadows outer variable [shadowVariable] tmptl6ivth2/src/Flydraw/flydraw.h:60:31: note: Shadowed declaration tmptl6ivth2/src/Flydraw/objects.c:387:9: note: Shadow variable tmptl6ivth2/src/Flydraw/objects.c:387:16: style: Local variable 'ystart' shadows outer variable [shadowVariable] tmptl6ivth2/src/Flydraw/flydraw.h:60:39: note: Shadowed declaration tmptl6ivth2/src/Flydraw/objects.c:387:16: note: Shadow variable tmptl6ivth2/src/Flydraw/objects.c:133:27: style: Parameter 'pm' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Flydraw/objects.c:139:24: style: Parameter 'pm' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Flydraw/objects.c:919:26: style: Parameter 'pm' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Flydraw/objects.c:920:26: style: Parameter 'pm' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Flydraw/objects.c:921:27: style: Parameter 'pm' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Flydraw/objects.c:922:25: style: Parameter 'pm' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Flydraw/objects.c:1221:29: style: Parameter 'pm' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Flydraw/objects.c:1453:23: style: Parameter 'pm' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Flydraw/objects.c:1535:35: style: Parameter 'pm' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Flydraw/objects.c:1748:19: style: Variable 'matricecourante' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Flydraw/objects.c:1749:19: style: Variable 'vecteurcourant' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Flydraw/objects.c:1764:40: style: Parameter 'o' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Flydraw/objects.c:1885:24: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Flydraw/objects.c:2052:36: style: Variable 'pd' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/toascii/toascii.c:18:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/symtext/translate.c:86:27: error: Resource leak: dicf [resourceLeak] tmptl6ivth2/src/Misc/toascii/toascii.c:30:20: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tmptl6ivth2/src/Misc/toascii/toascii.c:46:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tmptl6ivth2/src/Misc/toascii/toascii.c:27:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/symtext/translate.c:30:27: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/symtext/translate.c:176:31: style: Parameter 'dicname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/symtext/symtext.c:285:14: error: Array 'dic[15]' accessed at index -1, which is out of bounds. [negativeIndex] tmptl6ivth2/src/Misc/symtext/symtext.c:284:52: note: Assignment 'transdic=-1', assigned value is -1 tmptl6ivth2/src/Misc/symtext/symtext.c:285:14: note: Negative array index tmptl6ivth2/src/Misc/symtext/symtext.c:288:14: error: Array 'dic[15]' accessed at index -1, which is out of bounds. [negativeIndex] tmptl6ivth2/src/Misc/symtext/symtext.c:287:53: note: Assignment 'macrodic=-1', assigned value is -1 tmptl6ivth2/src/Misc/symtext/symtext.c:288:14: note: Negative array index tmptl6ivth2/src/Misc/symtext/symtext.c:328:26: style: Parameter 'argv' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/units-filter/src/decimal.cc:89:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/modind.c:152:32: warning: Either the condition '*sp<0' is redundant or strchr() argument nr 2 can have invalid value. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] tmptl6ivth2/src/Misc/modind.c:152:9: note: Assuming that condition '*sp<0' is not redundant tmptl6ivth2/src/Misc/modind.c:152:32: note: Invalid argument tmptl6ivth2/src/Misc/modind.c:281:12: error: Memory leak: buf [memleak] tmptl6ivth2/src/Misc/modind.c:279:31: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/modind.c:279:14: note: Assuming allocation function fails tmptl6ivth2/src/Misc/modind.c:279:14: note: Assignment 'buf=xmalloc(l+256)', assigned value is 0 tmptl6ivth2/src/Misc/modind.c:279:31: note: Null pointer dereference tmptl6ivth2/src/Misc/modind.c:558:30: warning: If resource allocation fails, then there is a possible null pointer dereference: indf [nullPointerOutOfResources] tmptl6ivth2/src/Misc/modind.c:557:13: note: Assuming allocation function fails tmptl6ivth2/src/Misc/modind.c:557:13: note: Assignment 'indf=fopen(fbuf,"r")', assigned value is 0 tmptl6ivth2/src/Misc/modind.c:558:30: note: Null pointer dereference tmptl6ivth2/src/Misc/modind.c:558:44: warning: If resource allocation fails, then there is a possible null pointer dereference: indf [nullPointerOutOfResources] tmptl6ivth2/src/Misc/modind.c:557:13: note: Assuming allocation function fails tmptl6ivth2/src/Misc/modind.c:557:13: note: Assignment 'indf=fopen(fbuf,"r")', assigned value is 0 tmptl6ivth2/src/Misc/modind.c:558:44: note: Null pointer dereference tmptl6ivth2/src/Misc/translator_.c:105:15: style: The statement 'if (*pp!=' ') *pp=' '' is logically equivalent to '*pp=' ''. [duplicateConditionalAssign] tmptl6ivth2/src/Misc/translator_.c:105:25: note: Assignment '*pp=' '' tmptl6ivth2/src/Misc/translator_.c:105:15: note: Condition '*pp!=' '' is redundant tmptl6ivth2/src/Misc/translator_.c:124:19: error: Resource leak: dicf [resourceLeak] tmptl6ivth2/src/Misc/units-filter/src/decimal.h:15:5: performance: Variable 'val' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] tmptl6ivth2/src/Misc/units-filter/src/decimal.h:16:5: performance: Variable 'powten' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] tmptl6ivth2/src/Misc/units-filter/src/decimal.cc:13:3: performance: Variable 'val' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] tmptl6ivth2/src/Misc/units-filter/src/decimal.cc:14:3: performance: Variable 'powten' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] tmptl6ivth2/src/Misc/units-filter/src/decimal.cc:33:3: performance: Variable 'val' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] tmptl6ivth2/src/Misc/units-filter/src/decimal.cc:34:3: performance: Variable 'powten' is assigned in constructor body. Consider performing initialization in initialization list. [useInitializationList] tmptl6ivth2/src/Misc/translator_.c:125:38: warning: If memory allocation fails, then there is a possible null pointer dereference: dicbuf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/translator_.c:125:17: note: Assuming allocation function fails tmptl6ivth2/src/Misc/translator_.c:125:17: note: Assignment 'dicbuf=xmalloc(flen+16)', assigned value is 0 tmptl6ivth2/src/Misc/translator_.c:125:38: note: Null pointer dereference tmptl6ivth2/src/Misc/units-filter/src/decimal.h:19:3: style: Class 'Decimal' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] tmptl6ivth2/src/Misc/units-filter/src/decimal.h:20:3: style: Class 'Decimal' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] tmptl6ivth2/src/Misc/translator_.c:114:24: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/translator_.c:138:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/modind.c:541:9: style: Variable 'p2' is reassigned a value before the old one has been used. [redundantAssignment] tmptl6ivth2/src/Misc/modind.c:538:39: note: p2 is assigned tmptl6ivth2/src/Misc/modind.c:541:9: note: p2 is overwritten tmptl6ivth2/src/Misc/modind.c:630:18: style: Checking if unsigned expression 'strlen(p1)' is less than zero. [unsignedLessThanZero] tmptl6ivth2/src/Misc/modind.c:952:18: style: Checking if unsigned expression 'strlen(p1)' is less than zero. [unsignedLessThanZero] tmptl6ivth2/src/Misc/modind.c:965:18: style: Checking if unsigned expression 'strlen(p1)' is less than zero. [unsignedLessThanZero] tmptl6ivth2/src/Misc/units-filter/src/decimal.cc:168:10: style: The scope of the variable 'result' can be reduced. [variableScope] tmptl6ivth2/src/Misc/modind.c:495:9: style: Local variable 'indf' shadows outer variable [shadowVariable] tmptl6ivth2/src/Misc/modind.c:54:49: note: Shadowed declaration tmptl6ivth2/src/Misc/modind.c:495:9: note: Shadow variable tmptl6ivth2/src/Misc/modind.c:522:9: style: Local variable 'indf' shadows outer variable [shadowVariable] tmptl6ivth2/src/Misc/modind.c:54:49: note: Shadowed declaration tmptl6ivth2/src/Misc/modind.c:522:9: note: Shadow variable tmptl6ivth2/src/Misc/modind.c:550:9: style: Local variable 'indf' shadows outer variable [shadowVariable] tmptl6ivth2/src/Misc/modind.c:54:49: note: Shadowed declaration tmptl6ivth2/src/Misc/modind.c:550:9: note: Shadow variable tmptl6ivth2/src/Misc/voronoiW/edgelist.c:156:20: style: Parameter 'he' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/voronoiW/edgelist.c:162:19: style: Parameter 'he' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/modind.c:150:9: style: Variable 'v' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/modind.c:167:31: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/modind.c:198:31: style: Parameter 'tag' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/modind.c:210:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/modind.c:236:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/modind.c:270:19: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/modind.c:321:20: style: Variable 'old' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/modind.c:439:20: style: Variable 'old' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/modind.c:653:24: style: Variable 'q' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/modind.c:888:19: style: Variable 'q' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/modind.c:990:16: style: Parameter 'outdir' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/modind.c:553:12: error: Uninitialized variable: nbuf [uninitvar] tmptl6ivth2/src/Misc/voronoiW/main.c:105:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/voronoiW/main.c:110:13: error: Common realloc mistake: 'sites' nulled but not freed upon failure [memleakOnRealloc] tmptl6ivth2/src/Misc/voronoiW/main.c:45:13: style: Variable 's1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/voronoiW/main.c:46:13: style: Variable 's2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/translator.c:119:13: style: The statement 'if (*pp!=' ') *pp=' '' is logically equivalent to '*pp=' ''. [duplicateConditionalAssign] tmptl6ivth2/src/Misc/translator.c:119:23: note: Assignment '*pp=' '' tmptl6ivth2/src/Misc/translator.c:119:13: note: Condition '*pp!=' '' is redundant tmptl6ivth2/src/Misc/translator.c:260:29: error: Resource leak: f [resourceLeak] tmptl6ivth2/src/Misc/voronoiW/heap.c:51:21: style: Parameter 'he' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/translator.c:151:14: warning: Either the condition 'fname==NULL' is redundant or there is possible null pointer dereference: fname. [nullPointerRedundantCheck] tmptl6ivth2/src/Misc/translator.c:135:11: note: Assuming that condition 'fname==NULL' is not redundant tmptl6ivth2/src/Misc/translator.c:151:14: note: Null pointer dereference tmptl6ivth2/src/Misc/translator.c:154:38: warning: If memory allocation fails, then there is a possible null pointer dereference: dicbuf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/translator.c:154:17: note: Assuming allocation function fails tmptl6ivth2/src/Misc/translator.c:154:17: note: Assignment 'dicbuf=xmalloc(flen+16)', assigned value is 0 tmptl6ivth2/src/Misc/translator.c:154:38: note: Null pointer dereference tmptl6ivth2/src/Misc/translator.c:253:35: warning: If memory allocation fails, then there is a possible null pointer dereference: inpbuf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/translator.c:253:19: note: Assuming allocation function fails tmptl6ivth2/src/Misc/translator.c:253:19: note: Assignment 'inpbuf=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Misc/translator.c:253:35: note: Null pointer dereference tmptl6ivth2/src/Misc/translator.c:261:39: warning: If memory allocation fails, then there is a possible null pointer dereference: inpbuf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/translator.c:261:19: note: Assuming allocation function fails tmptl6ivth2/src/Misc/translator.c:261:19: note: Assignment 'inpbuf=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Misc/translator.c:261:39: note: Null pointer dereference tmptl6ivth2/src/Misc/translator.c:261:65: warning: If memory allocation fails, then there is a possible null pointer dereference: inpbuf [nullPointerOutOfMemory] tmptl6ivth2/src/Misc/translator.c:261:19: note: Assuming allocation function fails tmptl6ivth2/src/Misc/translator.c:261:19: note: Assignment 'inpbuf=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Misc/translator.c:261:65: note: Null pointer dereference tmptl6ivth2/src/Misc/translator.c:252:22: style: Checking if unsigned expression 'l' is less than zero. [unsignedLessThanZero] tmptl6ivth2/src/Misc/translator.c:260:9: style: Checking if unsigned expression 'l' is less than zero. [unsignedLessThanZero] tmptl6ivth2/src/Misc/translator.c:167:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/voronoiW/memory.c:51:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/gifdecod.c:48:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/gifdecod.c:139:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/gifdecod.c:152:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/webget.c:44:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/webget.c:94:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/webget.c:119:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/webget.c:134:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/voronoiW/output.c:38:21: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/symtext/compile.c:218:49: warning: Either the condition 'n<=0' is redundant or the array 'atom2[8192]' is accessed at index -1, which is out of bounds. [negativeIndex] tmptl6ivth2/src/Misc/symtext/compile.c:217:23: note: Assuming that condition 'n<=0' is not redundant tmptl6ivth2/src/Misc/symtext/compile.c:218:49: note: Negative array index tmptl6ivth2/src/Misc/voronoiW/output.c:72:19: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/symtext/compile.c:243:39: warning: Either the condition 'n<0' is redundant or the array 'atoms[8192]' is accessed at index -1, which is out of bounds. [negativeIndex] tmptl6ivth2/src/Misc/symtext/compile.c:242:21: note: Assuming that condition 'n<0' is not redundant tmptl6ivth2/src/Misc/symtext/compile.c:243:39: note: Negative array index tmptl6ivth2/src/Misc/voronoiW/output.c:85:17: style: Parameter 's' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/symtext/compile.c:696:18: warning: Either the condition 'i<0' is redundant or the array 'builtin[19]' is accessed at index -1, which is out of bounds. [negativeIndex] tmptl6ivth2/src/Misc/symtext/compile.c:695:15: note: Assuming that condition 'i<0' is not redundant tmptl6ivth2/src/Misc/symtext/compile.c:696:18: note: Negative array index tmptl6ivth2/src/Misc/voronoiW/output.c:102:19: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/voronoiW/output.c:102:30: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/voronoiW/output.c:102:41: style: Parameter 's3' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/voronoiW/geometry.c:134:29: style:inconclusive: Boolean expression '!right_of_site' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] tmptl6ivth2/src/Misc/voronoiW/geometry.c:135:25: style:inconclusive: Boolean expression 'e->b>=0.0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] tmptl6ivth2/src/Misc/voronoiW/geometry.c:134:29: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] tmptl6ivth2/src/Misc/voronoiW/geometry.c:61:16: style: Variable 'el' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/voronoiW/geometry.c:111:33: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/symtext/compile.c:184:30: style: Local variable 'min' shadows outer function [shadowFunction] tmptl6ivth2/src/Lib/libwims.h:158:8: note: Shadowed declaration tmptl6ivth2/src/Misc/symtext/compile.c:184:30: note: Shadow variable tmptl6ivth2/src/Misc/symtext/compile.c:639:12: style: Local variable 'min' shadows outer function [shadowFunction] tmptl6ivth2/src/Lib/libwims.h:158:8: note: Shadowed declaration tmptl6ivth2/src/Misc/symtext/compile.c:639:12: note: Shadow variable tmptl6ivth2/src/Misc/symtext/compile.c:639:17: style: Local variable 'max' shadows outer function [shadowFunction] tmptl6ivth2/src/Lib/libwims.h:157:8: note: Shadowed declaration tmptl6ivth2/src/Misc/symtext/compile.c:639:17: note: Shadow variable tmptl6ivth2/src/Misc/symtext/compile.c:43:19: style: Variable 'blk' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/symtext/compile.c:94:28: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/symtext/compile.c:108:11: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/symtext/compile.c:258:20: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/symtext/compile.c:686:11: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/whirlgif/gifdecod.c:48:6: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/whirlgif/gifdecod.c:77:23: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/whirlgif/gifdecod.c:123:18: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/whirlgif/gifdecod.c:123:18: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/whirlgif/gifdecod.c:139:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/whirlgif/gifdecod.c:37:10: style: Variable 'chPos' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/whirlgif/gifdecod.c:128:49: style: Parameter 'source' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/whirlgif/gifdecod.c:38:36: style: Variable 'code' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/whirlgif/gifencod.c:166:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/gifencod.c:243:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/webget.c:93:13: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] tmptl6ivth2/src/Misc/webget.c:146:32: style: Condition 'soc==-1' is always false [knownConditionTrueFalse] tmptl6ivth2/src/Misc/webget.c:94:50: note: Assuming that condition '(soc=socket(hp->h_addrtype,SOCK_STREAM,0))<0' is not redundant tmptl6ivth2/src/Misc/webget.c:99:54: note: Assuming condition is false tmptl6ivth2/src/Misc/webget.c:146:20: note: Calling function 'net_connect' returns !<=-1 tmptl6ivth2/src/Misc/webget.c:146:32: note: Condition 'soc==-1' is always false tmptl6ivth2/src/Misc/webget.c:102:3: error: Returning/dereferencing 'soc' after it is deallocated / released [deallocret] tmptl6ivth2/src/Misc/webget.c:100:5: note: Returning/dereferencing 'soc' after it is deallocated / released tmptl6ivth2/src/Misc/webget.c:102:3: note: Returning/dereferencing 'soc' after it is deallocated / released tmptl6ivth2/src/Misc/webget.c:90:7: style: Local variable 'soc' shadows outer variable [shadowVariable] tmptl6ivth2/src/Misc/webget.c:38:5: note: Shadowed declaration tmptl6ivth2/src/Misc/webget.c:90:7: note: Shadow variable tmptl6ivth2/src/Misc/webget.c:42:22: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/webget.c:66:19: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/webget.c:105:20: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/webget.c:124:16: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/webget.c:124:46: style: Variable 'pre' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/webget.c:125:27: style: Variable 'pp2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Module/drawode/drawode.c:118:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Module/drawode/drawode.c:228:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Module/drawode/drawode.c:260:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Module/drawode/drawode.c:281:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:105:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:260:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:470:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:549:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:605:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:649:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:680:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:695:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:719:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:734:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:740:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:750:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/gifencod.c:85:9: warning: Either the condition '(buffer=(char*)malloc((1000+1)*sizeof(char)))==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/Misc/whirlgif/gifencod.c:83:59: note: Assuming that condition '(buffer=(char*)malloc((1000+1)*sizeof(char)))==NULL' is not redundant tmptl6ivth2/src/Misc/whirlgif/gifencod.c:85:9: note: Null pointer addition tmptl6ivth2/src/Misc/whirlgif/gifencod.c:72:12: style: Variable 'end' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/OefMsg2wims/def.c:173:25: warning: Buffer 'pp' is too small, the function 'p_parm' expects a bigger buffer in 1st argument [argumentSize] tmptl6ivth2/src/OefMsg2wims/def.c:173:25: note: Function 'p_parm' is called tmptl6ivth2/src/OefMsg2wims/def.c:142:19: note: Declaration of 1st function argument. tmptl6ivth2/src/OefMsg2wims/def.c:167:17: note: Passing buffer 'pp' to function that is declared here tmptl6ivth2/src/OefMsg2wims/def.c:173:25: note: Buffer 'pp' is too small, the function 'p_parm' expects a bigger buffer in 1st argument tmptl6ivth2/src/OefMsg2wims/def.c:178:8: warning: Buffer 'pp' is too small, the function 'p_parm' expects a bigger buffer in 1st argument [argumentSize] tmptl6ivth2/src/OefMsg2wims/def.c:178:8: note: Function 'p_parm' is called tmptl6ivth2/src/OefMsg2wims/def.c:142:19: note: Declaration of 1st function argument. tmptl6ivth2/src/OefMsg2wims/def.c:167:17: note: Passing buffer 'pp' to function that is declared here tmptl6ivth2/src/OefMsg2wims/def.c:178:8: note: Buffer 'pp' is too small, the function 'p_parm' expects a bigger buffer in 1st argument tmptl6ivth2/src/OefMsg2wims/def.c:59:19: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/def.c:59:28: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/compare.c:128:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/msglines.c:27:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/OefMsg2wims/msglines.c:25:22: style:inconclusive: Function 'msg_error' argument 1 names different: declaration 's' definition 'p'. [funcArgNamesDifferent] tmptl6ivth2/src/OefMsg2wims/msg2wims.h:9:22: note: Function 'msg_error' argument 1 names different: declaration 's' definition 'p'. tmptl6ivth2/src/OefMsg2wims/msglines.c:25:22: note: Function 'msg_error' argument 1 names different: declaration 's' definition 'p'. tmptl6ivth2/src/OefMsg2wims/msglines.c:25:22: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Module/drawode/drawode.c:258:9: warning: Either the condition 'i<4' is redundant or the array 'values[4]' is accessed at index 4, which is out of bounds. [arrayIndexOutOfBoundsCond] tmptl6ivth2/src/Module/drawode/drawode.c:251:11: note: Assuming that condition 'i<4' is not redundant tmptl6ivth2/src/Module/drawode/drawode.c:258:9: note: Array index out of bounds tmptl6ivth2/src/OefMsg2wims/msglines.c:68:27: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/msglines.c:68:55: style: Parameter 'bad_end' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Module/drawode/drawode.c:150:15: style: Variable 'count' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/OefMsg2wims/msg2wims.c:52:11: warning: If memory allocation fails, then there is a possible null pointer dereference: inbuf [nullPointerOutOfMemory] tmptl6ivth2/src/OefMsg2wims/msg2wims.c:51:16: note: Assuming allocation function fails tmptl6ivth2/src/OefMsg2wims/msg2wims.c:51:16: note: Assignment 'inbuf=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/OefMsg2wims/msg2wims.c:52:11: note: Null pointer dereference tmptl6ivth2/src/OefMsg2wims/msg2wims.c:160:15: style: Local variable 'p2' shadows outer variable [shadowVariable] tmptl6ivth2/src/OefMsg2wims/msg2wims.c:90:18: note: Shadowed declaration tmptl6ivth2/src/OefMsg2wims/msg2wims.c:160:15: note: Shadow variable tmptl6ivth2/src/OefMsg2wims/msg2wims.c:193:19: style: Local variable 'p2' shadows outer variable [shadowVariable] tmptl6ivth2/src/OefMsg2wims/msg2wims.c:90:18: note: Shadowed declaration tmptl6ivth2/src/OefMsg2wims/msg2wims.c:193:19: note: Shadow variable tmptl6ivth2/src/OefMsg2wims/msg2wims.c:41:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/msg2wims.c:44:20: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/msg2wims.c:61:22: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/oeflines.c:25:22: style: Parameter 's' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/oeflines.c:62:21: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/oeflines.c:62:30: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/sp.c:23:20: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_asis' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:377:34: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:23:20: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:53:21: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_solve' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:342:14: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:53:21: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:64:20: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_diff' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:314:13: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:64:20: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:73:19: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_det' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:313:19: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:73:19: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:95:24: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_htmlmath' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:319:16: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:95:24: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:100:22: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_teximg' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:343:14: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:100:22: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:106:23: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_texmath' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:344:15: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:106:23: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:111:22: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_maxima' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:326:14: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:111:22: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:117:21: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_yacas' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:346:13: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:117:21: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:123:20: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_pari' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:327:13: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:123:20: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:129:24: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_simplify' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:340:16: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:129:24: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:147:20: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_draw' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:315:13: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:147:20: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:157:24: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_drawtikz' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:316:16: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:157:24: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:167:26: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_canvasdraw' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:308:18: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:167:26: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:177:23: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_shuffle' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:339:15: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:177:23: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:192:22: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_random' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:333:14: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:192:22: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:194:9: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/OefMsg2wims/sp.c:228:21: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_items' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:324:14: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:228:21: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:233:24: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_randitem' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:334:18: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:233:24: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:273:20: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_rows' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:338:13: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:273:20: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/OefMsg2wims/sp.c:279:23: style: Parameter 'p' can be declared as pointer to const. However it seems that 'sp_randrow' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/OefMsg2wims/sp.c:336:15: note: You might need to cast the function pointer here tmptl6ivth2/src/OefMsg2wims/sp.c:279:23: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/Texgif/basic.c:24:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Texgif/basic.c:81:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Texgif/basic.c:22:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Texgif/basic.c:31:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Texgif/basic.c:43:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Texgif/basic.c:54:19: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Texgif/basic.c:72:26: style: Parameter 'cmdf' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Texgif/basic.c:72:38: style: Parameter 'inf' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Texgif/basic.c:72:49: style: Parameter 'outf' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Texgif/basic.c:72:61: style: Parameter 'errf' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Texgif/basic.c:33:8: style: Variable 't' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/OefMsg2wims/oef2wims.c:157:13: warning: If memory allocation fails, then there is a possible null pointer dereference: inpbuf [nullPointerOutOfMemory] tmptl6ivth2/src/OefMsg2wims/oef2wims.c:156:17: note: Assuming allocation function fails tmptl6ivth2/src/OefMsg2wims/oef2wims.c:156:17: note: Assignment 'inpbuf=xmalloc(siz+10)', assigned value is 0 tmptl6ivth2/src/OefMsg2wims/oef2wims.c:157:13: note: Null pointer dereference tmptl6ivth2/src/OefMsg2wims/oef2wims.c:161:8: warning: If memory allocation fails, then there is a possible null pointer dereference: inpbuf [nullPointerOutOfMemory] tmptl6ivth2/src/OefMsg2wims/oef2wims.c:156:17: note: Assuming allocation function fails tmptl6ivth2/src/OefMsg2wims/oef2wims.c:156:17: note: Assignment 'inpbuf=xmalloc(siz+10)', assigned value is 0 tmptl6ivth2/src/OefMsg2wims/oef2wims.c:158:9: note: Assuming condition is false tmptl6ivth2/src/OefMsg2wims/oef2wims.c:161:8: note: Null pointer dereference tmptl6ivth2/src/OefMsg2wims/oef2wims.c:201:10: warning: Either the condition 'pe==NULL' is redundant or there is possible null pointer dereference: pe. [nullPointerRedundantCheck] tmptl6ivth2/src/OefMsg2wims/oef2wims.c:200:42: note: Assuming that condition 'pe==NULL' is not redundant tmptl6ivth2/src/OefMsg2wims/oef2wims.c:201:10: note: Null pointer dereference tmptl6ivth2/src/OefMsg2wims/oef2wims.c:218:8: warning: Either the condition '(pe=find_matching(pp+1,'}'))==NULL' is redundant or there is possible null pointer dereference: pe. [nullPointerRedundantCheck] tmptl6ivth2/src/OefMsg2wims/oef2wims.c:217:38: note: Assuming that condition '(pe=find_matching(pp+1,'}'))==NULL' is not redundant tmptl6ivth2/src/OefMsg2wims/oef2wims.c:218:8: note: Null pointer dereference tmptl6ivth2/src/OefMsg2wims/oef2wims.c:255:14: warning: Either the condition 'pt2==NULL' is redundant or there is possible null pointer dereference: pt2. [nullPointerRedundantCheck] tmptl6ivth2/src/OefMsg2wims/oef2wims.c:253:21: note: Assuming that condition 'pt2==NULL' is not redundant tmptl6ivth2/src/OefMsg2wims/oef2wims.c:255:14: note: Null pointer dereference tmptl6ivth2/src/OefMsg2wims/oef2wims.c:159:16: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tmptl6ivth2/src/OefMsg2wims/oef2wims.c:156:17: note: Assuming allocation function fails tmptl6ivth2/src/OefMsg2wims/oef2wims.c:156:17: note: Assignment 'inpbuf=xmalloc(siz+10)', assigned value is 0 tmptl6ivth2/src/OefMsg2wims/oef2wims.c:158:9: note: Assuming condition is false tmptl6ivth2/src/OefMsg2wims/oef2wims.c:159:16: note: Null pointer addition tmptl6ivth2/src/OefMsg2wims/oef2wims.c:215:76: warning: Either the condition '(pe=find_matching(pp+1,'}'))==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/OefMsg2wims/oef2wims.c:217:38: note: Assuming that condition '(pe=find_matching(pp+1,'}'))==NULL' is not redundant tmptl6ivth2/src/OefMsg2wims/oef2wims.c:215:76: note: Null pointer addition tmptl6ivth2/src/OefMsg2wims/oef2wims.c:247:36: warning: Either the condition 'pt2==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/OefMsg2wims/oef2wims.c:246:19: note: Assuming that condition 'pt2==NULL' is not redundant tmptl6ivth2/src/OefMsg2wims/oef2wims.c:247:36: note: Null pointer addition tmptl6ivth2/src/OefMsg2wims/oef2wims.c:339:9: style: Local variable 'i' shadows outer variable [shadowVariable] tmptl6ivth2/src/OefMsg2wims/oef2wims.c:319:7: note: Shadowed declaration tmptl6ivth2/src/OefMsg2wims/oef2wims.c:339:9: note: Shadow variable tmptl6ivth2/src/OefMsg2wims/oef2wims.c:142:22: style: Parameter 'fname' can be declared as const array [constParameter] tmptl6ivth2/src/OefMsg2wims/outexec.c:128:22: warning: Either the condition 'pe2' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/OefMsg2wims/outexec.c:122:10: note: Assuming that condition 'pe2' is not redundant tmptl6ivth2/src/OefMsg2wims/outexec.c:128:11: note: Assignment '*ps=*p=pe2', assigned value is 0 tmptl6ivth2/src/OefMsg2wims/outexec.c:128:22: note: Null pointer addition tmptl6ivth2/src/OefMsg2wims/outexec.c:89:42: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/outexec.c:112:42: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/outexec.c:134:42: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/outexec.c:149:31: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Texgif/font.c:63:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Texgif/dvi.c:242:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Texgif/font.c:49:14: warning: If memory allocation fails, then there is a possible null pointer dereference: fcache [nullPointerOutOfMemory] tmptl6ivth2/src/Texgif/font.c:48:19: note: Assuming allocation function fails tmptl6ivth2/src/Texgif/font.c:48:19: note: Assignment 'fcache=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Texgif/font.c:49:14: note: Null pointer dereference tmptl6ivth2/src/Texgif/font.c:52:27: warning: If memory allocation fails, then there is a possible null pointer dereference: fcache [nullPointerOutOfMemory] tmptl6ivth2/src/Texgif/font.c:48:19: note: Assuming allocation function fails tmptl6ivth2/src/Texgif/font.c:48:19: note: Assignment 'fcache=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Texgif/font.c:52:27: note: Null pointer dereference tmptl6ivth2/src/Texgif/font.c:53:35: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tmptl6ivth2/src/Texgif/font.c:48:19: note: Assuming allocation function fails tmptl6ivth2/src/Texgif/font.c:48:19: note: Assignment 'fcache=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Texgif/font.c:53:35: note: Null pointer addition tmptl6ivth2/src/Texgif/font.c:54:27: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tmptl6ivth2/src/Texgif/font.c:48:19: note: Assuming allocation function fails tmptl6ivth2/src/Texgif/font.c:48:19: note: Assignment 'fcache=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Texgif/font.c:54:27: note: Null pointer addition tmptl6ivth2/src/Texgif/font.c:55:27: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tmptl6ivth2/src/Texgif/font.c:48:19: note: Assuming allocation function fails tmptl6ivth2/src/Texgif/font.c:48:19: note: Assignment 'fcache=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Texgif/font.c:55:27: note: Null pointer addition tmptl6ivth2/src/Texgif/font.c:57:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tmptl6ivth2/src/Texgif/font.c:48:19: note: Assuming allocation function fails tmptl6ivth2/src/Texgif/font.c:48:19: note: Assignment 'fcache=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Texgif/font.c:57:14: note: Null pointer addition tmptl6ivth2/src/Texgif/font.c:58:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tmptl6ivth2/src/Texgif/font.c:48:19: note: Assuming allocation function fails tmptl6ivth2/src/Texgif/font.c:48:19: note: Assignment 'fcache=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Texgif/font.c:58:20: note: Null pointer addition tmptl6ivth2/src/Texgif/image.c:58:11: style: Variable 'ff' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Texgif/image.c:84:11: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Texgif/gf.c:94:12: warning: If memory allocation fails, then there is a possible null pointer dereference: onechar [nullPointerOutOfMemory] tmptl6ivth2/src/Texgif/gf.c:93:20: note: Assuming allocation function fails tmptl6ivth2/src/Texgif/gf.c:93:20: note: Assignment 'onechar=xmalloc(charsize+1024)', assigned value is 0 tmptl6ivth2/src/Texgif/gf.c:94:12: note: Null pointer dereference tmptl6ivth2/src/Texgif/gf.c:198:12: warning: If memory allocation fails, then there is a possible null pointer dereference: fh [nullPointerOutOfMemory] tmptl6ivth2/src/Texgif/gf.c:197:15: note: Assuming allocation function fails tmptl6ivth2/src/Texgif/gf.c:197:15: note: Assignment 'fh=xmalloc(charcnt*sizeof(struct FONTHEADER)+256)', assigned value is 0 tmptl6ivth2/src/Texgif/gf.c:198:12: note: Null pointer dereference tmptl6ivth2/src/Texgif/gf.c:186:20: style: Parameter 'fontname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/process.c:115:9: style: Condition 'p==NULL' is always false [knownConditionTrueFalse] tmptl6ivth2/src/Texgif/gf.c:80:26: style: Variable 'min_n' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/OefMsg2wims/process.c:300:9: style: Local variable 'i' shadows outer variable [shadowVariable] tmptl6ivth2/src/OefMsg2wims/process.c:230:7: note: Shadowed declaration tmptl6ivth2/src/OefMsg2wims/process.c:300:9: note: Shadow variable tmptl6ivth2/src/OefMsg2wims/process.c:30:18: style: Parameter 'p' can be declared as const array [constParameter] tmptl6ivth2/src/OefMsg2wims/process.c:48:24: style: Parameter 'p' can be declared as const array [constParameter] tmptl6ivth2/src/OefMsg2wims/process.c:55:19: style: Parameter 'name_gen' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/process.c:55:35: style: Parameter 'p' can be declared as const array [constParameter] tmptl6ivth2/src/OefMsg2wims/process.c:68:19: style: Parameter 'p' can be declared as const array [constParameter] tmptl6ivth2/src/OefMsg2wims/process.c:108:24: style: Parameter 'p' can be declared as const array [constParameter] tmptl6ivth2/src/OefMsg2wims/process.c:127:20: style: Parameter 'p' can be declared as const array [constParameter] tmptl6ivth2/src/OefMsg2wims/process.c:139:64: style: Parameter 'p' can be declared as const array [constParameter] tmptl6ivth2/src/OefMsg2wims/process.c:402:19: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/OefMsg2wims/process.c:501:18: style: Parameter 'p' can be declared as const array [constParameter] tmptl6ivth2/src/OefMsg2wims/process.c:526:20: style: Parameter 'p' can be declared as const array [constParameter] tmptl6ivth2/src/OefMsg2wims/process.c:572:14: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/OefMsg2wims/process.c:644:25: style: Parameter 'p' can be declared as const array [constParameter] tmptl6ivth2/src/OefMsg2wims/process.c:653:23: style: Parameter 'p' can be declared as const array [constParameter] tmptl6ivth2/src/OefMsg2wims/process.c:656:9: style: Variable 'cmpstr' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Texgif/tfm.c:44:29: style: Variable 'ftp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Texgif/texgif.c:81:29: error: Deallocation of a pointer pointing to a string literal ("") results in undefined behaviour. [autovarInvalidDeallocation] tmptl6ivth2/src/Texgif/texgif.c:79:20: note: Assignment 'hd=""', assigned value is "" tmptl6ivth2/src/Texgif/texgif.c:81:29: note: Deallocating memory that was not dynamically allocated tmptl6ivth2/src/Texgif/texgif.c:44:15: warning: Either the condition 'src==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] tmptl6ivth2/src/Texgif/texgif.c:64:11: note: Assuming that condition 'src==NULL' is not redundant tmptl6ivth2/src/Texgif/texgif.c:65:18: note: Calling function 'checktextype', 1st argument 'src' value is 0 tmptl6ivth2/src/Texgif/texgif.c:44:15: note: Null pointer dereference tmptl6ivth2/src/Texgif/texgif.c:77:33: warning: If memory allocation fails, then there is a possible null pointer dereference: hd [nullPointerOutOfMemory] tmptl6ivth2/src/Texgif/texgif.c:77:13: note: Assuming allocation function fails tmptl6ivth2/src/Texgif/texgif.c:77:13: note: Assignment 'hd=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Texgif/texgif.c:77:33: note: Null pointer dereference tmptl6ivth2/src/Texgif/texgif.c:81:13: warning: If memory allocation fails, then there is a possible null pointer dereference: hd [nullPointerOutOfMemory] tmptl6ivth2/src/Texgif/texgif.c:77:13: note: Assuming allocation function fails tmptl6ivth2/src/Texgif/texgif.c:77:13: note: Assignment 'hd=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Texgif/texgif.c:81:13: note: Null pointer dereference tmptl6ivth2/src/Texgif/texgif.c:81:20: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] tmptl6ivth2/src/Texgif/texgif.c:80:24: note: Assuming allocation function fails tmptl6ivth2/src/Texgif/texgif.c:80:24: note: Assignment 'f=fopen(fbuf,"w")', assigned value is 0 tmptl6ivth2/src/Texgif/texgif.c:81:20: note: Null pointer dereference tmptl6ivth2/src/Wimsd/wimsd.c:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimsd/wimsd.c:53:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimsd/wimsd.c:71:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimsd/wimsd.c:147:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimsd/wimsd.c:190:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimsd/wimsd.c:318:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimslogd/cleaning.c:61:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimslogd/cmd.c:90:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Texgif/dvi.c:182:10: style: Condition 'xx>=0' is always true [knownConditionTrueFalse] tmptl6ivth2/src/Texgif/dvi.c:180:10: note: Assuming that condition 'xx<=0' is not redundant tmptl6ivth2/src/Texgif/dvi.c:182:10: note: Condition 'xx>=0' is always true tmptl6ivth2/src/Texgif/dvi.c:184:10: style: Condition 'yy>=0' is always true [knownConditionTrueFalse] tmptl6ivth2/src/Texgif/dvi.c:180:19: note: Assuming that condition 'yy<=0' is not redundant tmptl6ivth2/src/Texgif/dvi.c:184:10: note: Condition 'yy>=0' is always true tmptl6ivth2/src/Wimslogd/cmd.c:65:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Wimslogd/cmd.c:22:21: style: Parameter 'p' can be declared as pointer to const. However it seems that 'cmd_test' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/Wimslogd/cmd.c:81:15: note: You might need to cast the function pointer here tmptl6ivth2/src/Wimslogd/cmd.c:22:21: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/Texgif/dvi.c:189:16: style: Variable 'xx1' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Texgif/dvi.c:189:24: style: Variable 'xx2' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Texgif/dvi.c:189:39: style: Variable 'xx1' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Texgif/dvi.c:189:47: style: Variable 'xx2' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Texgif/dvi.c:190:16: style: Variable 'yy1' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Texgif/dvi.c:190:24: style: Variable 'yy2' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Texgif/dvi.c:190:39: style: Variable 'yy1' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Texgif/dvi.c:190:47: style: Variable 'yy2' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Wimslogd/files.c:29:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimslogd/files.c:47:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimslogd/fork.c:54:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimslogd/files.c:84:11: portability: Undefined behaviour, pointer arithmetic 'buf-1' is out of bounds. [pointerOutOfBounds] tmptl6ivth2/src/Wimsd/wimsd.c:44:22: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimsd/wimsd.c:97:43: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimsd/wimsd.c:155:20: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/homedir.c:45:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimslogd/housekeep.c:34:18: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] tmptl6ivth2/src/Wimslogd/housekeep.c:33:18: note: Assuming allocation function fails tmptl6ivth2/src/Wimslogd/housekeep.c:33:18: note: Assignment 'f=fopen(fname,"r")', assigned value is 0 tmptl6ivth2/src/Wimslogd/housekeep.c:34:18: note: Null pointer dereference tmptl6ivth2/src/Wimslogd/housekeep.c:35:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] tmptl6ivth2/src/Wimslogd/housekeep.c:33:18: note: Assuming allocation function fails tmptl6ivth2/src/Wimslogd/housekeep.c:33:18: note: Assignment 'f=fopen(fname,"r")', assigned value is 0 tmptl6ivth2/src/Wimslogd/housekeep.c:35:10: note: Null pointer dereference tmptl6ivth2/src/Wimslogd/housekeep.c:21:25: style: Parameter 'dat' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/housekeep.c:23:14: style: Variable 'len' can be declared as const array [constVariable] tmptl6ivth2/src/Wimslogd/housekeep.c:30:22: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/log.c:55:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimslogd/cleaning.c:153:47: warning: If resource allocation fails, then there is a possible null pointer dereference: lastclean [nullPointerOutOfResources] tmptl6ivth2/src/Wimslogd/cleaning.c:153:18: note: Assuming allocation function fails tmptl6ivth2/src/Wimslogd/cleaning.c:153:18: note: Assignment 'lastclean=fopen(lastclean_name,"w")', assigned value is 0 tmptl6ivth2/src/Wimslogd/cleaning.c:153:47: note: Null pointer dereference tmptl6ivth2/src/Wimslogd/cleaning.c:28:18: style: Variable 'ses' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Wimslogd/cleaning.c:79:22: style: Variable 's2d' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Wimslogd/socket.c:33:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNIX [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimslogd/socket.c:60:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimslogd/socket.c:55:9: style: Variable 'estr' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Wimslogd/socket.c:64:19: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/socket.c:71:13: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Wimslogd/log.c:100:12: warning: If memory allocation fails, then there is a possible null pointer dereference: logbuf [nullPointerOutOfMemory] tmptl6ivth2/src/Wimslogd/log.c:99:17: note: Assuming allocation function fails tmptl6ivth2/src/Wimslogd/log.c:99:17: note: Assignment 'logbuf=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Wimslogd/log.c:100:12: note: Null pointer dereference tmptl6ivth2/src/Wimslogd/log.c:102:3: warning: If memory allocation fails, then there is a possible null pointer dereference: logbuf [nullPointerOutOfMemory] tmptl6ivth2/src/Wimslogd/log.c:99:17: note: Assuming allocation function fails tmptl6ivth2/src/Wimslogd/log.c:99:17: note: Assignment 'logbuf=xmalloc(l+16)', assigned value is 0 tmptl6ivth2/src/Wimslogd/log.c:101:8: note: Assuming condition is false tmptl6ivth2/src/Wimslogd/log.c:102:3: note: Null pointer dereference tmptl6ivth2/src/Wimslogd/wimslogd.c:136:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimslogd/log.c:97:7: style: Checking if unsigned expression 'l' is less than zero. [unsignedLessThanZero] tmptl6ivth2/src/Wimslogd/wimslogdlines.c:34:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimslogd/wimslogdlines.c:180:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimslogd/cache.c:241:25: portability: Undefined behaviour, pointer arithmetic 'buf-1' is out of bounds. [pointerOutOfBounds] tmptl6ivth2/src/Wimslogd/wimslogd.c:78:7: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tmptl6ivth2/src/Wimslogd/cache.c:93:39: style: Parameter 'cl' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/wimslogd.c:238:10: style: Same expression on both sides of '=='. [duplicateExpression] tmptl6ivth2/src/Wimslogd/wimslogd.c:98:18: warning: Uninitialized variable: parm [uninitvar] tmptl6ivth2/src/Wimslogd/wimslogd.c:94:35: note: Assuming condition is false tmptl6ivth2/src/Wimslogd/wimslogd.c:98:18: note: Uninitialized variable: parm tmptl6ivth2/src/Wimslogd/wimslogdlines.c:42:48: warning: If resource allocation fails, then there is a possible null pointer dereference: tf [nullPointerOutOfResources] tmptl6ivth2/src/Wimslogd/wimslogdlines.c:42:15: note: Assuming allocation function fails tmptl6ivth2/src/Wimslogd/wimslogdlines.c:42:15: note: Assignment 'tf=fopen(cmdf,"r")', assigned value is 0 tmptl6ivth2/src/Wimslogd/wimslogdlines.c:42:48: note: Null pointer dereference tmptl6ivth2/src/Wimslogd/wimslogdlines.c:42:60: warning: If resource allocation fails, then there is a possible null pointer dereference: tf [nullPointerOutOfResources] tmptl6ivth2/src/Wimslogd/wimslogdlines.c:42:15: note: Assuming allocation function fails tmptl6ivth2/src/Wimslogd/wimslogdlines.c:42:15: note: Assignment 'tf=fopen(cmdf,"r")', assigned value is 0 tmptl6ivth2/src/Wimslogd/wimslogdlines.c:42:60: note: Null pointer dereference tmptl6ivth2/src/Wimslogd/wimslogdlines.c:53:6: style: Variable 't' is reassigned a value before the old one has been used. [redundantAssignment] tmptl6ivth2/src/Wimslogd/wimslogdlines.c:43:37: note: t is assigned tmptl6ivth2/src/Wimslogd/wimslogdlines.c:53:6: note: t is overwritten tmptl6ivth2/src/Wimslogd/wimslogdlines.c:199:20: style:inconclusive: Function 'my_debug' argument 1 names different: declaration 'p' definition 's'. [funcArgNamesDifferent] tmptl6ivth2/src/Wimslogd/wimslogd.h:161:21: note: Function 'my_debug' argument 1 names different: declaration 'p' definition 's'. tmptl6ivth2/src/Wimslogd/wimslogdlines.c:199:20: note: Function 'my_debug' argument 1 names different: declaration 'p' definition 's'. tmptl6ivth2/src/Wimslogd/wimslogdlines.c:41:12: style: Local variable 'buf' shadows outer variable [shadowVariable] tmptl6ivth2/src/Wimslogd/wimslogdlines.c:33:10: note: Shadowed declaration tmptl6ivth2/src/Wimslogd/wimslogdlines.c:41:12: note: Shadow variable tmptl6ivth2/src/Wimslogd/wimslogdlines.c:24:38: style: Parameter 'inf' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/wimslogdlines.c:24:49: style: Parameter 'outf' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/wimslogdlines.c:24:61: style: Parameter 'errf' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/wimslogdlines.c:127:43: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/wimslogdlines.c:178:27: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/auth.c:71:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CPU [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/cleaning.c:44:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:183:26: style:inconclusive: Boolean expression 'loopcount>0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:183:46: style:inconclusive: Boolean expression 'loopcount==0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:213:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:134:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:161:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:618:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:696:13: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:696:13: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:696:13: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:308:32: style: Local variable 'i' shadows outer variable [shadowVariable] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:258:7: note: Shadowed declaration tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:308:32: note: Shadow variable tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:125:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:254:36: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:307:29: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:645:35: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:684:22: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:711:22: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:732:20: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/whirlgif/whirlgif.c:96:3: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] tmptl6ivth2/src/auth.c:32:9: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/auth.c:103:23: style: Variable 'sh' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/auth.c:103:28: style: Variable 'u' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/auth.c:167:19: style: Variable 'name' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/auth.c:169:9: style: Variable 'nonstr' can be declared as const array [constVariable] tmptl6ivth2/src/auth.c:132:17: warning: Uninitialized variable: rafinfo [uninitvar] tmptl6ivth2/src/auth.c:118:45: note: Assuming condition is false tmptl6ivth2/src/auth.c:132:17: note: Uninitialized variable: rafinfo tmptl6ivth2/src/evalue.c:152:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] tmptl6ivth2/src/evalue.c:60:29: style: Variable 'oldend' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/evalue.c:221:50: style: Variable 'inp' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/calc.c:611:20: debug: Function::addArguments found argument 'fnd_fn' with varid 0. [varid0] tmptl6ivth2/src/calc.c:621:26: debug: Function::addArguments found argument 'len_fn' with varid 0. [varid0] tmptl6ivth2/src/calc.c:804:15: debug: Function::addArguments found argument 'fnd_obj' with varid 0. [varid0] tmptl6ivth2/src/calc.c:885:20: debug: Function::addArguments found argument 'fnd_obj' with varid 0. [varid0] tmptl6ivth2/src/calc.c:2122:41: debug: Function::addArguments found argument 'app' with varid 0. [varid0] tmptl6ivth2/src/config.c:510:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CPU [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/config.c:744:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/files.c:26:23: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/files.c:26:50: style: Parameter 'content' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/files.c:26:65: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/files.c:28:9: style: Variable 'm' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exam.c:186:5: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] tmptl6ivth2/src/exam.c:113:15: style: Local variable 'cbuf' shadows outer variable [shadowVariable] tmptl6ivth2/src/exam.c:47:24: note: Shadowed declaration tmptl6ivth2/src/exam.c:113:15: note: Shadow variable tmptl6ivth2/src/exam.c:46:18: style: Variable 'e1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exam.c:46:23: style: Variable 'e2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exam.c:164:39: style: Variable 'pf2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exam.c:189:11: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exam.c:242:18: style: Variable 'cl' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:325:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:335:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:437:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_size [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/insmath.c:191:42: debug: Function::addArguments found argument 'pp' with varid 0. [varid0] tmptl6ivth2/src/insmath.c:31:24: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/insmath.c:34:9: style: Variable 'cl' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/insmath.c:67:31: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/insmath.c:70:9: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/insmath.c:217:13: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/insmath.c:111:6: warning: Uninitialized variable: alignbak [uninitvar] tmptl6ivth2/src/insmath.c:101:8: note: Assuming condition is false tmptl6ivth2/src/insmath.c:111:6: note: Uninitialized variable: alignbak tmptl6ivth2/src/html.c:80:11: style: Local variable 'pp' shadows outer variable [shadowVariable] tmptl6ivth2/src/html.c:34:18: note: Shadowed declaration tmptl6ivth2/src/html.c:80:11: note: Shadow variable tmptl6ivth2/src/html.c:34:49: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/html.c:34:53: style: Variable 'hmode' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:39:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/log.c:450:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/log.c:472:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNIX [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/exec.c:137:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/exec.c:2106:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:111:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:118:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:130:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:170:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:227:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:242:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:358:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:406:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:443:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:504:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:843:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:860:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:922:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:1072:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/lines.c:1326:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/calc.c:264:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/calc.c:614:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fnd_fn [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/calc.c:650:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fnd_fn [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/config.c:699:12: portability: Undefined behaviour, pointer arithmetic 'ind_buf-1' is out of bounds. [pointerOutOfBounds] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:111:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5981:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6073:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6120:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6140:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6171:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6206:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6977:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/config.c:860:9: style: Variable 'ti' is reassigned a value before the old one has been used. [redundantAssignment] tmptl6ivth2/src/config.c:835:34: note: ti is assigned tmptl6ivth2/src/config.c:860:9: note: ti is overwritten tmptl6ivth2/src/config.c:883:22: style:inconclusive: Function 'setsesdir' argument 1 names different: declaration 'p' definition 'd'. [funcArgNamesDifferent] tmptl6ivth2/src/wims.h:207:22: note: Function 'setsesdir' argument 1 names different: declaration 'p' definition 'd'. tmptl6ivth2/src/config.c:883:22: note: Function 'setsesdir' argument 1 names different: declaration 'p' definition 'd'. tmptl6ivth2/src/config.c:870:16: style: Local variable 'nbuf' shadows outer variable [shadowVariable] tmptl6ivth2/src/config.c:821:11: note: Shadowed declaration tmptl6ivth2/src/config.c:870:16: note: Shadow variable tmptl6ivth2/src/config.c:324:9: style: Variable 's1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/config.c:366:13: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/config.c:394:9: style: Variable 'conf_buf' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/config.c:578:15: style: Variable 'jp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/config.c:688:22: style: Variable 'ft' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/config.c:792:9: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/config.c:792:19: style: Variable 'ladirection' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/config.c:792:33: style: Variable 'mp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/config.c:792:38: style: Variable 's2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/config.c:792:43: style: Variable 'wversion' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/config.c:825:23: style: Variable 'ti' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/config.c:818:48: style: Variable 'ladirection' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/mathfonts.c:79:11: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/mathfonts.c:87:11: style: Variable 'underscore' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/mathfonts.c:90:17: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:456:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/log.c:456:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/log.c:456:3: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/log.c:456:3: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/log.c:456:3: warning: %u in format string (no. 5) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/log.c:456:3: warning: %u in format string (no. 6) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/log.c:354:18: warning: If memory allocation fails, then there is a possible null pointer dereference: ll [nullPointerOutOfMemory] tmptl6ivth2/src/log.c:351:12: note: Assuming allocation function fails tmptl6ivth2/src/log.c:351:12: note: Assignment 'll=strdup(l)', assigned value is 0 tmptl6ivth2/src/log.c:354:18: note: Null pointer dereference tmptl6ivth2/src/log.c:363:17: warning: If memory allocation fails, then there is a possible null pointer dereference: ll [nullPointerOutOfMemory] tmptl6ivth2/src/log.c:351:12: note: Assuming allocation function fails tmptl6ivth2/src/log.c:351:12: note: Assignment 'll=strdup(l)', assigned value is 0 tmptl6ivth2/src/log.c:363:17: note: Null pointer dereference tmptl6ivth2/src/log.c:132:21: style:inconclusive: Function 'user_log' argument 1 names different: declaration 'p' definition 'c'. [funcArgNamesDifferent] tmptl6ivth2/src/wims.h:364:21: note: Function 'user_log' argument 1 names different: declaration 'p' definition 'c'. tmptl6ivth2/src/log.c:132:21: note: Function 'user_log' argument 1 names different: declaration 'p' definition 'c'. tmptl6ivth2/src/log.c:318:21: style:inconclusive: Function 'mail_log' argument 1 names different: declaration 'p' definition 'c'. [funcArgNamesDifferent] tmptl6ivth2/src/wims.h:366:21: note: Function 'mail_log' argument 1 names different: declaration 'p' definition 'c'. tmptl6ivth2/src/log.c:318:21: note: Function 'mail_log' argument 1 names different: declaration 'p' definition 'c'. tmptl6ivth2/src/log.c:134:28: style: Local variable 'logbuf' shadows outer variable [shadowVariable] tmptl6ivth2/src/log.c:23:6: note: Shadowed declaration tmptl6ivth2/src/log.c:134:28: note: Shadow variable tmptl6ivth2/src/log.c:266:8: style: Local variable 'logbuf' shadows outer variable [shadowVariable] tmptl6ivth2/src/log.c:23:6: note: Shadowed declaration tmptl6ivth2/src/log.c:266:8: note: Shadow variable tmptl6ivth2/src/log.c:26:26: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/log.c:26:39: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/log.c:48:9: style: Variable 'logstr' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:48:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:70:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:70:15: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:70:22: style: Variable 'h' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:111:9: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:111:18: style: Variable 'agent' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:111:26: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:135:43: style: Variable 'cc' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:135:48: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:135:53: style: Variable 'allow' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:135:61: style: Variable 'pend' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:135:68: style: Variable 'se' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:136:9: style: Variable 'ex' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:182:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:203:11: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:210:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:216:17: style: Variable 'ms' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:264:32: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/log.c:264:41: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/log.c:278:25: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:278:29: style: Variable 'agent' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:278:37: style: Variable 'u' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:318:21: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/log.c:321:9: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:321:25: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:321:29: style: Variable 'cl' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:343:9: style: Variable 'h' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:343:13: style: Variable 'l' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:344:9: style: Variable 'authpwd' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:344:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:378:26: style: Parameter 'msg' can be declared as const array [constParameter] tmptl6ivth2/src/log.c:380:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:380:13: style: Variable 'm' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:380:17: style: Variable 'c' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:380:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:380:25: style: Variable 'q' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:401:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:401:13: style: Variable 'm' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:401:17: style: Variable 'c' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:421:9: style: Variable 'load' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:421:16: style: Variable 'h' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/log.c:185:38: style: Variable 'sc' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/log.c:411:42: style: Variable 'c' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/log.c:502:20: style: Variable 'p2' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/mathml.c:73:20: style: Condition 'idx<0' is always false [knownConditionTrueFalse] tmptl6ivth2/src/mathml.c:71:14: note: Assuming that condition '(u[0])>='0'' is not redundant tmptl6ivth2/src/mathml.c:72:24: note: Assignment 'idx=u[0]-'0'', assigned value is greater than -1 tmptl6ivth2/src/mathml.c:73:20: note: Condition 'idx<0' is always false tmptl6ivth2/src/mathml.c:73:31: style: Condition 'idx>11' is always false [knownConditionTrueFalse] tmptl6ivth2/src/mathml.c:71:14: note: Assuming that condition '(u[0])<='9'' is not redundant tmptl6ivth2/src/mathml.c:72:24: note: Assignment 'idx=u[0]-'0'', assigned value is less than 10 tmptl6ivth2/src/mathml.c:73:31: note: Condition 'idx>11' is always false tmptl6ivth2/src/mathml.c:75:37: style: Condition 'u[2]!=0' is always true [knownConditionTrueFalse] tmptl6ivth2/src/mathml.c:75:14: note: Assuming that condition '(u[2])>='0'' is not redundant tmptl6ivth2/src/mathml.c:75:37: note: Condition 'u[2]!=0' is always true tmptl6ivth2/src/mathml.c:158:46: warning: If resource allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfResources] tmptl6ivth2/src/mathml.c:151:25: note: Assuming allocation function fails tmptl6ivth2/src/mathml.c:151:25: note: Assignment 'stream=fdopen(my_pipe[0],"r")', assigned value is 0 tmptl6ivth2/src/mathml.c:158:46: note: Null pointer dereference tmptl6ivth2/src/mathml.c:173:46: warning: If resource allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfResources] tmptl6ivth2/src/mathml.c:151:25: note: Assuming allocation function fails tmptl6ivth2/src/mathml.c:151:25: note: Assignment 'stream=fdopen(my_pipe[0],"r")', assigned value is 0 tmptl6ivth2/src/mathml.c:173:46: note: Null pointer dereference tmptl6ivth2/src/mathml.c:182:17: warning: If resource allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfResources] tmptl6ivth2/src/mathml.c:151:25: note: Assuming allocation function fails tmptl6ivth2/src/mathml.c:151:25: note: Assignment 'stream=fdopen(my_pipe[0],"r")', assigned value is 0 tmptl6ivth2/src/mathml.c:182:17: note: Null pointer dereference tmptl6ivth2/src/mathml.c:52:11: style: Variable 'texsize_list' can be declared as const array [constVariable] tmptl6ivth2/src/mathml.c:66:15: style: Variable 'u' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/lines.c:288:11: error: Array 'lc[16384]' accessed at index -1, which is out of bounds. [negativeIndex] tmptl6ivth2/src/lines.c:286:10: note: Assignment 'i=0', assigned value is 0 tmptl6ivth2/src/lines.c:288:11: note: Negative array index tmptl6ivth2/src/lines.c:288:37: error: Array 'lc[16384]' accessed at index -1, which is out of bounds. [negativeIndex] tmptl6ivth2/src/lines.c:286:10: note: Assignment 'i=0', assigned value is 0 tmptl6ivth2/src/lines.c:288:37: note: Negative array index tmptl6ivth2/src/lines.c:885:3: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] tmptl6ivth2/src/lines.c:890:5: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] tmptl6ivth2/src/lines.c:292:18: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] tmptl6ivth2/src/lines.c:291:23: note: Assuming allocation function fails tmptl6ivth2/src/lines.c:291:23: note: Assignment 'f->for_stack=xmalloc(12*sizeof(struct FOR_STACK)+(i+1)*sizeof(struct LINE_STRUCT))', assigned value is 0 tmptl6ivth2/src/lines.c:292:18: note: Null pointer addition tmptl6ivth2/src/lines.c:81:9: style: Variable 'cstr' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/lines.c:115:25: style: Parameter 'msg' can be declared as const array [constParameter] tmptl6ivth2/src/lines.c:138:14: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/lines.c:151:24: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/lines.c:252:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/lines.c:356:24: style: Parameter 'msg' can be declared as const array [constParameter] tmptl6ivth2/src/lines.c:399:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/lines.c:513:9: style: Variable 'modname' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/lines.c:513:19: style: Variable 'w' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/lines.c:608:26: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/lines.c:723:33: style: Parameter 'ins' can be declared as const array [constParameter] tmptl6ivth2/src/lines.c:748:32: style: Parameter 'ins' can be declared as const array [constParameter] tmptl6ivth2/src/lines.c:782:8: style: Variable 'trlist' can be declared as const array [constVariable] tmptl6ivth2/src/lines.c:808:19: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/lines.c:897:38: style: Parameter 'inf' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/lines.c:897:49: style: Parameter 'outf' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/lines.c:1058:38: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/lines.c:1098:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/lines.c:1132:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/lines.c:1153:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/lines.c:1212:19: style: Variable 'pb' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/lines.c:1212:24: style: Variable 'pe' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:451:34: error: Using pointer to local variable 'buf2' that is out of scope. [invalidLifetime] tmptl6ivth2/src/score.c:448:9: note: Array decayed to pointer here. tmptl6ivth2/src/score.c:418:30: note: Assuming condition is false tmptl6ivth2/src/score.c:419:30: note: Variable created here. tmptl6ivth2/src/score.c:451:34: note: Using pointer to local variable 'buf2' that is out of scope. tmptl6ivth2/src/score.c:185:29: style: Condition 'sh<1' is always false [knownConditionTrueFalse] tmptl6ivth2/src/score.c:185:20: note: Assignment 'sh=rscore[i].sh+1', assigned value is greater than 0 tmptl6ivth2/src/score.c:185:29: note: Condition 'sh<1' is always false tmptl6ivth2/src/score.c:123:41: warning: Either the condition 'pn==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/score.c:124:12: note: Assuming that condition 'pn==NULL' is not redundant tmptl6ivth2/src/score.c:123:41: note: Null pointer addition tmptl6ivth2/src/score.c:689:23: style:inconclusive: Function 'gettrycheck' argument 1 names different: declaration 'class' definition 'classe'. [funcArgNamesDifferent] tmptl6ivth2/src/wims.h:428:24: note: Function 'gettrycheck' argument 1 names different: declaration 'class' definition 'classe'. tmptl6ivth2/src/score.c:689:23: note: Function 'gettrycheck' argument 1 names different: declaration 'class' definition 'classe'. tmptl6ivth2/src/score.c:689:47: style:inconclusive: Function 'gettrycheck' argument 3 names different: declaration 'sh' definition 'she'. [funcArgNamesDifferent] tmptl6ivth2/src/wims.h:428:47: note: Function 'gettrycheck' argument 3 names different: declaration 'sh' definition 'she'. tmptl6ivth2/src/score.c:689:47: note: Function 'gettrycheck' argument 3 names different: declaration 'sh' definition 'she'. tmptl6ivth2/src/score.c:689:56: style:inconclusive: Function 'gettrycheck' argument 4 names different: declaration 'ex' definition 'exo'. [funcArgNamesDifferent] tmptl6ivth2/src/wims.h:428:55: note: Function 'gettrycheck' argument 4 names different: declaration 'ex' definition 'exo'. tmptl6ivth2/src/score.c:689:56: note: Function 'gettrycheck' argument 4 names different: declaration 'ex' definition 'exo'. tmptl6ivth2/src/score.c:718:26: style:inconclusive: Function 'getseedscore' argument 1 names different: declaration 'class' definition 'classe'. [funcArgNamesDifferent] tmptl6ivth2/src/wims.h:429:27: note: Function 'getseedscore' argument 1 names different: declaration 'class' definition 'classe'. tmptl6ivth2/src/score.c:718:26: note: Function 'getseedscore' argument 1 names different: declaration 'class' definition 'classe'. tmptl6ivth2/src/score.c:718:50: style:inconclusive: Function 'getseedscore' argument 3 names different: declaration 'sh' definition 'she'. [funcArgNamesDifferent] tmptl6ivth2/src/wims.h:429:50: note: Function 'getseedscore' argument 3 names different: declaration 'sh' definition 'she'. tmptl6ivth2/src/score.c:718:50: note: Function 'getseedscore' argument 3 names different: declaration 'sh' definition 'she'. tmptl6ivth2/src/score.c:718:59: style:inconclusive: Function 'getseedscore' argument 4 names different: declaration 'ex' definition 'exo'. [funcArgNamesDifferent] tmptl6ivth2/src/wims.h:429:58: note: Function 'getseedscore' argument 4 names different: declaration 'ex' definition 'exo'. tmptl6ivth2/src/score.c:718:59: note: Function 'getseedscore' argument 4 names different: declaration 'ex' definition 'exo'. tmptl6ivth2/src/score.c:46:24: style: Parameter 'classe' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/score.c:46:38: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/score.c:49:9: style: Variable 'nowuser' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:49:19: style: Variable 'nowsheet' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:49:30: style: Variable 'nowexo' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:49:39: style: Variable 'nowscore' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:156:13: style: Variable 'classe' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:162:12: style: Variable 'user' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:370:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:417:14: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:503:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:511:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:558:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:589:9: style: Variable 'withoutip' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:690:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:698:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/score.c:719:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/test.c:27:22: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/rawmath.c:335:12: style: Same expression on both sides of '-'. [duplicateExpression] tmptl6ivth2/src/rawmath.c:653:60: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] tmptl6ivth2/src/rawmath.c:220:30: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] tmptl6ivth2/src/rawmath.c:231:9: style: Local variable 'sign' shadows outer function [shadowFunction] tmptl6ivth2/src/Lib/libwims.h:154:8: note: Shadowed declaration tmptl6ivth2/src/rawmath.c:231:9: note: Shadow variable tmptl6ivth2/src/rawmath.c:448:30: style: Local variable 'p' shadows outer argument [shadowArgument] tmptl6ivth2/src/rawmath.c:286:20: note: Shadowed declaration tmptl6ivth2/src/rawmath.c:448:30: note: Shadow variable tmptl6ivth2/src/rawmath.c:765:13: style: Local variable 'n' shadows outer argument [shadowArgument] tmptl6ivth2/src/rawmath.c:714:36: note: Shadowed declaration tmptl6ivth2/src/rawmath.c:765:13: note: Shadow variable tmptl6ivth2/src/rawmath.c:203:39: style: Parameter 'old' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/rawmath.c:288:24: style: Variable 'p4' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/rawmath.c:448:30: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/rawmath.c:464:9: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/rawmath.c:487:21: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/rawmath.c:670:19: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:695:38: error: Using pointer to local variable 'st' that is out of scope. [invalidLifetime] tmptl6ivth2/src/exec.c:692:13: note: Array decayed to pointer here. tmptl6ivth2/src/exec.c:681:14: note: Variable created here. tmptl6ivth2/src/exec.c:695:38: note: Using pointer to local variable 'st' that is out of scope. tmptl6ivth2/src/exec.c:979:36: error: Using pointer to local variable 'st' that is out of scope. [invalidLifetime] tmptl6ivth2/src/exec.c:976:11: note: Array decayed to pointer here. tmptl6ivth2/src/exec.c:971:14: note: Variable created here. tmptl6ivth2/src/exec.c:979:36: note: Using pointer to local variable 'st' that is out of scope. tmptl6ivth2/src/exec.c:207:9: warning: If memory allocation fails, then there is a possible null pointer dereference: p2 [nullPointerOutOfMemory] tmptl6ivth2/src/exec.c:203:15: note: Assuming allocation function fails tmptl6ivth2/src/exec.c:203:15: note: Assignment 'p2=xmalloc(45000+1)', assigned value is 0 tmptl6ivth2/src/exec.c:207:9: note: Null pointer dereference tmptl6ivth2/src/exec.c:975:42: warning: Either the condition 's1==NULL' is redundant or there is possible null pointer dereference: s1. [nullPointerRedundantCheck] tmptl6ivth2/src/exec.c:974:14: note: Assuming that condition 's1==NULL' is not redundant tmptl6ivth2/src/exec.c:975:42: note: Null pointer dereference tmptl6ivth2/src/exec.c:1017:5: warning: Either the condition 'p1==NULL' is redundant or there is possible null pointer dereference: p1. [nullPointerRedundantCheck] tmptl6ivth2/src/exec.c:1016:29: note: Assuming that condition 'p1==NULL' is not redundant tmptl6ivth2/src/exec.c:1017:5: note: Null pointer dereference tmptl6ivth2/src/exec.c:1692:4: warning: Either the condition 'p1==NULL' is redundant or there is possible null pointer dereference: p1. [nullPointerRedundantCheck] tmptl6ivth2/src/exec.c:1691:8: note: Assuming that condition 'p1==NULL' is not redundant tmptl6ivth2/src/exec.c:1692:4: note: Null pointer dereference tmptl6ivth2/src/exec.c:1728:8: warning: Either the condition 'p4==NULL' is redundant or there is possible null pointer dereference: p4. [nullPointerRedundantCheck] tmptl6ivth2/src/exec.c:1727:14: note: Assuming that condition 'p4==NULL' is not redundant tmptl6ivth2/src/exec.c:1728:8: note: Null pointer dereference tmptl6ivth2/src/exec.c:1751:6: warning: Either the condition 'p1==NULL' is redundant or there is possible null pointer dereference: p1. [nullPointerRedundantCheck] tmptl6ivth2/src/exec.c:1750:10: note: Assuming that condition 'p1==NULL' is not redundant tmptl6ivth2/src/exec.c:1751:6: note: Null pointer dereference tmptl6ivth2/src/var.c:279:31: style:inconclusive: Function 'setvar' argument 2 names different: declaration 'vval' definition 'vvalue'. [funcArgNamesDifferent] tmptl6ivth2/src/wims.h:448:31: note: Function 'setvar' argument 2 names different: declaration 'vval' definition 'vvalue'. tmptl6ivth2/src/var.c:279:31: note: Function 'setvar' argument 2 names different: declaration 'vval' definition 'vvalue'. tmptl6ivth2/src/var.c:364:20: style:inconclusive: Function 'getvar' argument 1 names different: declaration 'name' definition 'vname'. [funcArgNamesDifferent] tmptl6ivth2/src/wims.h:447:20: note: Function 'getvar' argument 1 names different: declaration 'name' definition 'vname'. tmptl6ivth2/src/var.c:364:20: note: Function 'getvar' argument 1 names different: declaration 'name' definition 'vname'. tmptl6ivth2/src/exec.c:1017:32: warning: Either the condition 'p1==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/exec.c:1016:29: note: Assuming that condition 'p1==NULL' is not redundant tmptl6ivth2/src/exec.c:1017:32: note: Null pointer addition tmptl6ivth2/src/exec.c:1562:32: warning: Either the condition 'p2==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/exec.c:1563:10: note: Assuming that condition 'p2==NULL' is not redundant tmptl6ivth2/src/exec.c:1562:32: note: Null pointer addition tmptl6ivth2/src/exec.c:1693:24: warning: Either the condition 'p1==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/exec.c:1691:8: note: Assuming that condition 'p1==NULL' is not redundant tmptl6ivth2/src/exec.c:1693:24: note: Null pointer addition tmptl6ivth2/src/exec.c:1751:33: warning: Either the condition 'p1==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/exec.c:1750:10: note: Assuming that condition 'p1==NULL' is not redundant tmptl6ivth2/src/exec.c:1751:33: note: Null pointer addition tmptl6ivth2/src/var.c:90:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/var.c:177:21: style: Parameter 'vn' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/var.c:381:20: style: Parameter 'stem' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/var.c:427:21: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/exec.c:1393:5: style: Variable 'pp' is reassigned a value before the old one has been used. [redundantAssignment] tmptl6ivth2/src/exec.c:1381:11: note: pp is assigned tmptl6ivth2/src/exec.c:1393:5: note: pp is overwritten tmptl6ivth2/src/exec.c:732:11: style: Local variable 'p' shadows outer argument [shadowArgument] tmptl6ivth2/src/exec.c:713:25: note: Shadowed declaration tmptl6ivth2/src/exec.c:732:11: note: Shadow variable tmptl6ivth2/src/exec.c:971:14: style: Local variable 'st' shadows outer variable [shadowVariable] tmptl6ivth2/src/exec.c:916:36: note: Shadowed declaration tmptl6ivth2/src/exec.c:971:14: note: Shadow variable tmptl6ivth2/src/exec.c:985:9: style: Local variable 'i' shadows outer variable [shadowVariable] tmptl6ivth2/src/exec.c:918:7: note: Shadowed declaration tmptl6ivth2/src/exec.c:985:9: note: Shadow variable tmptl6ivth2/src/exec.c:1172:8: style: Local variable 'outbuf' shadows outer variable [shadowVariable] tmptl6ivth2/src/wims.h:360:13: note: Shadowed declaration tmptl6ivth2/src/exec.c:1172:8: note: Shadow variable tmptl6ivth2/src/exec.c:69:14: style: Variable 'stk' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:116:22: style: Parameter 'p' can be declared as pointer to const. However it seems that 'exec_else' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/exec.c:1883:35: note: You might need to cast the function pointer here tmptl6ivth2/src/exec.c:116:22: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/exec.c:122:23: style: Parameter 'p' can be declared as pointer to const. However it seems that 'exec_endif' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/exec.c:1887:36: note: You might need to cast the function pointer here tmptl6ivth2/src/exec.c:122:23: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/exec.c:223:14: style: Variable 'stk' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:346:13: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:411:41: style: Variable 'phtml' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:460:15: style: Variable 'user' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:478:15: style: Variable 'user' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:520:25: style: Parameter 'p' can be declared as pointer to const. However it seems that 'exec_formend' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/exec.c:1910:33: note: You might need to cast the function pointer here tmptl6ivth2/src/exec.c:520:25: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/exec.c:528:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/exec.c:556:40: style: Variable 'ws' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:556:48: style: Variable 'ws2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:631:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:655:35: style: Parameter 'wn' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/exec.c:658:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:658:18: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:717:29: style: Variable 'rfn' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:732:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:779:36: style: Parameter 'vname' can be declared as const array [constParameter] tmptl6ivth2/src/exec.c:781:19: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:916:18: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:972:15: style: Variable 's1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:1073:26: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:1087:25: style: Parameter 'p' can be declared as pointer to const. However it seems that 'exec_comment' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/exec.c:2031:38: note: You might need to cast the function pointer here tmptl6ivth2/src/exec.c:1087:25: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/exec.c:1093:22: style: Parameter 'p' can be declared as pointer to const. However it seems that 'exec_exit' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/exec.c:2035:35: note: You might need to cast the function pointer here tmptl6ivth2/src/exec.c:1093:22: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/exec.c:1258:11: style: Variable 'n' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:1258:15: style: Variable 'nend' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:1284:9: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:1284:14: style: Variable 'tc' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:1311:11: style: Variable 'pagebreak' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:1641:27: style: Variable 'l' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:1743:13: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:1774:34: style: Variable 'charset' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/exec.c:1830:27: style: Parameter 'p' can be declared as pointer to const. However it seems that 'exec_directout' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/exec.c:2048:42: note: You might need to cast the function pointer here tmptl6ivth2/src/exec.c:1830:27: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/exec.c:1387:19: warning: Uninitialized variable: bbuf [uninitvar] tmptl6ivth2/src/exec.c:1379:19: note: Assuming condition is true tmptl6ivth2/src/exec.c:1387:19: note: Uninitialized variable: bbuf tmptl6ivth2/src/exec.c:1422:13: error: Uninitialized variable: setbuf [legacyUninitvar] tmptl6ivth2/src/exec.c:103:12: style: Variable 'i' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/texmath.c:206:16: warning: Either the condition 'pp==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/texmath.c:236:12: note: Assuming that condition 'pp==NULL' is not redundant tmptl6ivth2/src/texmath.c:206:16: note: Null pointer addition tmptl6ivth2/src/texmath.c:247:16: warning: Either the condition 'pp==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/texmath.c:277:12: note: Assuming that condition 'pp==NULL' is not redundant tmptl6ivth2/src/texmath.c:247:16: note: Null pointer addition tmptl6ivth2/src/texmath.c:662:18: warning: Either the condition '!p2' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/texmath.c:663:9: note: Assuming that condition '!p2' is not redundant tmptl6ivth2/src/texmath.c:662:18: note: Null pointer subtraction tmptl6ivth2/src/texmath.c:520:34: style:inconclusive: Function 't_onefactor' argument 1 names different: declaration 'p' definition 'fb'. [funcArgNamesDifferent] tmptl6ivth2/src/texmath.c:37:34: note: Function 't_onefactor' argument 1 names different: declaration 'p' definition 'fb'. tmptl6ivth2/src/texmath.c:520:34: note: Function 't_onefactor' argument 1 names different: declaration 'p' definition 'fb'. tmptl6ivth2/src/texmath.c:346:7: style: Local variable 'sign' shadows outer function [shadowFunction] tmptl6ivth2/src/Lib/libwims.h:154:8: note: Shadowed declaration tmptl6ivth2/src/texmath.c:346:7: note: Shadow variable tmptl6ivth2/src/texmath.c:401:13: style: Local variable 'pt' shadows outer variable [shadowVariable] tmptl6ivth2/src/texmath.c:347:19: note: Shadowed declaration tmptl6ivth2/src/texmath.c:401:13: note: Shadow variable tmptl6ivth2/src/texmath.c:550:20: style: Local variable 'pt' shadows outer variable [shadowVariable] tmptl6ivth2/src/texmath.c:535:13: note: Shadowed declaration tmptl6ivth2/src/texmath.c:550:20: note: Shadow variable tmptl6ivth2/src/texmath.c:285:11: style: Variable 'pe' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/texmath.c:310:16: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/texmath.c:334:19: style: Variable 't1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/texmath.c:334:24: style: Variable 't2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/texmath.c:347:19: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/texmath.c:401:13: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/texmath.c:496:14: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/texmath.c:657:40: style: Parameter 's_mat1' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/calc.c:96:26: warning: Either the condition 'i>=(sizeof(sort_keyw)/sizeof(sort_keyw[0]))' is redundant or the array 'sort_keyw[18]' is accessed at index 18, which is out of bounds. [arrayIndexOutOfBoundsCond] tmptl6ivth2/src/calc.c:95:9: note: Assuming that condition 'i>=(sizeof(sort_keyw)/sizeof(sort_keyw[0]))' is not redundant tmptl6ivth2/src/calc.c:96:26: note: Array index out of bounds tmptl6ivth2/src/calc.c:1964:18: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/calc.c:1966:8: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/wims.c:567:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXO [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/wims.c:893:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/wims.c:1051:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/wims.c:1174:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/calc.c:829:4: warning: Either the condition 'p2==NULL' is redundant or there is possible null pointer dereference: p2. [nullPointerRedundantCheck] tmptl6ivth2/src/calc.c:828:8: note: Assuming that condition 'p2==NULL' is not redundant tmptl6ivth2/src/calc.c:829:4: note: Null pointer dereference tmptl6ivth2/src/calc.c:1283:4: warning: Either the condition 'pp==NULL' is redundant or there is possible null pointer dereference: pp. [nullPointerRedundantCheck] tmptl6ivth2/src/calc.c:1282:8: note: Assuming that condition 'pp==NULL' is not redundant tmptl6ivth2/src/calc.c:1283:4: note: Null pointer dereference tmptl6ivth2/src/calc.c:1313:4: warning: Either the condition 'pp==NULL' is redundant or there is possible null pointer dereference: pp. [nullPointerRedundantCheck] tmptl6ivth2/src/calc.c:1312:8: note: Assuming that condition 'pp==NULL' is not redundant tmptl6ivth2/src/calc.c:1313:4: note: Null pointer dereference tmptl6ivth2/src/calc.c:1346:4: warning: Either the condition 'pp==NULL' is redundant or there is possible null pointer dereference: pp. [nullPointerRedundantCheck] tmptl6ivth2/src/calc.c:1345:8: note: Assuming that condition 'pp==NULL' is not redundant tmptl6ivth2/src/calc.c:1346:4: note: Null pointer dereference tmptl6ivth2/src/calc.c:1538:4: warning: Either the condition 'p1==NULL' is redundant or there is possible null pointer dereference: p1. [nullPointerRedundantCheck] tmptl6ivth2/src/calc.c:1537:28: note: Assuming that condition 'p1==NULL' is not redundant tmptl6ivth2/src/calc.c:1538:4: note: Null pointer dereference tmptl6ivth2/src/calc.c:1567:4: warning: Either the condition 'p2==NULL' is redundant or there is possible null pointer dereference: p2. [nullPointerRedundantCheck] tmptl6ivth2/src/calc.c:1566:31: note: Assuming that condition 'p2==NULL' is not redundant tmptl6ivth2/src/calc.c:1567:4: note: Null pointer dereference tmptl6ivth2/src/calc.c:1616:4: warning: Either the condition 'p2==NULL' is redundant or there is possible null pointer dereference: p2. [nullPointerRedundantCheck] tmptl6ivth2/src/calc.c:1615:28: note: Assuming that condition 'p2==NULL' is not redundant tmptl6ivth2/src/calc.c:1616:4: note: Null pointer dereference tmptl6ivth2/src/calc.c:1894:36: warning: Either the condition 'p1==NULL' is redundant or there is possible null pointer dereference: p1. [nullPointerRedundantCheck] tmptl6ivth2/src/calc.c:1898:8: note: Assuming that condition 'p1==NULL' is not redundant tmptl6ivth2/src/calc.c:1894:36: note: Null pointer dereference tmptl6ivth2/src/calc.c:2037:4: warning: Either the condition 'pp==NULL' is redundant or there is possible null pointer dereference: pp. [nullPointerRedundantCheck] tmptl6ivth2/src/calc.c:2036:8: note: Assuming that condition 'pp==NULL' is not redundant tmptl6ivth2/src/calc.c:2037:4: note: Null pointer dereference tmptl6ivth2/src/calc.c:2074:4: warning: Either the condition 'p1==NULL' is redundant or there is possible null pointer dereference: p1. [nullPointerRedundantCheck] tmptl6ivth2/src/calc.c:2073:28: note: Assuming that condition 'p1==NULL' is not redundant tmptl6ivth2/src/calc.c:2074:4: note: Null pointer dereference tmptl6ivth2/src/calc.c:2128:6: warning: Either the condition 'p2==NULL' is redundant or there is possible null pointer dereference: p2. [nullPointerRedundantCheck] tmptl6ivth2/src/calc.c:2127:10: note: Assuming that condition 'p2==NULL' is not redundant tmptl6ivth2/src/calc.c:2128:6: note: Null pointer dereference tmptl6ivth2/src/calc.c:2140:6: warning: Either the condition 'p2==NULL' is redundant or there is possible null pointer dereference: p2. [nullPointerRedundantCheck] tmptl6ivth2/src/calc.c:2139:10: note: Assuming that condition 'p2==NULL' is not redundant tmptl6ivth2/src/calc.c:2140:6: note: Null pointer dereference tmptl6ivth2/src/calc.c:2140:31: warning: Either the condition 'p2==NULL' is redundant or there is possible null pointer dereference: p2. [nullPointerRedundantCheck] tmptl6ivth2/src/calc.c:2139:10: note: Assuming that condition 'p2==NULL' is not redundant tmptl6ivth2/src/calc.c:2140:31: note: Null pointer dereference tmptl6ivth2/src/calc.c:2144:8: warning: Either the condition 'p2==NULL' is redundant or there is possible null pointer dereference: p2. [nullPointerRedundantCheck] tmptl6ivth2/src/calc.c:2143:12: note: Assuming that condition 'p2==NULL' is not redundant tmptl6ivth2/src/calc.c:2144:8: note: Null pointer dereference tmptl6ivth2/src/calc.c:829:30: warning: Either the condition 'p2==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/calc.c:828:8: note: Assuming that condition 'p2==NULL' is not redundant tmptl6ivth2/src/calc.c:829:30: note: Null pointer addition tmptl6ivth2/src/calc.c:1283:41: warning: Either the condition 'pp==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/calc.c:1282:8: note: Assuming that condition 'pp==NULL' is not redundant tmptl6ivth2/src/calc.c:1283:41: note: Null pointer addition tmptl6ivth2/src/calc.c:1313:41: warning: Either the condition 'pp==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/calc.c:1312:8: note: Assuming that condition 'pp==NULL' is not redundant tmptl6ivth2/src/calc.c:1313:41: note: Null pointer addition tmptl6ivth2/src/calc.c:1346:41: warning: Either the condition 'pp==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/calc.c:1345:8: note: Assuming that condition 'pp==NULL' is not redundant tmptl6ivth2/src/calc.c:1346:41: note: Null pointer addition tmptl6ivth2/src/calc.c:1538:31: warning: Either the condition 'p1==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/calc.c:1537:28: note: Assuming that condition 'p1==NULL' is not redundant tmptl6ivth2/src/calc.c:1538:31: note: Null pointer addition tmptl6ivth2/src/calc.c:1567:12: warning: Either the condition 'p2==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/calc.c:1566:31: note: Assuming that condition 'p2==NULL' is not redundant tmptl6ivth2/src/calc.c:1567:12: note: Null pointer addition tmptl6ivth2/src/calc.c:1616:12: warning: Either the condition 'p2==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/calc.c:1615:28: note: Assuming that condition 'p2==NULL' is not redundant tmptl6ivth2/src/calc.c:1616:12: note: Null pointer addition tmptl6ivth2/src/calc.c:2037:41: warning: Either the condition 'pp==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/calc.c:2036:8: note: Assuming that condition 'pp==NULL' is not redundant tmptl6ivth2/src/calc.c:2037:41: note: Null pointer addition tmptl6ivth2/src/calc.c:2074:31: warning: Either the condition 'p1==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/calc.c:2073:28: note: Assuming that condition 'p1==NULL' is not redundant tmptl6ivth2/src/calc.c:2074:31: note: Null pointer addition tmptl6ivth2/src/calc.c:2129:28: warning: Either the condition 'p2==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/calc.c:2127:10: note: Assuming that condition 'p2==NULL' is not redundant tmptl6ivth2/src/calc.c:2129:28: note: Null pointer addition tmptl6ivth2/src/calc.c:2145:30: warning: Either the condition 'p2==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/calc.c:2143:12: note: Assuming that condition 'p2==NULL' is not redundant tmptl6ivth2/src/calc.c:2145:30: note: Null pointer addition tmptl6ivth2/src/calc.c:1003:11: style: Local variable 'pp' shadows outer variable [shadowVariable] tmptl6ivth2/src/calc.c:930:16: note: Shadowed declaration tmptl6ivth2/src/calc.c:1003:11: note: Shadow variable tmptl6ivth2/src/calc.c:160:46: style: Parameter 'cmdname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/calc.c:397:23: style: Parameter 'p' can be declared as pointer to const. However it seems that 'calc_subst' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] tmptl6ivth2/src/calc.c:2456:25: note: You might need to cast the function pointer here tmptl6ivth2/src/calc.c:397:23: note: Parameter 'p' can be declared as pointer to const tmptl6ivth2/src/calc.c:803:28: style: Parameter 'stitch' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/calc.c:1024:18: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:1026:9: style: Variable 'hex' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:1060:19: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:1125:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:1125:13: style: Variable 'at' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:1125:23: style: Variable 'md1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:1125:29: style: Variable 'md2' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:1128:19: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:1128:30: style: Variable 'pt' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:1413:9: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:1511:18: style: Variable 'r' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:1933:20: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:1977:24: style: Variable 'p4' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:2005:23: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/calc.c:2005:32: style: Parameter 'salted_hash' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/calc.c:2058:9: style: Variable 'p0' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:2225:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/calc.c:1157:32: warning: Uninitialized variable: stc [uninitvar] tmptl6ivth2/src/calc.c:1135:22: note: Assuming condition is true tmptl6ivth2/src/calc.c:1157:32: note: Uninitialized variable: stc tmptl6ivth2/src/calc.c:1320:18: warning: Uninitialized variable: cuts [uninitvar] tmptl6ivth2/src/calc.c:1353:18: warning: Uninitialized variable: cuts [uninitvar] tmptl6ivth2/src/calc.c:1904:18: style: Variable 'p2' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:387:12: error: Memory leak: buf [memleak] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:385:31: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:385:14: note: Assuming allocation function fails tmptl6ivth2/src/Wimslogd/wimslogdscore.c:385:14: note: Assignment 'buf=xmalloc(l+256)', assigned value is 0 tmptl6ivth2/src/Wimslogd/wimslogdscore.c:385:31: note: Null pointer dereference tmptl6ivth2/src/Wimslogd/wimslogdscore.c:63:34: style: Parameter 'cd' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:68:21: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:178:28: style: Parameter 'ends' can be declared as const array [constParameter] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:178:41: style: Parameter 'starts' can be declared as const array [constParameter] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:191:48: style: Parameter 'uname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:319:37: style: Parameter 'cd' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:319:47: style: Parameter 'uname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:332:25: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:345:32: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:376:19: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:392:44: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:556:21: warning: Uninitialized variables: tscore.sh, tscore.exo, tscore.pad, tscore.seedlastcnt, tscore.active, tscore.require, tscore.weight, tscore.score, tscore.mean, tscore.last, tscore.try, tscore.best, tscore.level, tscore.new, tscore.seedscorelast [uninitvar] tmptl6ivth2/src/Wimslogd/wimslogdscore.c:479:22: note: Assuming condition is false tmptl6ivth2/src/Wimslogd/wimslogdscore.c:556:21: note: Uninitialized variables: tscore.sh, tscore.exo, tscore.pad, tscore.seedlastcnt, tscore.active, tscore.require, tscore.weight, tscore.score, tscore.mean, tscore.last, tscore.try, tscore.best, tscore.level, tscore.new, tscore.seedscorelast tmptl6ivth2/src/Wimslogd/wimslogdscore.c:458:15: style: Variable 'slevel' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/variables.c:69:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/variables.c:83:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/variables.c:298:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/variables.c:467:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/variables.c:839:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/variables.c:922:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/variables.c:1194:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/variables.c:1401:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/variables.c:1566:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/variables.c:1657:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/wims.c:1227:5: warning: Return value of function getppid() is not used. [ignoredReturnValue] tmptl6ivth2/src/wims.c:1195:26: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tmptl6ivth2/src/wims.c:1013:33: style: Condition 'p[3]!=0' is always true [knownConditionTrueFalse] tmptl6ivth2/src/wims.c:1013:10: note: Assuming that condition '(p[3])>='0'' is not redundant tmptl6ivth2/src/wims.c:1013:33: note: Condition 'p[3]!=0' is always true tmptl6ivth2/src/wims.c:1101:12: style: Condition 'll>0' is always true [knownConditionTrueFalse] tmptl6ivth2/src/wims.c:1095:33: note: Assuming that condition '(ll=atoi(pp))<=0' is not redundant tmptl6ivth2/src/wims.c:1101:12: note: Condition 'll>0' is always true tmptl6ivth2/src/wims.c:874:11: warning: Either the condition 'c==NULL' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] tmptl6ivth2/src/wims.c:871:11: note: Assuming that condition 'c==NULL' is not redundant tmptl6ivth2/src/wims.c:874:11: note: Null pointer dereference tmptl6ivth2/src/wims.c:902:11: warning: Either the condition 'c==NULL' is redundant or there is possible null pointer dereference: c. [nullPointerRedundantCheck] tmptl6ivth2/src/wims.c:899:11: note: Assuming that condition 'c==NULL' is not redundant tmptl6ivth2/src/wims.c:902:11: note: Null pointer dereference tmptl6ivth2/src/wims.c:1096:29: warning: If memory allocation fails, then there is a possible null pointer dereference: stdinbuf [nullPointerOutOfMemory] tmptl6ivth2/src/wims.c:1096:23: note: Assuming allocation function fails tmptl6ivth2/src/wims.c:1096:23: note: Assignment 'stdinbuf=xmalloc(16)', assigned value is 0 tmptl6ivth2/src/wims.c:1096:29: note: Null pointer dereference tmptl6ivth2/src/wims.c:912:27: warning: Either the condition 'pt' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/wims.c:911:35: note: Assuming that condition 'pt' is not redundant tmptl6ivth2/src/wims.c:912:27: note: Null pointer subtraction tmptl6ivth2/src/wims.c:912:52: warning: Either the condition 'pt' is redundant or there is overflow in pointer subtraction. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/wims.c:911:35: note: Assuming that condition 'pt' is not redundant tmptl6ivth2/src/wims.c:912:52: note: Null pointer subtraction tmptl6ivth2/src/wims.c:1272:8: style: Same expression on both sides of '=='. [duplicateExpression] tmptl6ivth2/src/wims.c:770:16: style: A pointer can not be negative so it is either pointless or an error to check if it is. [pointerLessThanZero] tmptl6ivth2/src/wims.c:943:13: style: Local variable 'p' shadows outer variable [shadowVariable] tmptl6ivth2/src/wims.c:816:13: note: Shadowed declaration tmptl6ivth2/src/wims.c:943:13: note: Shadow variable tmptl6ivth2/src/wims.c:468:27: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/wims.c:477:27: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/wims.c:499:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/wims.c:601:24: style: Variable 'c' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/wims.c:601:28: style: Variable 'mod' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/wims.c:882:15: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/wims.c:926:15: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/wims.c:990:16: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/wims.c:1003:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/wims.c:1023:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/wims.c:1063:11: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/wims.c:1093:11: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/wims.c:1139:23: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/wims.c:922:22: style: Variable 'rlim.rlim_cur' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/wims.c:922:36: style: Variable 'rlim.rlim_max' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/checkmol/checkmolc.c:9588:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] tmptl6ivth2/src/variables.c:1393:25: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] tmptl6ivth2/src/variables.c:427:8: style: Condition '*s!=0' is always true [knownConditionTrueFalse] tmptl6ivth2/src/variables.c:924:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] tmptl6ivth2/src/variables.c:531:13: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] tmptl6ivth2/src/variables.c:527:7: note: Assuming that condition 'p==NULL' is not redundant tmptl6ivth2/src/variables.c:531:13: note: Null pointer dereference tmptl6ivth2/src/variables.c:581:14: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] tmptl6ivth2/src/variables.c:579:7: note: Assuming that condition 'p==NULL' is not redundant tmptl6ivth2/src/variables.c:581:14: note: Null pointer dereference tmptl6ivth2/src/variables.c:846:6: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] tmptl6ivth2/src/variables.c:841:9: note: Assuming that condition 'p==NULL' is not redundant tmptl6ivth2/src/variables.c:846:6: note: Null pointer dereference tmptl6ivth2/src/variables.c:1199:6: warning: Either the condition 'p==NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] tmptl6ivth2/src/variables.c:1196:9: note: Assuming that condition 'p==NULL' is not redundant tmptl6ivth2/src/variables.c:1199:6: note: Null pointer dereference tmptl6ivth2/src/variables.c:1658:21: warning: If resource allocation fails, then there is a possible null pointer dereference: varf [nullPointerOutOfResources] tmptl6ivth2/src/variables.c:1656:21: note: Assuming allocation function fails tmptl6ivth2/src/variables.c:1656:21: note: Assignment 'varf=fopen(freeworklogf,"w")', assigned value is 0 tmptl6ivth2/src/variables.c:1658:21: note: Null pointer dereference tmptl6ivth2/src/variables.c:1660:18: warning: If resource allocation fails, then there is a possible null pointer dereference: varf [nullPointerOutOfResources] tmptl6ivth2/src/variables.c:1656:21: note: Assuming allocation function fails tmptl6ivth2/src/variables.c:1656:21: note: Assignment 'varf=fopen(freeworklogf,"w")', assigned value is 0 tmptl6ivth2/src/variables.c:1660:18: note: Null pointer dereference tmptl6ivth2/src/variables.c:846:11: warning: Either the condition 'p==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/variables.c:841:9: note: Assuming that condition 'p==NULL' is not redundant tmptl6ivth2/src/variables.c:846:11: note: Null pointer addition tmptl6ivth2/src/variables.c:1199:11: warning: Either the condition 'p==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] tmptl6ivth2/src/variables.c:1196:9: note: Assuming that condition 'p==NULL' is not redundant tmptl6ivth2/src/variables.c:1199:11: note: Null pointer addition tmptl6ivth2/src/variables.c:1538:3: style: Statements following 'return' will never be executed. [unreachableCode] tmptl6ivth2/src/variables.c:308:13: style: Local variable 'pp' shadows outer variable [shadowVariable] tmptl6ivth2/src/variables.c:248:13: note: Shadowed declaration tmptl6ivth2/src/variables.c:308:13: note: Shadow variable tmptl6ivth2/src/variables.c:428:9: style: Local variable 'i' shadows outer variable [shadowVariable] tmptl6ivth2/src/variables.c:417:7: note: Shadowed declaration tmptl6ivth2/src/variables.c:428:9: note: Shadow variable tmptl6ivth2/src/variables.c:1083:11: style: Local variable 'i' shadows outer variable [shadowVariable] tmptl6ivth2/src/variables.c:1069:9: note: Shadowed declaration tmptl6ivth2/src/variables.c:1083:11: note: Shadow variable tmptl6ivth2/src/variables.c:75:35: style: Parameter 'read_or_write' can be declared as const array [constParameter] tmptl6ivth2/src/variables.c:212:9: style: Variable 'h' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:228:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:248:13: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:263:11: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:308:13: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:346:11: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:394:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:416:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:475:13: style: Variable 'tt' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:521:57: style: Variable 'ps' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:600:9: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:658:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:717:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/variables.c:910:24: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/variables.c:931:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:992:33: style: Parameter 'parm' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/variables.c:1026:36: style: Variable 'u' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1027:9: style: Variable 'shname' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1027:18: style: Variable 'dirname' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1067:52: style: Variable 'c' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1067:56: style: Variable 'm' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1176:13: style: Variable 'cl' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1214:13: style: Variable 'seedr' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1214:30: style: Variable 'sh' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1214:35: style: Variable 'ex' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1214:40: style: Variable 'tseed' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1214:48: style: Variable 'seedcnt' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1214:58: style: Variable 'seedlastcnt' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1215:9: style: Variable 'mp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1243:13: style: Variable 'screg' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1335:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1376:9: style: Variable 'bcolor' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1376:18: style: Variable 'refcolor' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1376:29: style: Variable 'bg' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1376:34: style: Variable 'tx' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1376:39: style: Variable 'dirn' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1376:46: style: Variable 'vlink' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1376:54: style: Variable 'link' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1376:61: style: Variable 'hlink' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1376:69: style: Variable 'spf' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1387:13: style: Variable 'expir' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1393:20: style: Variable 'tt' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1468:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1514:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1549:19: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/variables.c:1596:9: style: Variable 'mp' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:1596:24: style: Variable 'll' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/variables.c:764:8: style: Variable 'add' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/variables.c:1076:44: style: Variable 'c' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/variables.c:1237:14: style: Variable 'seedcnt' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/variables.c:1239:18: style: Variable 'seedlastcnt' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/variables.c:1270:26: style: Variable 'seedlastcnt' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/variables.c:1273:22: style: Variable 'seedcnt' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/variables.c:1289:14: style: Variable 'seedcnt' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/variables.c:1415:40: style: Variable 'bcolor' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/variables.c:1418:34: style: Variable 'link' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/variables.c:1421:37: style: Variable 'vlink' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/variables.c:1424:37: style: Variable 'vlink' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/variables.c:1429:13: style: Variable 'refcolor' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/variables.c:1444:16: style: Variable 'txbuf[0]' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6281:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6286:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5980:9: style: Condition 'c=='\n'' is always false [knownConditionTrueFalse] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5978:11: note: Assignment 'c=0', assigned value is 0 tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5980:9: note: Condition 'c=='\n'' is always false tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5980:22: style: Condition 'c==';'' is always false [knownConditionTrueFalse] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5978:11: note: Assignment 'c=0', assigned value is 0 tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5980:22: note: Condition 'c==';'' is always false tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6227:26: style: Condition 'tmp==0' is always false [knownConditionTrueFalse] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:177:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:183:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:307:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:595:35: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:816:37: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:1089:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:1160:19: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:1273:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:1905:15: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:2221:37: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:2333:37: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:3691:37: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4042:37: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4124:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4135:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4135:13: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4135:13: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4135:13: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4149:13: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4149:13: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4149:13: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4149:13: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4160:1: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4160:1: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4160:1: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4160:1: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4160:1: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4160:1: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4160:1: warning: %d in format string (no. 10) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4160:1: warning: %d in format string (no. 11) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4160:1: warning: %d in format string (no. 12) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4160:1: warning: %d in format string (no. 13) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4160:1: warning: %d in format string (no. 14) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4160:1: warning: %d in format string (no. 15) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4705:37: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5040:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5247:37: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5465:37: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5498:37: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5650:35: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5944:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:774:89: error: Allocation with get_string, fprintf doesn't release it. [leakNoVarFunctionCall] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:1273:88: error: Allocation with get_string, fprintf doesn't release it. [leakNoVarFunctionCall] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:3122:58: error: Allocation with data2js_array, fprintf doesn't release it. [leakNoVarFunctionCall] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4442:224: error: Allocation with get_string, fprintf doesn't release it. [leakNoVarFunctionCall] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4467:191: error: Allocation with double_xy2js_array, fprintf doesn't release it. [leakNoVarFunctionCall] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5027:75: error: Allocation with get_string, fprintf doesn't release it. [leakNoVarFunctionCall] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5031:75: error: Allocation with get_string, fprintf doesn't release it. [leakNoVarFunctionCall] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5414:54: error: Allocation with get_string, fprintf doesn't release it. [leakNoVarFunctionCall] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5665:54: error: Allocation with get_string, fprintf doesn't release it. [leakNoVarFunctionCall] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6266:31: warning: If resource allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfResources] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6264:63: note: Assuming allocation function fails tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6264:63: note: Assignment 'stream=fdopen(my_pipe[0],"r")', assigned value is 0 tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6266:31: note: Null pointer dereference tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6270:13: warning: If resource allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfResources] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6264:63: note: Assuming allocation function fails tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6264:63: note: Assignment 'stream=fdopen(my_pipe[0],"r")', assigned value is 0 tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6270:13: note: Null pointer dereference tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4440:20: style: Variable 'use_snap' is reassigned a value before the old one has been used. [redundantAssignment] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4439:20: note: use_snap is assigned tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4440:20: note: use_snap is overwritten tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4556:26: style: Variable 'decimals' is reassigned a value before the old one has been used. [redundantAssignment] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4551:32: note: decimals is assigned tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4556:26: note: decimals is overwritten tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4599:26: style: Variable 'decimals' is reassigned a value before the old one has been used. [redundantAssignment] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4596:32: note: decimals is assigned tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:4599:26: note: decimals is overwritten tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5728:36: style: Variable 'fill_color' is reassigned a value before the old one has been used. [redundantAssignment] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5713:22: note: fill_color is assigned tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:5728:36: note: fill_color is overwritten tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6324:94: style:inconclusive: Function 'eval' argument 8 names different: declaration 'xsteps' definition 'plotsteps'. [funcArgNamesDifferent] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.h:94:94: note: Function 'eval' argument 8 names different: declaration 'xsteps' definition 'plotsteps'. tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6324:94: note: Function 'eval' argument 8 names different: declaration 'xsteps' definition 'plotsteps'. tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6626:30: style:inconclusive: Function 'check_string_length' argument 1 names different: declaration 'length' definition 'L'. [funcArgNamesDifferent] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.h:77:30: note: Function 'check_string_length' argument 1 names different: declaration 'length' definition 'L'. tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6626:30: note: Function 'check_string_length' argument 1 names different: declaration 'length' definition 'L'. tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6634:35: style:inconclusive: Function 'hypgeodaux' argument 2 names different: declaration 'res' definition 'ress'. [funcArgNamesDifferent] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:37:35: note: Function 'hypgeodaux' argument 2 names different: declaration 'res' definition 'ress'. tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6634:35: note: Function 'hypgeodaux' argument 2 names different: declaration 'res' definition 'ress'. tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:162:9: style: Local variable 'tmp_buffer' shadows outer variable [shadowVariable] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.h:78:14: note: Shadowed declaration tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:162:9: note: Shadow variable tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:1959:15: style: Local variable 'c' shadows outer variable [shadowVariable] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:112:9: note: Shadowed declaration tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:1959:15: note: Shadow variable tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6265:10: style: Local variable 'buffer' shadows outer variable [shadowVariable] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:84:6: note: Shadowed declaration tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6265:10: note: Shadow variable tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6292:8: style: Local variable 'buffer' shadows outer variable [shadowVariable] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:84:6: note: Shadowed declaration tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6292:8: note: Shadow variable tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:132:9: style: Variable 'fly_font' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:134:9: style: Variable 'flytext' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:165:9: style: Variable 'w_wims_session' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:174:11: style: Variable 'w_session' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:180:11: style: Variable 'w_wims_home' can be declared as pointer to const [constVariablePointer] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6005:41: style: Parameter 'center' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6205:25: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6277:9: style: Variable 'forbidden' can be declared as const array [constVariable] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6324:125: style: Parameter 'rotationcenter' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6405:62: style: Parameter 'rotationcenter' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6460:33: style: Parameter 'xy' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6491:27: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6491:39: style: Parameter 's' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6515:23: style: Parameter 'xy' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6546:25: style: Parameter 'data' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6571:34: style: Parameter 'data' can be declared as const array [constParameter] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6612:41: style: Parameter 'substring' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6634:24: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:3573:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:3617:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:3713:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6037:16: style: Variable 'count' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6298:21: style: Variable 'string_length' is assigned a value that is never used. [unreadVariable] tmptl6ivth2/src/Misc/canvasdraw/canvasdraw.c:6613:10: style: Unused variable: j [unusedVariable] tmptl6ivth2/src/Misc/checkmol/checkmolc.c:2348:7: style: The if condition is the same as the previous if condition [duplicateCondition] tmptl6ivth2/src/Misc/checkmol/checkmolc.c:2346:7: note: First condition tmptl6ivth2/src/Misc/checkmol/checkmolc.c:2348:7: note: Second condition tmptl6ivth2/src/Misc/checkmol/checkmolc.c:1729:47: style: Condition 'p