2024-04-23 07:57 ftp://ftp.de.debian.org/debian/pool/main/x/xloadimage/xloadimage_4.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.14.0 head-info: 642cdfd (2024-04-23 07:24:14 +0200) count: 709 709 elapsed-time: 58.5 59.9 head-timing-info: old-timing-info: head results: xloadimage.4.1/autoconfig.c:320:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/autoconfig.c:201:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] xloadimage.4.1/autoconfig.c:248:3: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] xloadimage.4.1/autoconfig.c:376:3: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] xloadimage.4.1/autoconfig.c:453:7: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] xloadimage.4.1/autoconfig.c:471:7: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] xloadimage.4.1/autoconfig.c:499:7: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] xloadimage.4.1/autoconfig.c:518:7: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] xloadimage.4.1/autoconfig.c:564:3: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] xloadimage.4.1/autoconfig.c:577:7: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] xloadimage.4.1/autoconfig.c:585:7: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] xloadimage.4.1/autoconfig.c:596:7: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] xloadimage.4.1/autoconfig.c:610:3: warning: Obsolete function 'gets' called. It is recommended to use 'fgets' or 'gets_s' instead. [prohibitedgetsCalled] xloadimage.4.1/autoconfig.c:122:12: style: Parameter 'pattern' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/autoconfig.c:166:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/autoconfig.c:180:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/autoconfig.c:209:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/autoconfig.c:231:12: style: Parameter 'desc' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/autoconfig.c:232:12: style: Parameter 'define' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/autoconfig.c:234:12: style: Parameter 'libname' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/autoconfig.c:235:12: style: Parameter 'srcname' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/autoconfig.c:322:12: style: Parameter 'argv' can be declared as const array [constParameter] xloadimage.4.1/bright.c:33:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xloadimage.4.1/bright.c:86:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xloadimage.4.1/bright.c:127:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xloadimage.4.1/bright.c:155:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xloadimage.4.1/bright.c:261:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xloadimage.4.1/bright.c:32:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/bright.c:126:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/bright.c:126:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/bright.c:193:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] xloadimage.4.1/bright.c:195:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] xloadimage.4.1/bright.c:197:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] xloadimage.4.1/bright.c:193:10: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] xloadimage.4.1/bright.c:195:10: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] xloadimage.4.1/bright.c:197:10: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] xloadimage.4.1/buildshar.c:32:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/buildshar.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/clip.c:29:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xloadimage.4.1/cmuwmraster.c:109:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/cmuwmraster.c:23:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] xloadimage.4.1/cmuwmraster.c:23:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/cmuwmraster.c:23:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/cmuwmraster.c:23:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/cmuwmraster.c:109:4: portability: %d in format string (no. 2) requires 'int' but the argument type is 'const char *'. [invalidPrintfArgType_sint] xloadimage.4.1/cmuwmraster.c:20:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/cmuwmraster.c:21:22: style: Parameter 'headerp' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/compress.c:50:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xloadimage.4.1/compress.c:141:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/compress.c:143:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/compress.c:151:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/compress.c:154:9: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/config.c:98:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/config.c:274:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/config.c:371:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] xloadimage.4.1/config.c:380:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/config.c:438:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/config.c:285:31: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] xloadimage.4.1/config.c:117:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/config.c:170:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/config.c:179:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/config.c:184:4: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/config.c:223:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/config.c:235:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/config.c:244:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/config.c:253:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/config.c:96:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/config.c:272:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/config.c:301:12: style: Parameter 'fullname' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/config.c:302:19: style: Parameter 'sbuf' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/config.c:314:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/config.c:478:11: style: Variable 'buf2[b2]' is assigned a value that is never used. [unreadVariable] xloadimage.4.1/dither.c:69:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xloadimage.4.1/faces.c:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/faces.c:90:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/faces.c:115:11: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/faces.c:115:11: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/faces.c:115:11: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/faces.c:121:11: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/faces.c:121:11: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/faces.c:121:11: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/faces.c:134:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/faces.c:134:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/faces.c:134:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/faces.c:87:23: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/fbm.c:56:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/fbm.c:229:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/fbm.c:96:5: warning: %lg in format string (no. 1) requires 'double' but the argument type is 'signed int'. [invalidPrintfArgType_float] xloadimage.4.1/fbm.c:188:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/gif.c:482:3: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] xloadimage.4.1/gif.c:492:12: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/gif.c:506:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/gif.c:561:12: style: Variable 'scanlen' is assigned a value that is never used. [unreadVariable] xloadimage.4.1/halftone.c:176:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xloadimage.4.1/imagetypes.c:29:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/imagetypes.c:108:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/imagetypes.c:155:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/imagetypes.c:30:11: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/imagetypes.c:132:12: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/img.c:299:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/img.c:405:7: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] xloadimage.4.1/img.c:596:5: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] xloadimage.4.1/img.c:249:19: style: Local variable 'plane' shadows outer variable [shadowVariable] xloadimage.4.1/img.c:90:38: note: Shadowed declaration xloadimage.4.1/img.c:249:19: note: Shadow variable xloadimage.4.1/img.c:607:24: style: Variable 'vdi2pli' can be declared as const array [constVariable] xloadimage.4.1/img.c:621:15: style: Variable 'pli2vdi' can be declared as const array [constVariable] xloadimage.4.1/img.c:370:11: style: Unused variable: extention [unusedVariable] xloadimage.4.1/img.c:567:11: style: Unused variable: extention [unusedVariable] xloadimage.4.1/img.c:637:19: style: Unused variable: i [unusedVariable] xloadimage.4.1/jpeg.c:26:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg.c:86:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg.c:518:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg.c:177:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] xloadimage.4.1/jpeg.c:177:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] xloadimage.4.1/jpeg.c:24:12: style: Parameter 'msgtext' can be declared as pointer to const. However it seems that 'trace_message' is a callback function, if 'msgtext' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/jpeg.c:334:29: note: You might need to cast the function pointer here xloadimage.4.1/jpeg.c:24:12: note: Parameter 'msgtext' can be declared as pointer to const xloadimage.4.1/jpeg.c:632:11: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/ansi2knr.c:222:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/jpeg/ansi2knr.c:235:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/ansi2knr.c:376:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/ansi2knr.c:415:13: style: Local variable 'level' shadows outer variable [shadowVariable] xloadimage.4.1/jpeg/ansi2knr.c:384:11: note: Shadowed declaration xloadimage.4.1/jpeg/ansi2knr.c:415:13: note: Shadow variable xloadimage.4.1/jpeg/ansi2knr.c:224:11: style: Parameter 'argv' can be declared as const array [constParameter] xloadimage.4.1/jpeg/ansi2knr.c:299:11: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/ansi2knr.c:318:8: style: Variable 'bend' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/ansi2knr.c:350:9: style: Variable 'kp' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/ckconfig.c:178:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] xloadimage.4.1/jpeg/ckconfig.c:254:18: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] xloadimage.4.1/jpeg/ckconfig.c:127:35: style: Parameter 'arg2' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/ckconfig.c:122:9: style: struct member 'methods_struct::error_exit' is never used. [unusedStructMember] xloadimage.4.1/jpeg/ckconfig.c:123:9: style: struct member 'methods_struct::trace_message' is never used. [unusedStructMember] xloadimage.4.1/jpeg/ckconfig.c:124:9: style: struct member 'methods_struct::another_method' is never used. [unusedStructMember] xloadimage.4.1/jpeg/ckconfig.c:178:8: style: Variable 'arg1' is assigned a value that is never used. [unreadVariable] xloadimage.4.1/jpeg/example.c:254:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/example.c:306:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/example.c:407:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/example.c:542:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/example.c:181:25: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/example.c:304:28: style: Parameter 'msgtext' can be declared as pointer to const. However it seems that 'trace_message' is a callback function, if 'msgtext' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/jpeg/example.c:556:29: note: You might need to cast the function pointer here xloadimage.4.1/jpeg/example.c:304:28: note: Parameter 'msgtext' can be declared as pointer to const xloadimage.4.1/jpeg/example.c:521:24: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/jbsmooth.c:23:29: style: Parameter 'compptr' can be declared as pointer to const. However it seems that 'smooth_coefficients' is a callback function, if 'compptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/jpeg/jbsmooth.c:115:41: note: You might need to cast the function pointer here xloadimage.4.1/jpeg/jbsmooth.c:23:29: note: Parameter 'compptr' can be declared as pointer to const xloadimage.4.1/jpeg/jbsmooth.c:76:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] xloadimage.4.1/jpeg/jbsmooth.c:78:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] xloadimage.4.1/jpeg/jbsmooth.c:80:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] xloadimage.4.1/jpeg/jbsmooth.c:82:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] xloadimage.4.1/jpeg/jbsmooth.c:84:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] xloadimage.4.1/jpeg/jccolor.c:118:20: style: Variable 'ctab' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jccolor.c:181:20: style: Variable 'ctab' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jcdeflts.c:47:36: style: Parameter 'bits' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/jcdeflts.c:47:55: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/jcdeflts.c:148:23: style: Parameter 'basic_table' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/jchuff.c:154:43: style: Parameter 'dctbl' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/jchuff.c:154:60: style: Parameter 'actbl' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/jcmain.c:108:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jcmain.c:231:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jcmain.c:303:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jcmain.c:320:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jcmain.c:365:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jcmain.c:408:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jcmain.c:476:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jcmain.c:663:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jcmain.c:268:18: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/jcmain.c:268:36: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/jcmain.c:339:52: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/jcmain.c:349:22: style: Variable 'ZIG' can be declared as const array [constVariable] xloadimage.4.1/jpeg/jcmcu.c:160:25: style: Variable 'compptr' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jcsample.c:60:25: style: Variable 'compptr' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jcsample.c:416:25: style: Variable 'compptr' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jdcolor.c:84:7: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] xloadimage.4.1/jpeg/jdcolor.c:87:7: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] xloadimage.4.1/jpeg/jdcolor.c:115:22: style: Variable 'range_limit' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jdcolor.c:116:18: style: Variable 'Crrtab' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jdcolor.c:117:18: style: Variable 'Cbbtab' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jdcolor.c:118:20: style: Variable 'Crgtab' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jdcolor.c:119:20: style: Variable 'Cbgtab' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jdhuff.c:276:13: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] xloadimage.4.1/jpeg/jdhuff.c:277:10: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] xloadimage.4.1/jpeg/jdhuff.c:278:10: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] xloadimage.4.1/jpeg/jdhuff.c:279:10: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] xloadimage.4.1/jpeg/jdhuff.c:408:25: style: Variable 'compptr' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jdmain.c:199:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jdmain.c:323:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jdmain.c:438:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jdmain.c:237:18: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/jdmain.c:237:36: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/jpeg/jdmcu.c:105:25: style: Variable 'compptr' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jdmcu.c:146:22: style: Variable 'localblkptr' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jdmcu.c:147:22: style: Variable 'range_limit' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jdmcu.c:37:5: error: Uninitialized variable: MCU_data [legacyUninitvar] xloadimage.4.1/jpeg/jdpipe.c:610:5: error: Uninitialized variable: bsmooth [legacyUninitvar] xloadimage.4.1/jpeg/jdsample.c:51:25: style: Variable 'compptr' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jdsample.c:263:25: style: Variable 'compptr' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jerror.c:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jerror.c:37:28: style: Parameter 'msgtext' can be declared as pointer to const. However it seems that 'trace_message' is a callback function, if 'msgtext' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/jpeg/jerror.c:69:29: note: You might need to cast the function pointer here xloadimage.4.1/jpeg/jerror.c:37:28: note: Parameter 'msgtext' can be declared as pointer to const xloadimage.4.1/jpeg/jmemansi.c:99:57: style: Parameter 'buffer_address' can be declared as pointer to const. However it seems that 'write_backing_store' is a callback function, if 'buffer_address' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/jpeg/jmemansi.c:134:31: note: You might need to cast the function pointer here xloadimage.4.1/jpeg/jmemansi.c:99:57: note: Parameter 'buffer_address' can be declared as pointer to const xloadimage.4.1/jpeg/jmemdos.c:122:16: style: Variable 'env' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jmemdos.c:86:25: style: struct member 'XMScontext::bx' is never used. [unusedStructMember] xloadimage.4.1/jpeg/jmemmgr.c:755:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rowsperchunk [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jmemmgr.c:210:3: warning: Either the condition 'result==NULL' is redundant or there is possible null pointer dereference: result. [nullPointerRedundantCheck] xloadimage.4.1/jpeg/jmemmgr.c:207:14: note: Assuming that condition 'result==NULL' is not redundant xloadimage.4.1/jpeg/jmemmgr.c:210:3: note: Null pointer dereference xloadimage.4.1/jpeg/jmemmgr.c:212:9: warning: Either the condition 'result==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] xloadimage.4.1/jpeg/jmemmgr.c:207:14: note: Assuming that condition 'result==NULL' is not redundant xloadimage.4.1/jpeg/jmemmgr.c:212:9: note: Null pointer addition xloadimage.4.1/jpeg/jmemmgr.c:1087:12: style: Variable 'memenv' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jmemmgr.c:185:13: style: union member 'small_struct::dummy' is never used. [unusedStructMember] xloadimage.4.1/jpeg/jmemname.c:118:3: warning: Return value of function mktemp() is not used. [ignoredReturnValue] xloadimage.4.1/jpeg/jmemname.c:118:3: warning: Obsolete function 'mktemp' called. It is recommended to use 'mkstemp' or 'mkdtemp' instead. [prohibitedmktempCalled] xloadimage.4.1/jpeg/jmemname.c:189:57: style: Parameter 'buffer_address' can be declared as pointer to const. However it seems that 'write_backing_store' is a callback function, if 'buffer_address' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/jpeg/jmemname.c:224:31: note: You might need to cast the function pointer here xloadimage.4.1/jpeg/jmemname.c:189:57: note: Parameter 'buffer_address' can be declared as pointer to const xloadimage.4.1/jpeg/jquant1.c:473:12: style: Variable 'range_limit' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jquant2.c:423:62: error: Division by zero. [zerodiv] xloadimage.4.1/jpeg/jquant2.c:401:16: note: Assignment 'total=0', assigned value is 0 xloadimage.4.1/jpeg/jquant2.c:410:23: note: Assuming condition is false xloadimage.4.1/jpeg/jquant2.c:423:62: note: Division by zero xloadimage.4.1/jpeg/jquant2.c:424:62: error: Division by zero. [zerodiv] xloadimage.4.1/jpeg/jquant2.c:401:16: note: Assignment 'total=0', assigned value is 0 xloadimage.4.1/jpeg/jquant2.c:410:23: note: Assuming condition is false xloadimage.4.1/jpeg/jquant2.c:424:62: note: Division by zero xloadimage.4.1/jpeg/jquant2.c:425:62: error: Division by zero. [zerodiv] xloadimage.4.1/jpeg/jquant2.c:401:16: note: Assignment 'total=0', assigned value is 0 xloadimage.4.1/jpeg/jquant2.c:410:23: note: Assuming condition is false xloadimage.4.1/jpeg/jquant2.c:425:62: note: Division by zero xloadimage.4.1/jpeg/jquant2.c:931:12: style: Variable 'range_limit' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jrdgif.c:126:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jrdjfif.c:237:24: warning: Either the condition 'index>=(2*16)' is redundant or the array 'cinfo->arith_ac_K[16]' is accessed at index 16, which is out of bounds. [arrayIndexOutOfBoundsCond] xloadimage.4.1/jpeg/jrdjfif.c:233:28: note: Assuming that condition 'index>=(2*16)' is not redundant xloadimage.4.1/jpeg/jrdjfif.c:237:24: note: Array index out of bounds xloadimage.4.1/jpeg/jrdjfif.c:239:24: warning: Either the condition 'index<0' is redundant or the array 'cinfo->arith_dc_L[16]' is accessed at index -1, which is out of bounds. [negativeIndex] xloadimage.4.1/jpeg/jrdjfif.c:233:15: note: Assuming that condition 'index<0' is not redundant xloadimage.4.1/jpeg/jrdjfif.c:239:24: note: Negative array index xloadimage.4.1/jpeg/jrdjfif.c:240:24: warning: Either the condition 'index<0' is redundant or the array 'cinfo->arith_dc_U[16]' is accessed at index -1, which is out of bounds. [negativeIndex] xloadimage.4.1/jpeg/jrdjfif.c:233:15: note: Assuming that condition 'index<0' is not redundant xloadimage.4.1/jpeg/jrdjfif.c:240:24: note: Negative array index xloadimage.4.1/jpeg/jrdjfif.c:241:28: warning: Either the condition 'index<0' is redundant or the array 'cinfo->arith_dc_L[16]' is accessed at index -1, which is out of bounds. [negativeIndex] xloadimage.4.1/jpeg/jrdjfif.c:233:15: note: Assuming that condition 'index<0' is not redundant xloadimage.4.1/jpeg/jrdjfif.c:241:28: note: Negative array index xloadimage.4.1/jpeg/jrdjfif.c:241:55: warning: Either the condition 'index<0' is redundant or the array 'cinfo->arith_dc_U[16]' is accessed at index -1, which is out of bounds. [negativeIndex] xloadimage.4.1/jpeg/jrdjfif.c:233:15: note: Assuming that condition 'index<0' is not redundant xloadimage.4.1/jpeg/jrdjfif.c:241:55: note: Negative array index xloadimage.4.1/jpeg/jrdjfif.c:272:30: warning: Either the condition 'n>=4' is redundant or the array 'cinfo->quant_tbl_ptrs[4]' is accessed at index 4, which is out of bounds. [arrayIndexOutOfBoundsCond] xloadimage.4.1/jpeg/jrdjfif.c:269:11: note: Assuming that condition 'n>=4' is not redundant xloadimage.4.1/jpeg/jrdjfif.c:272:30: note: Array index out of bounds xloadimage.4.1/jpeg/jrdjfif.c:776:14: style: Variable 'action' is assigned a value that is never used. [unreadVariable] xloadimage.4.1/jpeg/jrdppm.c:87:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jrdppm.c:106:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jrdppm.c:356:9: style: Checking if unsigned expression 'w' is less than zero. [unsignedLessThanZero] xloadimage.4.1/jpeg/jrdppm.c:356:19: style: Checking if unsigned expression 'h' is less than zero. [unsignedLessThanZero] xloadimage.4.1/jpeg/jrdppm.c:356:34: style: Checking if unsigned expression 'maxval' is less than zero. [unsignedLessThanZero] xloadimage.4.1/jpeg/jrdppm.c:259:21: style: Variable 'row_bufferptr' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jrdppm.c:277:21: style: Variable 'row_bufferptr' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jrdppm.c:299:21: style: Variable 'row_bufferptr' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jrdppm.c:317:21: style: Variable 'row_bufferptr' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/jpeg/jrdtarga.c:87:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/jpeg/jwrjfif.c:172:9: warning: Either the condition 'htbl==NULL' is redundant or there is possible null pointer dereference: htbl. [nullPointerRedundantCheck] xloadimage.4.1/jpeg/jwrjfif.c:169:12: note: Assuming that condition 'htbl==NULL' is not redundant xloadimage.4.1/jpeg/jwrjfif.c:172:9: note: Null pointer dereference xloadimage.4.1/jpeg/jwrjfif.c:455:49: style: Parameter 'dataptr' can be declared as pointer to const. However it seems that 'write_jpeg_data' is a callback function, if 'dataptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/jpeg/jwrjfif.c:495:37: note: You might need to cast the function pointer here xloadimage.4.1/jpeg/jwrjfif.c:455:49: note: Parameter 'dataptr' can be declared as pointer to const xloadimage.4.1/libconfig.c:154:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/libconfig.c:181:11: style: Condition '--c>0' is always false [knownConditionTrueFalse] xloadimage.4.1/libconfig.c:159:12: note: Assignment 'c=0', assigned value is 0 xloadimage.4.1/libconfig.c:181:11: note: Condition '--c>0' is always false xloadimage.4.1/libconfig.c:195:10: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] xloadimage.4.1/mac.c:145:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/mcidas.c:97:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/mcidas.c:97:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/mcidas.c:97:3: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/mcidas.c:97:3: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/mcidas.c:97:3: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/mcidas.c:97:3: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/mcidas.c:221:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/mcidas.c:80:17: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/mcidas.c:94:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/mcidas.c:166:7: style: Variable 'doswap' is assigned a value that is never used. [unreadVariable] xloadimage.4.1/merge.c:182:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xloadimage.4.1/merge.c:250:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xloadimage.4.1/merge.c:105:2: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] xloadimage.4.1/misc.c:49:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/misc.c:70:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTHOR_EMAIL [valueFlowBailoutIncompleteVar] xloadimage.4.1/misc.c:110:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTHOR_EMAIL [valueFlowBailoutIncompleteVar] xloadimage.4.1/misc.c:149:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/new.c:200:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/new.c:216:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/new.c:67:13: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/new.c:68:13: style: Parameter 'func' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/new.c:85:12: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/niff.c:107:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/niff.c:145:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/niff.c:18:3: warning: %s in format string (no. 1) requires 'char *' but the argument type is 'signed int'. [invalidPrintfArgType_s] xloadimage.4.1/niff.c:18:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/niff.c:18:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/niff.c:18:3: warning: printf format string requires 3 parameters but 4 are given. [wrongPrintfScanfArgNum] xloadimage.4.1/niff.c:23:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/niff.c:30:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/niff.c:30:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/niff.c:34:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/niff.c:15:26: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/niff.c:16:12: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/niff.c:188:12: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/niff.c:255:18: error: Uninitialized variable: &cmap [uninitvar] xloadimage.4.1/options.c:249:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/options.c:416:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/options.c:428:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/options.c:704:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/options.c:868:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/options.c:411:9: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/options.c:560:11: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/options.c:560:11: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/options.c:660:11: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/options.c:660:11: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/options.c:683:11: warning: %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/options.c:683:11: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/options.c:683:11: warning: %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/options.c:683:11: warning: %d in format string (no. 4) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/options.c:787:29: style: Checking if unsigned expression 'newopt->info.rotate' is less than zero. [unsignedLessThanZero] xloadimage.4.1/options.c:241:12: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/options.c:372:12: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/options.c:407:12: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/options.c:423:12: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/packtar.c:70:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/packtar.c:34:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] xloadimage.4.1/packtar.c:57:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EEXIST [valueFlowBailoutIncompleteVar] xloadimage.4.1/packtar.c:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/packtar.c:45:12: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/packtar.c:46:12: style: Parameter 'old_file' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/pbm.c:62:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/pbm.c:221:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/pbm.c:474:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/pbm.c:498:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/pbm.c:498:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/pbm.c:513:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/pbm.c:513:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/pbm.c:533:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/pbm.c:533:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/pbm.c:551:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/pbm.c:551:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/pbm.c:502:38: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] xloadimage.4.1/pbm.c:99:20: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/pbm.c:454:12: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/pbm.c:294:13: style: Variable 'destmask' is assigned a value that is never used. [unreadVariable] xloadimage.4.1/pcx.c:120:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/pcx.c:190:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/pcx.c:44:19: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/pcx.c:53:8: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/pcx.c:262:6: style: Unused variable: pl [unusedVariable] xloadimage.4.1/pcx.c:301:18: style: Unused variable: ret [unusedVariable] xloadimage.4.1/pdsuncomp.c:364:1: portability: Omitted return type of function 'skip_record' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/pdsuncomp.c:103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/pdsuncomp.c:317:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/pdsuncomp.c:296:18: style: Parameter 'nin' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/pdsuncomp.c:297:18: style: Parameter 'nout' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/pdsuncomp.c:307:9: style: Variable 'ilim' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/pdsuncomp.c:308:9: style: Variable 'olim' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/pdsuncomp.c:117:32: warning: Uninitialized variable: j [uninitvar] xloadimage.4.1/pdsuncomp.c:81:12: style: Unused variable: sum [unusedVariable] xloadimage.4.1/pdsuncomp.c:358:10: style: Variable 'result' is assigned a value that is never used. [unreadVariable] xloadimage.4.1/pdsuncomp.c:360:8: style: Variable 'nlen' is assigned a value that is never used. [unreadVariable] xloadimage.4.1/pdsuncomp.c:354:16: style: Unused variable: value [unusedVariable] xloadimage.4.1/pdsuncomp.c:387:10: style: Unused variable: buf [unusedVariable] xloadimage.4.1/pdsuncomp.c:388:9: style: Unused variable: len [unusedVariable] xloadimage.4.1/pdsuncomp.c:389:11: style: Unused variable: dummy [unusedVariable] xloadimage.4.1/reduce.c:92:27: debug: Function::addArguments found argument 'p2' with varid 0. [varid0] xloadimage.4.1/reduce.c:119:27: debug: Function::addArguments found argument 'p2' with varid 0. [varid0] xloadimage.4.1/reduce.c:146:27: debug: Function::addArguments found argument 'p2' with varid 0. [varid0] xloadimage.4.1/reduce.c:173:27: debug: Function::addArguments found argument 'p2' with varid 0. [varid0] xloadimage.4.1/reduce.c:200:27: debug: Function::addArguments found argument 'p2' with varid 0. [varid0] xloadimage.4.1/reduce.c:227:27: debug: Function::addArguments found argument 'p2' with varid 0. [varid0] xloadimage.4.1/reduce.c:98:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p2 [valueFlowBailoutIncompleteVar] xloadimage.4.1/reduce.c:125:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p2 [valueFlowBailoutIncompleteVar] xloadimage.4.1/reduce.c:152:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p2 [valueFlowBailoutIncompleteVar] xloadimage.4.1/reduce.c:179:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p2 [valueFlowBailoutIncompleteVar] xloadimage.4.1/reduce.c:206:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p2 [valueFlowBailoutIncompleteVar] xloadimage.4.1/reduce.c:233:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p2 [valueFlowBailoutIncompleteVar] xloadimage.4.1/reduce.c:377:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/reduce.c:395:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/reduce.c:413:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/reduce.c:504:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/reduce.c:514:28: style: Local variable 'count' shadows outer variable [shadowVariable] xloadimage.4.1/reduce.c:370:17: note: Shadowed declaration xloadimage.4.1/reduce.c:514:28: note: Shadow variable xloadimage.4.1/reduce.c:514:35: style: Local variable 'pixel' shadows outer variable [shadowVariable] xloadimage.4.1/reduce.c:372:9: note: Shadowed declaration xloadimage.4.1/reduce.c:514:35: note: Shadow variable xloadimage.4.1/reduce.c:42:14: style: Parameter 'rgb' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/reduce.c:92:22: style: Parameter 'p1' can be declared as pointer to const. However it seems that 'sortRGB' is a callback function, if 'p1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/reduce.c:302:24: note: You might need to cast the function pointer here xloadimage.4.1/reduce.c:92:22: note: Parameter 'p1' can be declared as pointer to const xloadimage.4.1/reduce.c:119:22: style: Parameter 'p1' can be declared as pointer to const. However it seems that 'sortRBG' is a callback function, if 'p1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/reduce.c:304:24: note: You might need to cast the function pointer here xloadimage.4.1/reduce.c:119:22: note: Parameter 'p1' can be declared as pointer to const xloadimage.4.1/reduce.c:146:22: style: Parameter 'p1' can be declared as pointer to const. However it seems that 'sortGRB' is a callback function, if 'p1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/reduce.c:309:24: note: You might need to cast the function pointer here xloadimage.4.1/reduce.c:146:22: note: Parameter 'p1' can be declared as pointer to const xloadimage.4.1/reduce.c:173:22: style: Parameter 'p1' can be declared as pointer to const. However it seems that 'sortGBR' is a callback function, if 'p1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/reduce.c:311:24: note: You might need to cast the function pointer here xloadimage.4.1/reduce.c:173:22: note: Parameter 'p1' can be declared as pointer to const xloadimage.4.1/reduce.c:200:22: style: Parameter 'p1' can be declared as pointer to const. However it seems that 'sortBRG' is a callback function, if 'p1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/reduce.c:306:24: note: You might need to cast the function pointer here xloadimage.4.1/reduce.c:200:22: note: Parameter 'p1' can be declared as pointer to const xloadimage.4.1/reduce.c:227:22: style: Parameter 'p1' can be declared as pointer to const. However it seems that 'sortBGR' is a callback function, if 'p1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/reduce.c:313:22: note: You might need to cast the function pointer here xloadimage.4.1/reduce.c:227:22: note: Parameter 'p1' can be declared as pointer to const xloadimage.4.1/reduce.c:258:21: style: Parameter 'pixel_counts' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/reduce.c:517:10: style: Variable 'count' is assigned a value that is never used. [unreadVariable] xloadimage.4.1/reduce.c:371:43: style: Unused variable: ncolors [unusedVariable] xloadimage.4.1/rle.c:397:1: portability: Omitted return type of function 'bw_m_line' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/rle.c:411:1: portability: Omitted return type of function 'c_m_line' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/rle.c:169:12: style: Condition 'iflag==1' is always false [knownConditionTrueFalse] xloadimage.4.1/rle.c:173:7: style: Condition '!iflag' is always true [knownConditionTrueFalse] xloadimage.4.1/rle.c:319:6: style: Condition '!bwflag' is always true [knownConditionTrueFalse] xloadimage.4.1/rle.c:353:6: style: Condition '!bwflag' is always true [knownConditionTrueFalse] xloadimage.4.1/rle.c:364:11: style: Condition 'bwflag' is always false [knownConditionTrueFalse] xloadimage.4.1/rle.c:418:6: style: Condition '!bwflag' is always true [knownConditionTrueFalse] xloadimage.4.1/rle.c:56:23: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/rle.c:175:14: style: Variable 'v' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/rlelib.c:823:1: portability: Omitted return type of function 'rle_get_setup' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/rlelib.c:983:1: portability: Omitted return type of function 'rle_get_error' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/rlelib.c:1102:1: portability: Omitted return type of function 'rle_getrow' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/rlelib.c:1588:1: portability: Omitted return type of function 'make_magic' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/rlelib.c:1632:1: portability: Omitted return type of function 'make_gamma' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/rlelib.c:1669:1: portability: Omitted return type of function 'dithergb' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/rlelib.c:1699:1: portability: Omitted return type of function 'ditherbw' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/rlelib.c:896:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/rlelib.c:993:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/rlelib.c:1166:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/rlelib.c:1118:29: error: Array 'scanline[0]' accessed at index -1, which is out of bounds. [negativeIndex] xloadimage.4.1/rlelib.c:1202:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/rlelib.c:1279:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/rlelib.c:251:21: style: Parameter 'globals' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/rlelib.c:417:30: style: Parameter 'globals' can be declared as pointer to const. However it seems that 'RunSetup' is a callback function, if 'globals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/rlelib.c:216:2: note: You might need to cast the function pointer here xloadimage.4.1/rlelib.c:417:30: note: Parameter 'globals' can be declared as pointer to const xloadimage.4.1/rlelib.c:427:30: style: Parameter 'globals' can be declared as pointer to const. However it seems that 'RunSkipBlankLines' is a callback function, if 'globals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/rlelib.c:217:2: note: You might need to cast the function pointer here xloadimage.4.1/rlelib.c:427:30: note: Parameter 'globals' can be declared as pointer to const xloadimage.4.1/rlelib.c:438:30: style: Parameter 'globals' can be declared as pointer to const. However it seems that 'RunSetColor' is a callback function, if 'globals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/rlelib.c:218:2: note: You might need to cast the function pointer here xloadimage.4.1/rlelib.c:438:30: note: Parameter 'globals' can be declared as pointer to const xloadimage.4.1/rlelib.c:450:30: style: Parameter 'globals' can be declared as pointer to const. However it seems that 'RunSkipPixels' is a callback function, if 'globals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/rlelib.c:219:2: note: You might need to cast the function pointer here xloadimage.4.1/rlelib.c:450:30: note: Parameter 'globals' can be declared as pointer to const xloadimage.4.1/rlelib.c:461:30: style: Parameter 'globals' can be declared as pointer to const. However it seems that 'RunNewScanLine' is a callback function, if 'globals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/rlelib.c:220:2: note: You might need to cast the function pointer here xloadimage.4.1/rlelib.c:461:30: note: Parameter 'globals' can be declared as pointer to const xloadimage.4.1/rlelib.c:471:13: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'Runputdata' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/rlelib.c:221:2: note: You might need to cast the function pointer here xloadimage.4.1/rlelib.c:471:13: note: Parameter 'buf' can be declared as pointer to const xloadimage.4.1/rlelib.c:472:30: style: Parameter 'globals' can be declared as pointer to const. However it seems that 'Runputdata' is a callback function, if 'globals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/rlelib.c:221:2: note: You might need to cast the function pointer here xloadimage.4.1/rlelib.c:472:30: note: Parameter 'globals' can be declared as pointer to const xloadimage.4.1/rlelib.c:484:30: style: Parameter 'globals' can be declared as pointer to const. However it seems that 'Runputrun' is a callback function, if 'globals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/rlelib.c:222:2: note: You might need to cast the function pointer here xloadimage.4.1/rlelib.c:484:30: note: Parameter 'globals' can be declared as pointer to const xloadimage.4.1/rlelib.c:495:30: style: Parameter 'globals' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/rlelib.c:502:21: style: Parameter 'globals' can be declared as pointer to const. However it seems that 'DefaultBlockHook' is a callback function, if 'globals' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/rlelib.c:223:2: note: You might need to cast the function pointer here xloadimage.4.1/rlelib.c:502:21: note: Parameter 'globals' can be declared as pointer to const xloadimage.4.1/rlelib.c:984:7: style: Parameter 'pgmname' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/rlelib.c:985:7: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/rlelib.c:1235:19: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/rlelib.c:1671:5: style: Parameter 'modN' can be declared as const array [constParameter] xloadimage.4.1/rlelib.c:1701:5: style: Parameter 'modN' can be declared as const array [constParameter] xloadimage.4.1/rlelib.c:83:6: style: struct member 'XtndRsetup::h_pixelbits' is never used. [unusedStructMember] xloadimage.4.1/root.c:32:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PropModeReplace [valueFlowBailoutIncompleteVar] xloadimage.4.1/root.c:52:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_PIXMAP [valueFlowBailoutIncompleteVar] xloadimage.4.1/root.c:79:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnyPropertyType [valueFlowBailoutIncompleteVar] xloadimage.4.1/root.c:150:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xloadimage.4.1/root.c:83:10: style: Condition 'nitems==1' is always true [knownConditionTrueFalse] xloadimage.4.1/root.c:81:14: note: Assuming that condition 'nitems==1' is not redundant xloadimage.4.1/root.c:83:10: note: Condition 'nitems==1' is always true xloadimage.4.1/root.c:150:29: style: Variable '__SWM_VROOT' is assigned a value that is never used. [unreadVariable] xloadimage.4.1/root.c:154:17: style: Unused variable: s [unusedVariable] xloadimage.4.1/rotate.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/rotate.c:71:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/rotate.c:74:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/rotate.c:55:9: style: Unused variable: newx [unusedVariable] xloadimage.4.1/rotate.c:55:15: style: Unused variable: newy [unusedVariable] xloadimage.4.1/send.c:47:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xloadimage.4.1/send.c:70:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable depth [valueFlowBailoutIncompleteVar] xloadimage.4.1/send.c:109:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] xloadimage.4.1/send.c:612:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GXcopy [valueFlowBailoutIncompleteVar] xloadimage.4.1/send.c:443:19: style: Variable 'gcv.function' is assigned a value that is never used. [unreadVariable] xloadimage.4.1/send.c:605:7: style: Unused variable: a [unusedVariable] xloadimage.4.1/send.c:605:10: style: Unused variable: orig_depth [unusedVariable] xloadimage.4.1/send.c:606:9: style: Unused variable: orig_data [unusedVariable] xloadimage.4.1/smooth.c:83:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xloadimage.4.1/sunraster.c:243:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/sunraster.c:45:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/sunraster.c:45:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] xloadimage.4.1/sunraster.c:221:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/sunraster.c:243:5: error: fprintf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] xloadimage.4.1/sunraster.c:167:19: style: Local variable 'fill' shadows outer function [shadowFunction] xloadimage.4.1/image.h:239:6: note: Shadowed declaration xloadimage.4.1/sunraster.c:167:19: note: Shadow variable xloadimage.4.1/sunraster.c:19:22: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/sunraster.c:20:22: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/mkg3states.c:278:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/mkg3states.c:459:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/mkg3states.c:481:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/mkg3states.c:505:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/mkg3states.c:110:27: style: Variable 'prefix_bit' can be declared as const array [constVariable] xloadimage.4.1/tiff/mkg3states.c:300:11: style: Variable 'outersep' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/mkg3states.c:301:11: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/mkg3states.c:327:11: style: Variable 'outersep' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/mkg3states.c:328:11: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/mkg3states.c:353:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/mkg3states.c:355:11: style: Parameter 'comment' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/mkg3states.c:421:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/mkspans.c:12:1: portability: Omitted return type of function 'dumparray' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/mkspans.c:31:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/mkspans.c:35:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xloadimage.4.1/tiff/mkspans.c:36:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xloadimage.4.1/tiff/mkspans.c:13:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/mkspans.c:14:16: style: Parameter 'runs' can be declared as const array [constParameter] xloadimage.4.1/tiff/mkspans.c:17:17: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_aux.c:177:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_aux.c:177:11: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] xloadimage.4.1/tiff/tif_aux.c:178:41: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] xloadimage.4.1/tiff/tif_aux.c:179:2: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] xloadimage.4.1/tiff/tif_ccittrle.c:38:1: portability: Omitted return type of function 'TIFFInitCCITTRLE' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_ccittrle.c:58:1: portability: Omitted return type of function 'TIFFInitCCITTRLEW' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_close.c:44:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_compress.c:205:1: portability: Omitted return type of function 'TIFFSetCompressionScheme' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_dir.c:527:1: portability: Omitted return type of function 'TIFFVSetField' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_dir.c:802:1: portability: Omitted return type of function 'TIFFVGetField' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_dir.c:844:1: portability: Omitted return type of function 'TIFFFreeDirectory' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_dir.c:890:1: portability: Omitted return type of function 'TIFFDefaultDirectory' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_dir.c:934:1: portability: Omitted return type of function 'TIFFSetDirectory' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_dir.c:508:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_dir.c:784:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable td_fieldsset [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_dir.c:829:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_dir.c:62:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_dir.c:72:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_dir.c:82:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_dir.c:895:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xloadimage.4.1/tiff/tif_dir.c:79:8: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xloadimage.4.1/tiff/tif_dir.c:56:1: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_dir.c:66:1: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_dir.c:76:1: style: Parameter 'wp' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_dir.c:475:8: style: Parameter 'tif' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_dir.c:480:24: style: Variable 'fip' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_dir.c:780:23: style: Variable 'fip' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_dir.c:807:23: style: Variable 'fip' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_dir.c:165:6: style: Unused variable: i [unusedVariable] xloadimage.4.1/tiff/tif_dir.c:508:12: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] xloadimage.4.1/tiff/tif_dir.c:509:36: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] xloadimage.4.1/tiff/tif_dir.c:510:3: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] xloadimage.4.1/tiff/tif_dir.c:786:13: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] xloadimage.4.1/tiff/tif_dir.c:787:45: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] xloadimage.4.1/tiff/tif_dir.c:788:4: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] xloadimage.4.1/tiff/tif_dir.c:829:11: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] xloadimage.4.1/tiff/tif_dir.c:830:32: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] xloadimage.4.1/tiff/tif_dir.c:831:2: error: va_list 'ap' used before va_start() was called. [va_list_usedBeforeStarted] xloadimage.4.1/tiff/tif_dirread.c:107:1: portability: Omitted return type of function 'TIFFReadDirectory' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_dirread.c:493:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable field_name [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_dirread.c:671:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_dirread.c:849:30: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xloadimage.4.1/tiff/tif_dirread.c:896:47: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] xloadimage.4.1/tiff/tif_dirread.c:901:44: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] xloadimage.4.1/tiff/tif_dirread.c:726:16: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_dirread.c:1016:22: style: Variable 'wp' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_dirread.c:1185:16: style: Parameter 'dp' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_dirwrite.c:107:1: portability: Omitted return type of function 'TIFFWriteDirectory' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_dirwrite.c:118:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_dirwrite.c:187:2: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_dirwrite.c:565:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_dirwrite.c:433:24: portability: Casting from float * to unsigned long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xloadimage.4.1/tiff/tif_dirwrite.c:647:23: portability: Casting from float * to unsigned long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xloadimage.4.1/tiff/tif_dirwrite.c:650:35: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xloadimage.4.1/tiff/tif_dirwrite.c:453:1: style: Parameter 'tif' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_dirwrite.c:737:8: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_dumpmode.c:49:1: portability: Omitted return type of function 'TIFFInitDumpMode' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_dumpmode.c:84:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_dumpmode.c:131:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_fax3.c:91:1: portability: Omitted return type of function 'TIFFInitCCITTFax3' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_fax3.c:110:1: portability: Omitted return type of function 'TIFFModeCCITTFax3' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_fax3.c:967:15: debug: Function::addArguments found argument 'rp' with varid 0. [varid0] xloadimage.4.1/tiff/tif_fax3.c:300:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G3_1D [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_fax3.c:362:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G3_1D [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_fax3.c:406:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIFFFax1DAction [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_fax3.c:442:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIFFFax1DAction [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_fax3.c:554:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNCOMP_EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_fax3.c:591:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIFFFax2DMode [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_fax3.c:825:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G3_1D [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_fax3.c:888:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G3_1D [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_fax3.c:974:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rp [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_fax3.c:1025:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G3_1D [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_fax3.c:753:26: error: Array 'mask[9]' accessed at index 12, which is out of bounds. [arrayIndexOutOfBounds] xloadimage.4.1/tiff/tif_fax3.c:823:20: note: Calling function 'putbits', 3rd argument '12' value is 12 xloadimage.4.1/tiff/tif_fax3.c:748:16: note: Assuming condition is false xloadimage.4.1/tiff/tif_fax3.c:753:26: note: Array index out of bounds xloadimage.4.1/tiff/tif_fax3.c:1069:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] xloadimage.4.1/tiff/tif_fax3.c:1079:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] xloadimage.4.1/tiff/tif_fax3.c:360:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xloadimage.4.1/tiff/tif_fax3.c:379:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_fax3.c:1038:5: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_fax3.c:1026:9: style: Condition '!Fax3Encode1DRow(tif,bp,sp->b.rowpixels)' is always false [knownConditionTrueFalse] xloadimage.4.1/tiff/tif_fax3.c:1026:25: note: Calling function 'Fax3Encode1DRow' returns 1 xloadimage.4.1/tiff/tif_fax3.c:1026:9: note: Condition '!Fax3Encode1DRow(tif,bp,sp->b.rowpixels)' is always false xloadimage.4.1/tiff/tif_fax3.c:1040:8: style: Condition '!Fax3Encode1DRow(tif,bp,sp->b.rowpixels)' is always false [knownConditionTrueFalse] xloadimage.4.1/tiff/tif_fax3.c:1040:24: note: Calling function 'Fax3Encode1DRow' returns 1 xloadimage.4.1/tiff/tif_fax3.c:1040:8: note: Condition '!Fax3Encode1DRow(tif,bp,sp->b.rowpixels)' is always false xloadimage.4.1/tiff/tif_fax3.c:230:17: style: Variable 'td' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_fax3.c:327:29: style: Variable 'masks' can be declared as const array [constVariable] xloadimage.4.1/tiff/tif_fax3.c:745:19: style: Variable 'mask' can be declared as const array [constVariable] xloadimage.4.1/tiff/tif_fax3.c:765:20: style: Parameter 'te' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_fax3.c:806:17: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_fax3.c:1098:25: style: Parameter 'tab' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_fax3.c:472:8: style: Unused variable: action [unusedVariable] xloadimage.4.1/tiff/tif_fax4.c:48:1: portability: Omitted return type of function 'TIFFInitCCITTFax4' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_fax4.c:81:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xloadimage.4.1/tiff/tif_fax4.c:85:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_fax4.c:107:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_flush.c:34:1: portability: Omitted return type of function 'TIFFFlush' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_flush.c:51:1: portability: Omitted return type of function 'TIFFFlushData' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_flush.c:38:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_getimage.c:38:1: error: syntax error: "Help, I don't know how to handle this case: !USE_PROTOTYPES and !USE_VARARGS?" typedef [syntaxError] xloadimage.4.1/tiff/tif_jpeg.c:36:1: portability: Omitted return type of function 'TIFFInitJPEG' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_jpeg.c:37:17: style: Parameter 'tif' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_lzw.c:185:1: portability: Omitted return type of function 'TIFFInitLZW' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_lzw.c:927:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] xloadimage.4.1/tiff/tif_lzw.c:396:4: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xloadimage.4.1/tiff/tif_lzw.c:663:10: style: Parameter 'bp' can be declared as pointer to const. However it seems that 'LZWEncode' is a callback function, if 'bp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xloadimage.4.1/tiff/tif_lzw.c:196:24: note: You might need to cast the function pointer here xloadimage.4.1/tiff/tif_lzw.c:663:10: note: Parameter 'bp' can be declared as pointer to const xloadimage.4.1/tiff/tif_machdep.c:151:1: error: syntax error: "Help, you've configured the library to not have IEEE floating point,but not defined how to convert between IEEE and native formats!" typedef [syntaxError] xloadimage.4.1/tiff/tif_next.c:42:1: portability: Omitted return type of function 'TIFFInitNeXT' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_next.c:96:4: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_next.c:110:4: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_open.c:295:1: portability: Omitted return type of function 'TIFFScanlineSize' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_open.c:118:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_open.c:180:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_open.c:176:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xloadimage.4.1/tiff/tif_open.c:185:44: style: Condition '*(char*)&one==0' is always false [knownConditionTrueFalse] xloadimage.4.1/tiff/tif_open.c:185:14: note: Assignment 'one=1', assigned value is 1 xloadimage.4.1/tiff/tif_open.c:185:44: note: Condition '*(char*)&one==0' is always false xloadimage.4.1/tiff/tif_open.c:298:17: style: Variable 'td' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_open.c:316:8: style: Parameter 'tif' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_open.c:326:8: style: Parameter 'tif' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_open.c:336:8: style: Parameter 'tif' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_open.c:347:8: style: Parameter 'tif' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_open.c:357:8: style: Parameter 'tif' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_open.c:367:8: style: Parameter 'tif' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_open.c:377:8: style: Parameter 'tif' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_open.c:387:8: style: Parameter 'tif' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/tiff/tif_packbits.c:49:1: portability: Omitted return type of function 'TIFFInitPackBits' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_packbits.c:257:4: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] xloadimage.4.1/tiff/tif_packbits.c:115:8: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_print.c:129:2: warning: %x in format string (no. 1) requires 'unsigned int' but the argument type is 'signed long'. [invalidPrintfArgType_uint] xloadimage.4.1/tiff/tif_print.c:446:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] xloadimage.4.1/tiff/tif_print.c:449:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] xloadimage.4.1/tiff/tif_print.c:451:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] xloadimage.4.1/tiff/tif_print.c:478:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] xloadimage.4.1/tiff/tif_print.c:478:3: warning: %x in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] xloadimage.4.1/tiff/tif_print.c:500:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] xloadimage.4.1/tiff/tif_print.c:508:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] xloadimage.4.1/tiff/tif_print.c:508:3: warning: %x in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] xloadimage.4.1/tiff/tif_print.c:564:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] xloadimage.4.1/tiff/tif_print.c:568:4: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] xloadimage.4.1/tiff/tif_print.c:568:4: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] xloadimage.4.1/tiff/tif_print.c:125:8: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_print.c:126:9: style: Unused variable: j [unusedVariable] xloadimage.4.1/tiff/tif_read.c:56:1: portability: Omitted return type of function 'TIFFReadScanline' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_read.c:138:1: portability: Omitted return type of function 'TIFFReadEncodedStrip' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_read.c:170:1: portability: Omitted return type of function 'TIFFReadRawStrip' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_read.c:314:1: portability: Omitted return type of function 'TIFFReadTile' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_read.c:339:1: portability: Omitted return type of function 'TIFFReadEncodedTile' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_read.c:367:1: portability: Omitted return type of function 'TIFFReadRawTile' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_read.c:583:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_read.c:201:17: style: Variable 'td' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_read.c:398:17: style: Variable 'td' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_read.c:523:24: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] xloadimage.4.1/tiff/tif_strip.c:68:17: style: Variable 'td' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_strip.c:83:17: style: Variable 'td' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_swab.c:38:1: portability: Omitted return type of function 'TIFFSwabShort' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_swab.c:49:1: portability: Omitted return type of function 'TIFFSwabLong' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_swab.c:61:1: portability: Omitted return type of function 'TIFFSwabArrayOfShort' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_swab.c:78:1: portability: Omitted return type of function 'TIFFSwabArrayOfLong' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_swab.c:181:1: portability: Omitted return type of function 'TIFFReverseBits' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_swab.c:44:28: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] xloadimage.4.1/tiff/tif_swab.c:56:28: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] xloadimage.4.1/tiff/tif_thunder.c:148:1: portability: Omitted return type of function 'TIFFInitThunderScan' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_tile.c:79:1: portability: Omitted return type of function 'TIFFCheckTile' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_tile.c:45:17: style: Variable 'td' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_tile.c:117:17: style: Variable 'td' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_tile.c:143:17: style: Variable 'td' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_tile.c:162:17: style: Variable 'td' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/tiff/tif_write.c:53:1: portability: Omitted return type of function 'TIFFWriteScanline' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_write.c:176:1: portability: Omitted return type of function 'TIFFWriteEncodedStrip' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_write.c:231:1: portability: Omitted return type of function 'TIFFWriteRawStrip' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_write.c:253:1: portability: Omitted return type of function 'TIFFWriteTile' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_write.c:283:1: portability: Omitted return type of function 'TIFFWriteEncodedTile' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_write.c:354:1: portability: Omitted return type of function 'TIFFWriteRawTile' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_write.c:571:1: portability: Omitted return type of function 'TIFFFlushData1' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/tiff/tif_write.c:419:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] xloadimage.4.1/tiff/tif_write.c:399:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xloadimage.4.1/tiff/tif_write.c:400:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xloadimage.4.1/tiff/tif_write.c:518:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xloadimage.4.1/tiff/tif_write.c:519:2: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] xloadimage.4.1/tiff/tif_write.c:534:10: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/undither.c:28:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xloadimage.4.1/uufilter.c:15:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/uufilter.c:47:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] xloadimage.4.1/uufilter.c:67:5: warning: fprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] xloadimage.4.1/uufilter.c:76:11: warning: %o in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] xloadimage.4.1/uufilter.c:76:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xloadimage.4.1/uufilter.c:20:9: style: Variable 'infilename' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/uufilter.c:21:9: style: Variable 'outfilename' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/uufilter.c:93:11: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/value.c:76:7: style: Condition '!init' is always true [knownConditionTrueFalse] xloadimage.4.1/vff.c:363:1: portability: Omitted return type of function 'vffIdent' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/vff.c:266:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/vff.c:100:19: style: Condition 'readImage(zf,image)' is always false [knownConditionTrueFalse] xloadimage.4.1/vff.c:100:19: note: Calling function 'readImage' returns 0 xloadimage.4.1/vff.c:100:19: note: Condition 'readImage(zf,image)' is always false xloadimage.4.1/vff.c:221:8: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] xloadimage.4.1/vff.c:221:8: warning: %x in format string (no. 2) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] xloadimage.4.1/vff.c:221:8: warning: %x in format string (no. 3) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] xloadimage.4.1/vff.c:344:12: style: Variable 'cp' is reassigned a value before the old one has been used. [redundantAssignment] xloadimage.4.1/vff.c:332:9: note: cp is assigned xloadimage.4.1/vff.c:344:12: note: cp is overwritten xloadimage.4.1/vff.c:364:18: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/vicar.c:179:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/vicar.c:36:12: style: Parameter 'fullname' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/vicar.c:111:16: style: Unused variable: c [unusedVariable] xloadimage.4.1/vicar.c:112:18: style: Unused variable: j [unusedVariable] xloadimage.4.1/vicar.c:118:17: style: Unused variable: buf [unusedVariable] xloadimage.4.1/window.c:111:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_icon [valueFlowBailoutIncompleteVar] xloadimage.4.1/window.c:218:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xloadimage.4.1/window.c:232:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xloadimage.4.1/window.c:268:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/window.c:329:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable StaticGray [valueFlowBailoutIncompleteVar] xloadimage.4.1/window.c:366:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VisualScreenMask [valueFlowBailoutIncompleteVar] xloadimage.4.1/window.c:401:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nvisuals [valueFlowBailoutIncompleteVar] xloadimage.4.1/window.c:518:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nvisuals [valueFlowBailoutIncompleteVar] xloadimage.4.1/window.c:543:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xloadimage.4.1/window.c:230:14: style: Parameter 'visual' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/window.c:386:21: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/window.c:391:26: style: Variable 'default_visual' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/window.c:501:20: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/xbitmap.c:95:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/xbitmap.c:229:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/xbitmap.c:229:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/xbitmap.c:158:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xloadimage.4.1/xbitmap.c:173:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xloadimage.4.1/xbitmap.c:177:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xloadimage.4.1/xbitmap.c:178:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xloadimage.4.1/xbitmap.c:120:12: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/xloadimage.c:169:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] xloadimage.4.1/xloadimage.c:226:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/xloadimage.c:471:8: style: Variable 'tag' can be declared as pointer to const [constVariablePointer] xloadimage.4.1/xpixmap.c:40:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/xpixmap.c:71:11: warning: %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'. [invalidScanfArgType_int] xloadimage.4.1/xpixmap.c:125:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/xpixmap.c:125:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/xpixmap.c:125:5: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/xpixmap.c:71:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xloadimage.4.1/xpixmap.c:105:15: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xloadimage.4.1/xpixmap.c:189:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xloadimage.4.1/xpixmap.c:193:8: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] xloadimage.4.1/xpixmap.c:120:6: note: p is assigned xloadimage.4.1/xpixmap.c:193:8: note: p is overwritten xloadimage.4.1/xpixmap.c:28:13: style: Parameter 'fullname' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/xpixmap.c:226:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] xloadimage.4.1/xwd.c:181:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSBFirst [valueFlowBailoutIncompleteVar] xloadimage.4.1/xwd.c:258:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSBFirst [valueFlowBailoutIncompleteVar] xloadimage.4.1/xwd.c:351:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSBFirst [valueFlowBailoutIncompleteVar] xloadimage.4.1/xwd.c:439:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/xwd.c:111:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/xwd.c:111:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/xwd.c:118:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/xwd.c:121:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/xwd.c:399:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/xwd.c:177:39: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] xloadimage.4.1/xwd.c:257:39: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] xloadimage.4.1/xwd.c:26:17: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/xwd.c:149:12: style: Parameter 'fullname' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/xwd.c:222:12: style: Parameter 'fullname' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/xwd.c:317:12: style: Parameter 'fullname' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/xwd.c:250:15: warning: Shifting 32-bit value by 55 bits is undefined behaviour. See condition at line 245. [shiftTooManyBits] xloadimage.4.1/xwd.c:245:26: note: Assuming that condition 'header.bitmap_unit>7' is not redundant xloadimage.4.1/xwd.c:248:17: note: Assignment 'unit=header.bitmap_unit', assigned value is 7 xloadimage.4.1/xwd.c:249:11: note: unitbits is assigned 'unit*8' here. xloadimage.4.1/xwd.c:250:15: note: Shift xloadimage.4.1/xwd.c:250:15: warning: Either the condition 'header.bitmap_unit>7' is redundant or there is signed integer overflow for expression '1<<(unitbits-1)'. [integerOverflowCond] xloadimage.4.1/xwd.c:245:26: note: Assuming that condition 'header.bitmap_unit>7' is not redundant xloadimage.4.1/xwd.c:248:17: note: Assignment 'unit=header.bitmap_unit', assigned value is 7 xloadimage.4.1/xwd.c:249:11: note: unitbits is assigned 'unit*8' here. xloadimage.4.1/xwd.c:250:15: note: Integer overflow xloadimage.4.1/zio.c:56:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/zio.c:111:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xloadimage.4.1/zio.c:145:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/zio.c:259:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xloadimage.4.1/zio.c:89:12: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] xloadimage.4.1/zoom.c:43:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xloadimage.4.1/zoom.c:63:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/zoom.c:64:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/zoom.c:68:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/zoom.c:69:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/zoom.c:73:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/zoom.c:74:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/zoom.c:78:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/zoom.c:78:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/zoom.c:80:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xloadimage.4.1/zoom.c:80:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] diff: DONE