2025-07-01 00:19 ftp://ftp.de.debian.org/debian/pool/main/s/swarp/swarp_2.41.5.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: dfa16af (2025-06-30 19:43:56 +0200) count: 575 575 elapsed-time: 4.0 4.1 head-timing-info: old-timing-info: head results: swarp-2.41.5/src/data.c:91:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/data.c:92:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/data.c:146:20: style: Variable 'convert_backdata' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/data.c:147:21: style: Variable 'vardata' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fits/fitscat.c:137:45: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] swarp-2.41.5/src/fits/fitscat.c:258:7: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] swarp-2.41.5/src/fits/fitscat.c:257:14: note: outer condition: tabin->headbuf swarp-2.41.5/src/fits/fitscat.c:258:7: note: identical inner condition: tabin->headbuf swarp-2.41.5/src/fits/fitscat.c:261:7: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] swarp-2.41.5/src/fits/fitscat.c:260:14: note: outer condition: tabin->bodybuf swarp-2.41.5/src/fits/fitscat.c:261:7: note: identical inner condition: tabin->bodybuf swarp-2.41.5/src/fits/fitscat.c:93:7: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscat.c:129:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscat.c:253:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscat.c:256:7: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscat.c:258:7: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscat.c:261:7: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscat.c:310:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscat.c:319:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscat.c:352:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscat.c:412:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscat.c:456:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscat.c:116:44: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitscat.c:140:29: error: Undefined behavior: Variable 'str2' is used as parameter and destination in sprintf(). [sprintfOverlappingData] swarp-2.41.5/src/fits/fitscleanup.c:159:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable signum [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/fits/fitscleanup.c:196:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/fits/fitscleanup.c:92:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscleanup.c:96:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscleanup.c:98:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscleanup.c:136:11: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscleanup.c:96:5: error: Common realloc mistake: 'cleanup_filename' nulled but not freed upon failure [memleakOnRealloc] swarp-2.41.5/src/fits/fitscleanup.c:87:32: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitscleanup.c:114:35: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitsconv.c:98:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/fits/fitscheck.c:117:7: style: Condition '*((char*)&ashort)' is always true [knownConditionTrueFalse] swarp-2.41.5/src/fits/fitscheck.c:108:13: note: Assignment 'ashort=1', assigned value is 1 swarp-2.41.5/src/fits/fitscheck.c:117:7: note: Condition '*((char*)&ashort)' is always true swarp-2.41.5/src/fits/fitscheck.c:170:7: style: Condition '*((char*)&ashort)' is always true [knownConditionTrueFalse] swarp-2.41.5/src/fits/fitscheck.c:163:13: note: Assignment 'ashort=1', assigned value is 1 swarp-2.41.5/src/fits/fitscheck.c:170:7: note: Condition '*((char*)&ashort)' is always true swarp-2.41.5/src/fits/fitscheck.c:337:10: style: Condition 'sum' is always true [knownConditionTrueFalse] swarp-2.41.5/src/fits/fitscheck.c:335:9: note: Assignment 'sum=~sum', assigned value is greater than 0 swarp-2.41.5/src/fits/fitscheck.c:337:10: note: Condition 'sum' is always true swarp-2.41.5/src/fits/fitscheck.c:227:7: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscheck.c:246:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscheck.c:277:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscheck.c:288:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitsconv.c:81:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitsconv.c:114:9: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitsconv.c:120:7: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitscheck.c:102:36: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitscheck.c:106:20: style: Variable 'sbuf' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fits/fitscheck.c:161:20: style: Variable 'sbuf' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/field.c:114:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORM [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/field.c:303:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUIET [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/field.c:665:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CENTER_MANUAL [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/back.c:90:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORM [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/fits/fitshead.c:199:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMPRESS_NONE [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/fits/fitsbody.c:650:9: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitsbody.c:700:9: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitsbody.c:853:9: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitsbody.c:903:9: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitsbody.c:1298:30: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] swarp-2.41.5/src/fits/fitsbody.c:107:22: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitsbody.c:110:17: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitsbody.c:113:14: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitsbody.c:159:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitsbody.c:439:19: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] swarp-2.41.5/src/fits/fitsbody.c:612:13: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitsbody.c:627:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitsbody.c:635:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitsbody.c:979:15: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] swarp-2.41.5/src/fits/fitsbody.c:1070:31: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitsbody.c:1086:32: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitsbody.c:1295:31: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitsbody.c:1306:32: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitsbody.c:960:42: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitsbody.c:1185:44: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitsbody.c:1394:23: style: Parameter 'dirname' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/coadd.c:493:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUIET [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/fits/fitsmisc.c:53:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/fits/fitsmisc.c:88:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/fits/fitsmisc.c:86:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] swarp-2.41.5/src/fits/fitsmisc.c:80:23: style: Parameter 'msg1' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitsmisc.c:80:35: style: Parameter 'msg2' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitsmisc.c:83:15: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fits/fitsmisc.c:200:20: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitsmisc.c:200:30: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitsmisc.c:228:19: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitsmisc.c:254:20: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitsread.c:186:11: style: Condition 'bswapflag' is always true [knownConditionTrueFalse] swarp-2.41.5/src/fits/fitsread.c:173:28: note: Assignment 'ashort=1', assigned value is 1 swarp-2.41.5/src/fits/fitsread.c:179:15: note: Assignment 'bswapflag=*((char*)&ashort)', assigned value is 1 swarp-2.41.5/src/fits/fitsread.c:186:11: note: Condition 'bswapflag' is always true swarp-2.41.5/src/fits/fitsread.c:231:11: style: Condition 'bswapflag' is always true [knownConditionTrueFalse] swarp-2.41.5/src/fits/fitsread.c:217:28: note: Assignment 'ashort=1', assigned value is 1 swarp-2.41.5/src/fits/fitsread.c:220:33: note: Assuming condition is false swarp-2.41.5/src/fits/fitsread.c:224:15: note: Assignment 'bswapflag=*((char*)&ashort)', assigned value is 1 swarp-2.41.5/src/fits/fitsread.c:231:11: note: Condition 'bswapflag' is always true swarp-2.41.5/src/fits/fitsread.c:137:7: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitsread.c:151:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitshead.c:68:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitshead.c:86:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitshead.c:140:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitshead.c:257:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitshead.c:328:7: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitshead.c:612:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitshead.c:643:7: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitshead.c:778:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] swarp-2.41.5/src/fits/fitshead.c:445:21: style: Variable 'str2lim' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fits/fitshead.c:851:11: style: Variable 'control' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fits/fitshead.c:454:57: error: Uninitialized variable: &j [uninitvar] swarp-2.41.5/src/fits/fitsutil.c:561:28: error: Array 'str[81]' accessed at index 82, which is out of bounds. [arrayIndexOutOfBounds] swarp-2.41.5/src/fits/fitsutil.c:550:4: note: After for loop, i has value 80 swarp-2.41.5/src/fits/fitsutil.c:559:30: note: Compound assignment '+=', assigned value is 82 swarp-2.41.5/src/fits/fitsutil.c:561:28: note: Array index out of bounds swarp-2.41.5/src/fits/fitsutil.c:373:18: warning:inconclusive: Width 1 given in format string (no. 1) is smaller than destination buffer 's[4]'. [invalidScanfFormatWidth_smaller] swarp-2.41.5/src/fits/fitsutil.c:199:20: style:inconclusive: Function 'fitspick' argument 1 names different: declaration 'fitsbuf' definition 'fitsline'. [funcArgNamesDifferent] swarp-2.41.5/src/fits/fitscat.h:299:18: note: Function 'fitspick' argument 1 names different: declaration 'fitsbuf' definition 'fitsline'. swarp-2.41.5/src/fits/fitsutil.c:199:20: note: Function 'fitspick' argument 1 names different: declaration 'fitsbuf' definition 'fitsline'. swarp-2.41.5/src/fits/fitsutil.c:57:49: style: Parameter 'comment' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitsutil.c:170:41: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitsutil.c:203:10: style: Variable 'fptr' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fits/fitsutil.c:345:16: style: Variable 'st2' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fits/fitsutil.c:444:10: style: Variable 'cp1' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fits/fitsutil.c:482:18: style: Variable 'cstr1' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fits/fitstab.c:307:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] swarp-2.41.5/src/fits/fitstab.c:212:8: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] swarp-2.41.5/src/fits/fitstab.c:211:15: note: outer condition: tabin->headbuf swarp-2.41.5/src/fits/fitstab.c:212:8: note: identical inner condition: tabin->headbuf swarp-2.41.5/src/fits/fitstab.c:214:8: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] swarp-2.41.5/src/fits/fitstab.c:213:15: note: outer condition: tabin->bodybuf swarp-2.41.5/src/fits/fitstab.c:214:8: note: identical inner condition: tabin->bodybuf swarp-2.41.5/src/fits/fitstab.c:291:6: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] swarp-2.41.5/src/fits/fitstab.c:290:13: note: outer condition: tabin->headbuf swarp-2.41.5/src/fits/fitstab.c:291:6: note: identical inner condition: tabin->headbuf swarp-2.41.5/src/fits/fitstab.c:293:6: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] swarp-2.41.5/src/fits/fitstab.c:292:13: note: outer condition: tabin->bodybuf swarp-2.41.5/src/fits/fitstab.c:293:6: note: identical inner condition: tabin->bodybuf swarp-2.41.5/src/fits/fitstab.c:207:6: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitstab.c:210:8: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitstab.c:212:8: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitstab.c:214:8: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitstab.c:286:4: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitstab.c:289:6: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitstab.c:291:6: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitstab.c:293:6: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitstab.c:444:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitstab.c:448:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitstab.c:456:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitstab.c:706:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitstab.c:708:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitstab.c:426:26: style: Parameter 'tabname' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitstab.c:578:15: style: Variable 'keytab' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fits/fitstab.c:635:46: style: Parameter 'tabname' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitstab.c:307:10: style: Variable 'tabin' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/back.c:929:15: style: Condition 'nby<2' is always false [knownConditionTrueFalse] swarp-2.41.5/src/back.c:918:11: note: Assuming that condition 'nby>1' is not redundant swarp-2.41.5/src/back.c:929:15: note: Condition 'nby<2' is always false swarp-2.41.5/src/back.c:1056:15: style: Condition 'nby<2' is always false [knownConditionTrueFalse] swarp-2.41.5/src/back.c:1045:11: note: Assuming that condition 'nby>1' is not redundant swarp-2.41.5/src/back.c:1056:15: note: Condition 'nby<2' is always false swarp-2.41.5/src/back.c:134:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:135:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:137:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:139:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:141:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:144:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:145:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:147:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:149:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:185:11: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:193:13: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:222:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:226:11: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:282:11: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:294:13: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:364:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:734:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:735:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:736:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:737:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:857:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:864:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:941:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:947:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:950:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:1068:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:1074:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:1077:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/back.c:72:27: style: Variable 'weight' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/back.c:647:35: style: Variable 'histot' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/back.c:848:37: style: Parameter 'field' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/back.c:901:30: style: Variable 'bhi' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/back.c:901:41: style: Variable 'dbhi' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/back.c:1040:30: style: Variable 'bhi' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/back.c:1040:41: style: Variable 'dbhi' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/coadd.c:368:33: warning: Either the condition 'd>1' is redundant or the array 'wcs->outmin[2]' is accessed at index 2, which is out of bounds. [arrayIndexOutOfBoundsCond] swarp-2.41.5/src/coadd.c:366:12: note: Assuming that condition 'd>1' is not redundant swarp-2.41.5/src/coadd.c:368:33: note: Array index out of bounds swarp-2.41.5/src/coadd.c:368:43: warning: Either the condition 'd>1' is redundant or the array 'bufmin[2]' is accessed at index 2, which is out of bounds. [arrayIndexOutOfBoundsCond] swarp-2.41.5/src/coadd.c:366:12: note: Assuming that condition 'd>1' is not redundant swarp-2.41.5/src/coadd.c:368:43: note: Array index out of bounds swarp-2.41.5/src/coadd.c:369:33: warning: Either the condition 'd>1' is redundant or the array 'wcs->outmax[2]' is accessed at index 2, which is out of bounds. [arrayIndexOutOfBoundsCond] swarp-2.41.5/src/coadd.c:366:12: note: Assuming that condition 'd>1' is not redundant swarp-2.41.5/src/coadd.c:369:33: note: Array index out of bounds swarp-2.41.5/src/coadd.c:369:43: warning: Either the condition 'd>1' is redundant or the array 'bufmin[2]' is accessed at index 2, which is out of bounds. [arrayIndexOutOfBoundsCond] swarp-2.41.5/src/coadd.c:366:12: note: Assuming that condition 'd>1' is not redundant swarp-2.41.5/src/coadd.c:369:43: note: Array index out of bounds swarp-2.41.5/src/coadd.c:357:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:358:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:384:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:517:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:518:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:522:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:523:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:531:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:533:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:537:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:538:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:542:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:543:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:549:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:550:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:554:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:555:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:556:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:557:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:559:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:928:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:983:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:984:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:1028:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:1095:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:1319:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:1320:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:1321:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:1322:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:2000:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:2218:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/coadd.c:622:12: style: Checking if unsigned expression 'd' is less than zero. [unsignedLessThanZero] swarp-2.41.5/src/coadd.c:1958:14: style:inconclusive: Function 'coadd_iload' argument 3 names different: declaration 'multibuf' definition 'multiibuf'. [funcArgNamesDifferent] swarp-2.41.5/src/coadd.c:104:14: note: Function 'coadd_iload' argument 3 names different: declaration 'multibuf' definition 'multiibuf'. swarp-2.41.5/src/coadd.c:1958:14: note: Function 'coadd_iload' argument 3 names different: declaration 'multibuf' definition 'multiibuf'. swarp-2.41.5/src/coadd.c:1960:22: style:inconclusive: Function 'coadd_iload' argument 7 names different: declaration 'rawmin' definition 'bufmin'. [funcArgNamesDifferent] swarp-2.41.5/src/coadd.c:106:22: note: Function 'coadd_iload' argument 7 names different: declaration 'rawmin' definition 'bufmin'. swarp-2.41.5/src/coadd.c:1960:22: note: Function 'coadd_iload' argument 7 names different: declaration 'rawmin' definition 'bufmin'. swarp-2.41.5/src/coadd.c:1960:35: style:inconclusive: Function 'coadd_iload' argument 8 names different: declaration 'rawmax' definition 'bufmax'. [funcArgNamesDifferent] swarp-2.41.5/src/coadd.c:106:35: note: Function 'coadd_iload' argument 8 names different: declaration 'rawmax' definition 'bufmax'. swarp-2.41.5/src/coadd.c:1960:35: note: Function 'coadd_iload' argument 8 names different: declaration 'rawmax' definition 'bufmax'. swarp-2.41.5/src/coadd.c:1961:8: style:inconclusive: Function 'coadd_iload' argument 9 names different: declaration 'nlines' definition 'nbuflines'. [funcArgNamesDifferent] swarp-2.41.5/src/coadd.c:107:8: note: Function 'coadd_iload' argument 9 names different: declaration 'nlines' definition 'nbuflines'. swarp-2.41.5/src/coadd.c:1961:8: note: Function 'coadd_iload' argument 9 names different: declaration 'nlines' definition 'nbuflines'. swarp-2.41.5/src/coadd.c:2177:22: style:inconclusive: Function 'coadd_load' argument 8 names different: declaration 'rawmin' definition 'bufmin'. [funcArgNamesDifferent] swarp-2.41.5/src/coadd.c:112:22: note: Function 'coadd_load' argument 8 names different: declaration 'rawmin' definition 'bufmin'. swarp-2.41.5/src/coadd.c:2177:22: note: Function 'coadd_load' argument 8 names different: declaration 'rawmin' definition 'bufmin'. swarp-2.41.5/src/coadd.c:2177:35: style:inconclusive: Function 'coadd_load' argument 9 names different: declaration 'rawmax' definition 'bufmax'. [funcArgNamesDifferent] swarp-2.41.5/src/coadd.c:112:35: note: Function 'coadd_load' argument 9 names different: declaration 'rawmax' definition 'bufmax'. swarp-2.41.5/src/coadd.c:2177:35: note: Function 'coadd_load' argument 9 names different: declaration 'rawmax' definition 'bufmax'. swarp-2.41.5/src/coadd.c:2178:8: style:inconclusive: Function 'coadd_load' argument 10 names different: declaration 'nlines' definition 'nbuflines'. [funcArgNamesDifferent] swarp-2.41.5/src/coadd.c:113:8: note: Function 'coadd_load' argument 10 names different: declaration 'nlines' definition 'nbuflines'. swarp-2.41.5/src/coadd.c:2178:8: note: Function 'coadd_load' argument 10 names different: declaration 'nlines' definition 'nbuflines'. swarp-2.41.5/src/coadd.c:2178:52: style:inconclusive: Function 'coadd_load' argument 13 names different: declaration 'n' definition 'oid'. [funcArgNamesDifferent] swarp-2.41.5/src/coadd.c:113:49: note: Function 'coadd_load' argument 13 names different: declaration 'n' definition 'oid'. swarp-2.41.5/src/coadd.c:2178:52: note: Function 'coadd_load' argument 13 names different: declaration 'n' definition 'oid'. swarp-2.41.5/src/coadd.c:953:18: style: Variable 'cof' can be declared as const array [constVariable] swarp-2.41.5/src/coadd.c:1177:23: style: Variable 'inipixt' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/coadd.c:1177:51: style: Variable 'inwipixt' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/coadd.c:1179:18: style: Variable 'inn' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/coadd.c:1262:29: style: Variable 'inpixt' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/coadd.c:1262:37: style: Variable 'inwpixt' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/coadd.c:1267:19: style: Variable 'inn' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/coadd.c:1267:36: style: Variable 'inorigint' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/coadd.c:2445:13: style: Variable 'pix' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/coadd.c:2446:18: style: Variable 'multin' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/coadd.c:2486:14: style: Variable 'ipix' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/coadd.c:2487:18: style: Variable 'multin' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/coadd.c:2517:13: style: Variable 'wpix' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/coadd.c:2574:14: style: Variable 'wipix' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/coadd.c:1453:29: style: Variable 'val2' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/coadd.c:1596:14: style: Variable 'wval' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/coadd.c:1632:14: style: Variable 'wval' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/coadd.c:1672:14: style: Variable 'wval' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/fitswcs.c:490:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RDSYS_ICRS [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/fitswcs.c:1010:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/fits/fitskey.c:137:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:141:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:196:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:252:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:258:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:338:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:354:9: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:370:7: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:377:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:529:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:532:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:665:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:679:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:793:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:796:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitskey.c:898:5: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitskey.c:918:5: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitskey.c:124:15: style: Variable 'keyin' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fits/fitskey.c:191:26: style: Parameter 'keyname' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitskey.c:303:12: style: Variable 'mask2' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fits/fitskey.c:498:46: style: Parameter 'keyname' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fits/fitskey.c:604:12: style: Variable 'mask2' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fits/fitskey.c:627:12: style: Variable 'skycathead' can be declared as const array [constVariable] swarp-2.41.5/src/fits/fitskey.c:636:16: style: Variable 'skycattail' can be declared as const array [constVariable] swarp-2.41.5/src/header.c:249:8: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] swarp-2.41.5/src/header.c:428:8: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] swarp-2.41.5/src/header.c:171:3: style: Redundant assignment of 'field->fscale' to itself. [selfAssignment] swarp-2.41.5/src/header.c:173:3: style: Redundant assignment of 'field->gain' to itself. [selfAssignment] swarp-2.41.5/src/header.c:174:3: style: Redundant assignment of 'field->saturation' to itself. [selfAssignment] swarp-2.41.5/src/header.c:63:24: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/header.c:198:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/header.c:381:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/header.c:390:5: style: Unused variable: pstr [unusedVariable] swarp-2.41.5/src/main.c:61:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/field.c:79:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/field.c:131:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/field.c:215:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/field.c:397:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/field.c:450:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/field.c:463:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/field.c:464:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/field.c:479:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/interpolate.c:436:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/field.c:962:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/interpolate.c:444:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/interpolate.c:445:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/interpolate.c:70:49: style:inconclusive: Function 'interpolate_pix' argument 5 names different: declaration 'outipix' definition 'outpix'. [funcArgNamesDifferent] swarp-2.41.5/src/interpolate.h:63:13: note: Function 'interpolate_pix' argument 5 names different: declaration 'outipix' definition 'outpix'. swarp-2.41.5/src/interpolate.c:70:49: note: Function 'interpolate_pix' argument 5 names different: declaration 'outipix' definition 'outpix'. swarp-2.41.5/src/interpolate.c:69:54: style: Parameter 'wfield' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/interpolate.c:70:35: style: Parameter 'pos' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/interpolate.c:78:13: style: Variable 'kvector' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/interpolate.c:83:11: style: Variable 'naxisn' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/interpolate.c:228:11: style: Parameter 'pos' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/interpolate.c:232:11: style: Variable 'naxisn' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/interpolate.c:431:41: style: Parameter 'interptype' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/interpolate.c:119:15: warning: Uninitialized variable: *dpos [uninitvar] swarp-2.41.5/src/interpolate.c:91:14: note: Assuming condition is false swarp-2.41.5/src/interpolate.c:119:15: note: Uninitialized variable: *dpos swarp-2.41.5/src/interpolate.c:88:9: style: Variable 'width' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/field.c:210:9: style:inconclusive: Function 'inherit_field' argument 3 names different: declaration 'fflags' definition 'flags'. [funcArgNamesDifferent] swarp-2.41.5/src/field.h:116:10: note: Function 'inherit_field' argument 3 names different: declaration 'fflags' definition 'flags'. swarp-2.41.5/src/field.c:210:9: note: Function 'inherit_field' argument 3 names different: declaration 'fflags' definition 'flags'. swarp-2.41.5/src/interpolate.c:237:9: style: Variable 'width' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/field.c:209:34: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/field.c:288:55: style: Parameter 'wfield' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/field.c:379:66: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/field.c:1015:13: style: Variable 'wcsscale' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/field.c:349:16: style: Variable 'pixscale' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/field.c:976:22: style: Variable 'wcs' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/misc.c:71:23: style:inconclusive: Function 'fqmedian' argument 1 names different: declaration 'arr' definition 'ra'. [funcArgNamesDifferent] swarp-2.41.5/src/misc.h:31:30: note: Function 'fqmedian' argument 1 names different: declaration 'arr' definition 'ra'. swarp-2.41.5/src/misc.c:71:23: note: Function 'fqmedian' argument 1 names different: declaration 'arr' definition 'ra'. swarp-2.41.5/src/misc.c:74:13: style: Variable 'dqcmp' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/misc.c:99:9: style: Variable 'dummy' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/makeit.c:87:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORM [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/main.c:124:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] swarp-2.41.5/src/main.c:68:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/main.c:69:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitswrite.c:182:13: style: Condition 'bswapflag' is always true [knownConditionTrueFalse] swarp-2.41.5/src/fits/fitswrite.c:102:28: note: Assignment 'ashort=1', assigned value is 1 swarp-2.41.5/src/fits/fitswrite.c:106:15: note: Assignment 'bswapflag=*((char*)&ashort)', assigned value is 1 swarp-2.41.5/src/fits/fitswrite.c:182:13: note: Condition 'bswapflag' is always true swarp-2.41.5/src/fits/fitswrite.c:340:9: style: Condition 'bswapflag' is always true [knownConditionTrueFalse] swarp-2.41.5/src/fits/fitswrite.c:327:28: note: Assignment 'ashort=1', assigned value is 1 swarp-2.41.5/src/fits/fitswrite.c:330:15: note: Assignment 'bswapflag=*((char*)&ashort)', assigned value is 1 swarp-2.41.5/src/fits/fitswrite.c:340:9: note: Condition 'bswapflag' is always true swarp-2.41.5/src/fits/fitswrite.c:116:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitswrite.c:134:9: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitswrite.c:193:9: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitswrite.c:296:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fits/fitswrite.c:422:59: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitswrite.c:427:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitswrite.c:508:59: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitswrite.c:513:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] swarp-2.41.5/src/fits/fitswrite.c:383:3: style: Variable 'pos' is reassigned a value before the old one has been used. [redundantAssignment] swarp-2.41.5/src/fits/fitswrite.c:382:7: note: pos is assigned swarp-2.41.5/src/fits/fitswrite.c:383:3: note: pos is overwritten swarp-2.41.5/src/fits/fitswrite.c:455:34: style: Pointer expression 'printf' converted to bool is always true. [knownPointerToBool] swarp-2.41.5/src/fits/fitswrite.c:541:34: style: Pointer expression 'printf' converted to bool is always true. [knownPointerToBool] swarp-2.41.5/src/fits/fitswrite.c:101:41: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fits/fitswrite.c:257:17: style: Variable 'padbuf' can be declared as const array [constVariable] swarp-2.41.5/src/fits/fitswrite.c:326:19: style: Variable 'pin' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/makeit.c:80:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] swarp-2.41.5/src/makeit.c:291:12: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] swarp-2.41.5/src/makeit.c:356:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] swarp-2.41.5/src/makeit.c:108:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/makeit.c:109:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/makeit.c:110:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/makeit.c:148:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/makeit.c:149:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/makeit.c:148:9: error: Common realloc mistake: 'infield' nulled but not freed upon failure [memleakOnRealloc] swarp-2.41.5/src/makeit.c:149:9: error: Common realloc mistake: 'inwfield' nulled but not freed upon failure [memleakOnRealloc] swarp-2.41.5/src/makeit.c:420:10: style: Local variable 'error' shadows outer function [shadowFunction] swarp-2.41.5/src/fits/fitscat.h:232:3: note: Shadowed declaration swarp-2.41.5/src/makeit.c:420:10: note: Shadow variable swarp-2.41.5/src/makeit.c:68:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/makeit.c:70:12: style: Variable 'rfilename' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/makeit.c:384:28: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/makeit.c:418:27: style: Parameter 'msg1' can be declared as pointer to const. However it seems that 'write_error' is a callback function, if 'msg1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swarp-2.41.5/src/makeit.c:76:21: note: You might need to cast the function pointer here swarp-2.41.5/src/makeit.c:418:27: note: Parameter 'msg1' can be declared as pointer to const swarp-2.41.5/src/makeit.c:418:39: style: Parameter 'msg2' can be declared as pointer to const. However it seems that 'write_error' is a callback function, if 'msg2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] swarp-2.41.5/src/makeit.c:76:21: note: You might need to cast the function pointer here swarp-2.41.5/src/makeit.c:418:39: note: Parameter 'msg2' can be declared as pointer to const swarp-2.41.5/src/prefs.c:121:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable listbuf [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/wcs/lin.c:240:14: style: Parameter 'imgcrd' can be declared as const array [constParameter] swarp-2.41.5/src/wcs/lin.c:271:14: style: Parameter 'pixcrd' can be declared as const array [constParameter] swarp-2.41.5/src/wcs/lin.c:304:14: style: Parameter 'mat' can be declared as const array [constParameter] swarp-2.41.5/src/resample.c:276:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FSCALASTRO_VARIABLE [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/wcs/poly.c:73:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/wcs/poly.c:92:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg2 [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/wcs/poly.c:402:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg2 [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/projapprox.c:519:15: style: Condition 'nbx<2' is always false [knownConditionTrueFalse] swarp-2.41.5/src/projapprox.c:505:10: note: Assuming that condition 'nbx>1' is not redundant swarp-2.41.5/src/projapprox.c:519:15: note: Condition 'nbx<2' is always false swarp-2.41.5/src/projapprox.c:543:15: style: Condition 'nby<2' is always false [knownConditionTrueFalse] swarp-2.41.5/src/projapprox.c:531:11: note: Assuming that condition 'nby>1' is not redundant swarp-2.41.5/src/projapprox.c:543:15: note: Condition 'nby<2' is always false swarp-2.41.5/src/projapprox.c:83:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/projapprox.c:141:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/projapprox.c:149:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/projapprox.c:214:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/projapprox.c:215:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/projapprox.c:327:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/projapprox.c:331:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/projapprox.c:365:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/projapprox.c:399:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/projapprox.c:403:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/projapprox.c:437:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/projapprox.c:553:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/projapprox.c:555:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/projapprox.c:71:46: style: Variable 'projapplinet' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/projapprox.c:490:51: style: Parameter 'startposin' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/projapprox.c:607:15: style: Variable 'posoutt' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/projapprox.c:657:16: style: Variable 'areaoutt' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/resample.c:305:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:308:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:309:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:313:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:314:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:316:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:317:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:318:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:319:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:320:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:325:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:326:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:330:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:331:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:333:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:342:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:343:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:347:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:348:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:355:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:356:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:360:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:361:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:363:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:366:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:368:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:369:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:68:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:70:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:81:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:122:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:124:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:145:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:185:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:186:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:187:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:188:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:193:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:197:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:367:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:376:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:441:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:862:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:863:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/fitswcs.c:864:3: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/resample.c:787:21: style: Variable 'ninput' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/fitswcs.c:70:3: warning: Either the condition 'wcsin' is redundant or there is possible null pointer dereference: wcsin. [nullPointerRedundantCheck] swarp-2.41.5/src/fitswcs.c:68:3: note: Assuming that condition 'wcsin' is not redundant swarp-2.41.5/src/fitswcs.c:70:3: note: Null pointer dereference swarp-2.41.5/src/resample.c:853:16: style: Variable 'area' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/fitswcs.c:498:9: style: Redundant assignment of 'wcs->equinox' to itself. [selfAssignment] swarp-2.41.5/src/fitswcs.c:509:9: style: Redundant assignment of 'wcs->equinox' to itself. [selfAssignment] swarp-2.41.5/src/fitswcs.c:797:23: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fitswcs.c:800:9: style: Variable 'projcode' can be declared as const array [constVariable] swarp-2.41.5/src/fitswcs.c:1278:12: style: Variable 'mat' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fitswcs.c:1313:12: style: Variable 'mat' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fitswcs.c:1550:28: style: Parameter 'wcs' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fitswcs.c:1550:41: style: Parameter 'wcspos1' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fitswcs.c:1550:58: style: Parameter 'wcspos2' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fitswcs.c:1650:45: style: Parameter 'pixpos' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/fitswcs.c:1924:11: style: Variable 'a' can be declared as const array [constVariable] swarp-2.41.5/src/fitswcs.c:1925:3: style: Variable 'ap' can be declared as const array [constVariable] swarp-2.41.5/src/fitswcs.c:1926:3: style: Variable 'm' can be declared as const array [constVariable] swarp-2.41.5/src/fitswcs.c:1999:12: style: Variable 'a' can be declared as const array [constVariable] swarp-2.41.5/src/fitswcs.c:2000:25: style: Variable 'ap' can be declared as const array [constVariable] swarp-2.41.5/src/fitswcs.c:2001:25: style: Variable 'm' can be declared as const array [constVariable] swarp-2.41.5/src/fitswcs.c:2139:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/fitswcs.c:73:3: warning: Uninitialized variable: wcs [uninitvar] swarp-2.41.5/src/fitswcs.c:68:3: note: Assuming condition is false swarp-2.41.5/src/fitswcs.c:73:3: note: Uninitialized variable: wcs swarp-2.41.5/src/fitswcs.c:70:3: error: Uninitialized struct member: wcs.naxis [uninitStructMember] swarp-2.41.5/src/wcs/sph.c:145:24: style: Parameter 'eul' can be declared as const array [constParameter] swarp-2.41.5/src/wcs/sph.c:202:26: style: Parameter 'eul' can be declared as const array [constParameter] swarp-2.41.5/src/fitswcs.c:831:21: style: Unused variable: rawsize [unusedVariable] swarp-2.41.5/src/wcs/poly.c:209:7: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] swarp-2.41.5/src/wcs/poly.c:207:13: note: outer condition: poly->orthomat swarp-2.41.5/src/wcs/poly.c:209:7: note: identical inner condition: poly->orthomat swarp-2.41.5/src/wcs/poly.c:71:19: style: Parameter 'msg1' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/wcs/poly.c:71:31: style: Parameter 'msg2' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/wcs/poly.c:90:28: style: Parameter 'group' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/wcs/poly.c:90:50: style: Parameter 'degree' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/wcs/poly.c:190:35: style: Parameter 'poly' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/wcs/poly.c:236:18: style: Variable 'post' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:236:41: style: Variable 'coeff' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:239:33: style: Variable 'degreet' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:314:17: style: Variable 'post' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:314:32: style: Variable 'coeff' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:317:33: style: Variable 'degreet' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:399:51: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/wcs/poly.c:404:49: style: Variable 'basis2' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:405:15: style: Variable 'xt' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:505:45: style: Parameter 'cste' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/wcs/poly.c:510:27: style: Variable 'powerst' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:675:33: style: Variable 'degreet' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:739:12: style: Variable 'basis' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:739:20: style: Variable 'coeff' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:739:28: style: Variable 'invec' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:839:12: style: Variable 'omat' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:839:18: style: Variable 'basis' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:877:12: style: Variable 'omat' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:877:25: style: Variable 'obasis' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/poly.c:257:9: error: Uninitialized variable: gexpo [uninitvar] swarp-2.41.5/src/wcs/poly.c:690:9: error: Uninitialized variable: gexpo [uninitvar] swarp-2.41.5/src/wcs/poly.c:143:47: style: Variable 'd' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/wcs/poly.c:745:8: style: Variable 'ndim' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/wcs/poly.c:747:9: style: Variable 'basis' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/wcs/poly.c:748:9: style: Variable 'coeff' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/wcs/poly.c:757:5: style: Variable 'n' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/wcs/poly.c:758:5: style: Variable 'm' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/wcs/poly.c:759:9: style: Variable 'invec' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/wcs/wcstrig.c:213:20: style: Expression is always true because 'else if' condition is opposite to previous condition at line 211. [multiCondition] swarp-2.41.5/src/wcs/wcstrig.c:211:13: note: first condition swarp-2.41.5/src/wcs/wcstrig.c:213:20: note: else if condition is opposite to first condition swarp-2.41.5/src/wcs/tnx.c:77:7: error: Memory leak: tnxaxis [memleak] swarp-2.41.5/src/wcs/tnx.c:83:7: error: Memory leak: tnxaxis [memleak] swarp-2.41.5/src/wcs/tnx.c:55:35: style: Parameter 'tnxstr' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/wcs/tnx.c:203:29: style: Variable 'coeff' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/weight.c:119:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NORM [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/prefs.c:155:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] swarp-2.41.5/src/prefs.c:163:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] swarp-2.41.5/src/prefs.c:261:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] swarp-2.41.5/src/prefs.c:270:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] swarp-2.41.5/src/prefs.c:279:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] swarp-2.41.5/src/prefs.c:289:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] swarp-2.41.5/src/prefs.c:298:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] swarp-2.41.5/src/prefs.c:308:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] swarp-2.41.5/src/prefs.c:317:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] swarp-2.41.5/src/prefs.c:327:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] swarp-2.41.5/src/prefs.c:336:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] swarp-2.41.5/src/prefs.c:351:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] swarp-2.41.5/src/prefs.c:454:25: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] swarp-2.41.5/src/prefs.c:349:15: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/prefs.c:452:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/prefs.c:462:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/prefs.c:600:9: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/prefs.c:621:11: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/prefs.c:642:8: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/prefs.c:731:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/prefs.c:462:9: error: Common realloc mistake: 'listbuf' nulled but not freed upon failure [memleakOnRealloc] swarp-2.41.5/src/prefs.c:207:18: warning: Either the condition '!value' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] swarp-2.41.5/src/prefs.c:205:17: note: Assuming that condition '!value' is not redundant swarp-2.41.5/src/prefs.c:207:18: note: Null pointer dereference swarp-2.41.5/src/prefs.c:219:18: warning: Either the condition '!value' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] swarp-2.41.5/src/prefs.c:217:17: note: Assuming that condition '!value' is not redundant swarp-2.41.5/src/prefs.c:219:18: note: Null pointer dereference swarp-2.41.5/src/prefs.c:231:18: warning: Either the condition '!value' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] swarp-2.41.5/src/prefs.c:229:17: note: Assuming that condition '!value' is not redundant swarp-2.41.5/src/prefs.c:231:18: note: Null pointer dereference swarp-2.41.5/src/prefs.c:239:18: warning: Either the condition '!value' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] swarp-2.41.5/src/prefs.c:237:17: note: Assuming that condition '!value' is not redundant swarp-2.41.5/src/prefs.c:239:18: note: Null pointer dereference swarp-2.41.5/src/prefs.c:250:18: warning: Either the condition '!value' is redundant or there is possible null pointer dereference: value. [nullPointerRedundantCheck] swarp-2.41.5/src/prefs.c:248:17: note: Assuming that condition '!value' is not redundant swarp-2.41.5/src/prefs.c:250:18: note: Null pointer dereference swarp-2.41.5/src/prefs.c:458:18: warning: Either the condition 'str' is redundant or there is possible null pointer dereference: str. [nullPointerRedundantCheck] swarp-2.41.5/src/prefs.c:454:32: note: Assuming that condition 'str' is not redundant swarp-2.41.5/src/prefs.c:458:18: note: Null pointer dereference swarp-2.41.5/src/prefs.c:466:30: warning: Either the condition 'str' is redundant or there is possible null pointer dereference: str. [nullPointerRedundantCheck] swarp-2.41.5/src/prefs.c:454:32: note: Assuming that condition 'str' is not redundant swarp-2.41.5/src/prefs.c:466:30: note: Null pointer dereference swarp-2.41.5/src/prefs.c:709:24: style: Variable 'prefs.nweight_thresh' is reassigned a value before the old one has been used. [redundantAssignment] swarp-2.41.5/src/prefs.c:704:26: note: prefs.nweight_thresh is assigned swarp-2.41.5/src/prefs.c:709:24: note: prefs.nweight_thresh is overwritten swarp-2.41.5/src/prefs.c:394:30: style:inconclusive: Function 'findkeys' argument 2 names different: declaration 'key' definition 'keyw'. [funcArgNamesDifferent] swarp-2.41.5/src/key.h:54:30: note: Function 'findkeys' argument 2 names different: declaration 'key' definition 'keyw'. swarp-2.41.5/src/prefs.c:394:30: note: Function 'findkeys' argument 2 names different: declaration 'key' definition 'keyw'. swarp-2.41.5/src/prefs.c:95:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/prefs.c:411:20: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/prefs.c:411:30: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/prefs.c:482:25: style: Variable 'ashort' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/prefs.c:482:19: style: Variable 'ashort' is assigned a value that is never used. [unreadVariable] swarp-2.41.5/src/xml.c:161:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/xml.c:804:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] swarp-2.41.5/src/weight.c:107:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/weight.c:142:7: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/weight.c:267:20: style: Variable 'weight_backdata' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/xml.c:266:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] swarp-2.41.5/src/xml.c:67:3: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] swarp-2.41.5/src/xml.c:317:2: error: Null pointer dereference: psuser [nullPointer] swarp-2.41.5/src/xml.c:275:19: note: Assignment 'psuser=pspath=pshost=NULL', assigned value is 0 swarp-2.41.5/src/xml.c:317:2: note: Null pointer dereference swarp-2.41.5/src/xml.c:317:2: error: Null pointer dereference [nullPointer] swarp-2.41.5/src/xml.c:459:6: style: Pointer expression 'ident' converted to bool is always true. [knownPointerToBool] swarp-2.41.5/src/xml.c:192:15: style: Variable 'rfilename' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/xml.c:254:38: style: Parameter 'error' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/xml.c:257:16: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/xml.c:259:5: style: Variable 'pspath' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/xml.c:259:13: style: Variable 'psuser' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/xml.c:259:22: style: Variable 'pshost' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/xml.c:796:27: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] swarp-2.41.5/src/wcs/cel.c:313:12: style: Parameter 'pcode' can be declared as const array [constParameter] swarp-2.41.5/src/wcs/wcs.c:562:14: style: Parameter 'crval' can be declared as const array [constParameter] swarp-2.41.5/src/wcs/wcs.c:655:14: style: Parameter 'crval' can be declared as const array [constParameter] swarp-2.41.5/src/wcs/wcs.c:750:14: style: Parameter 'vspan' can be declared as const array [constParameter] swarp-2.41.5/src/wcs/proj.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] swarp-2.41.5/src/wcs/proj.c:418:16: style: Condition 'tanset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:418:16: note: Calling function 'tanset' returns 0 swarp-2.41.5/src/wcs/proj.c:418:16: note: Condition 'tanset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:429:16: style: Condition 'prj->inv_x' is always true [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:457:17: style: Condition 'tanset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:457:17: note: Calling function 'tanset' returns 0 swarp-2.41.5/src/wcs/proj.c:457:17: note: Condition 'tanset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:527:17: style: Condition 'sinset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:527:17: note: Calling function 'sinset' returns 0 swarp-2.41.5/src/wcs/proj.c:527:17: note: Condition 'sinset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:579:17: style: Condition 'sinset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:579:17: note: Calling function 'sinset' returns 0 swarp-2.41.5/src/wcs/proj.c:579:17: note: Condition 'sinset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:694:17: style: Condition 'stgset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:694:17: note: Calling function 'stgset' returns 0 swarp-2.41.5/src/wcs/proj.c:694:17: note: Condition 'stgset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:721:17: style: Condition 'stgset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:721:17: note: Calling function 'stgset' returns 0 swarp-2.41.5/src/wcs/proj.c:721:17: note: Condition 'stgset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:775:17: style: Condition 'arcset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:775:17: note: Calling function 'arcset' returns 0 swarp-2.41.5/src/wcs/proj.c:775:17: note: Condition 'arcset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:797:17: style: Condition 'arcset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:797:17: note: Calling function 'arcset' returns 0 swarp-2.41.5/src/wcs/proj.c:797:17: note: Condition 'arcset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:1091:17: style: Condition 'zeaset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:1091:17: note: Calling function 'zeaset' returns 0 swarp-2.41.5/src/wcs/proj.c:1091:17: note: Condition 'zeaset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:1114:17: style: Condition 'zeaset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:1114:17: note: Calling function 'zeaset' returns 0 swarp-2.41.5/src/wcs/proj.c:1114:17: note: Condition 'zeaset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:1447:17: style: Condition 'carset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:1447:17: note: Calling function 'carset' returns 0 swarp-2.41.5/src/wcs/proj.c:1447:17: note: Condition 'carset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:1466:17: style: Condition 'carset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:1466:17: note: Calling function 'carset' returns 0 swarp-2.41.5/src/wcs/proj.c:1466:17: note: Condition 'carset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:1517:17: style: Condition 'merset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:1517:17: note: Calling function 'merset' returns 0 swarp-2.41.5/src/wcs/proj.c:1517:17: note: Condition 'merset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:1540:17: style: Condition 'merset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:1540:17: note: Calling function 'merset' returns 0 swarp-2.41.5/src/wcs/proj.c:1540:17: note: Condition 'merset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:1605:17: style: Condition 'ceaset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:1605:17: note: Calling function 'ceaset' returns 0 swarp-2.41.5/src/wcs/proj.c:1605:17: note: Condition 'ceaset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:1627:17: style: Condition 'ceaset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:1627:17: note: Calling function 'ceaset' returns 0 swarp-2.41.5/src/wcs/proj.c:1627:17: note: Condition 'ceaset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:2168:17: style: Condition 'bonset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:2168:17: note: Calling function 'bonset' returns 0 swarp-2.41.5/src/wcs/proj.c:2168:17: note: Condition 'bonset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:2197:17: style: Condition 'bonset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:2197:17: note: Calling function 'bonset' returns 0 swarp-2.41.5/src/wcs/proj.c:2197:17: note: Condition 'bonset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:2264:17: style: Condition 'pcoset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:2264:17: note: Calling function 'pcoset' returns 0 swarp-2.41.5/src/wcs/proj.c:2264:17: note: Condition 'pcoset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:2297:17: style: Condition 'pcoset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:2297:17: note: Calling function 'pcoset' returns 0 swarp-2.41.5/src/wcs/proj.c:2297:17: note: Condition 'pcoset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:2405:17: style: Condition 'glsset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:2405:17: note: Calling function 'glsset' returns 0 swarp-2.41.5/src/wcs/proj.c:2405:17: note: Condition 'glsset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:2426:17: style: Condition 'glsset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:2426:17: note: Calling function 'glsset' returns 0 swarp-2.41.5/src/wcs/proj.c:2426:17: note: Condition 'glsset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:2486:17: style: Condition 'parset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:2486:17: note: Calling function 'parset' returns 0 swarp-2.41.5/src/wcs/proj.c:2486:17: note: Condition 'parset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:2508:17: style: Condition 'parset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:2508:17: note: Calling function 'parset' returns 0 swarp-2.41.5/src/wcs/proj.c:2508:17: note: Condition 'parset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:2572:17: style: Condition 'aitset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:2572:17: note: Calling function 'aitset' returns 0 swarp-2.41.5/src/wcs/proj.c:2572:17: note: Condition 'aitset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:2596:17: style: Condition 'aitset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:2596:17: note: Calling function 'aitset' returns 0 swarp-2.41.5/src/wcs/proj.c:2596:17: note: Condition 'aitset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:2672:17: style: Condition 'molset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:2672:17: note: Calling function 'molset' returns 0 swarp-2.41.5/src/wcs/proj.c:2672:17: note: Condition 'molset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:2719:17: style: Condition 'molset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:2719:17: note: Calling function 'molset' returns 0 swarp-2.41.5/src/wcs/proj.c:2719:17: note: Condition 'molset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:2817:17: style: Condition 'cscset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:2817:17: note: Calling function 'cscset' returns 0 swarp-2.41.5/src/wcs/proj.c:2817:17: note: Condition 'cscset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:2963:17: style: Condition 'cscset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:2963:17: note: Calling function 'cscset' returns 0 swarp-2.41.5/src/wcs/proj.c:2963:17: note: Condition 'cscset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:3103:17: style: Condition 'qscset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:3103:17: note: Calling function 'qscset' returns 0 swarp-2.41.5/src/wcs/proj.c:3103:17: note: Condition 'qscset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:3276:17: style: Condition 'qscset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:3276:17: note: Calling function 'qscset' returns 0 swarp-2.41.5/src/wcs/proj.c:3276:17: note: Condition 'qscset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:3474:17: style: Condition 'tscset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:3474:17: note: Calling function 'tscset' returns 0 swarp-2.41.5/src/wcs/proj.c:3474:17: note: Condition 'tscset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:3568:17: style: Condition 'tscset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:3568:17: note: Calling function 'tscset' returns 0 swarp-2.41.5/src/wcs/proj.c:3568:17: note: Condition 'tscset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:3669:16: style: Condition 'tnxset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:3669:16: note: Calling function 'tnxset' returns 0 swarp-2.41.5/src/wcs/proj.c:3669:16: note: Condition 'tnxset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:3700:17: style: Condition 'tanset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:3700:17: note: Calling function 'tanset' returns 0 swarp-2.41.5/src/wcs/proj.c:3700:17: note: Condition 'tanset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:3725:17: style: Condition 'tanset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:3725:17: note: Calling function 'tanset' returns 0 swarp-2.41.5/src/wcs/proj.c:3725:17: note: Condition 'tanset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:3867:17: style: Condition 'tanset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:3867:17: note: Calling function 'tanset' returns 0 swarp-2.41.5/src/wcs/proj.c:3867:17: note: Condition 'tanset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:3892:17: style: Condition 'tanset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:3892:17: note: Calling function 'tanset' returns 0 swarp-2.41.5/src/wcs/proj.c:3892:17: note: Condition 'tanset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:4034:17: style: Condition 'tanset(prj)' is always false [knownConditionTrueFalse] swarp-2.41.5/src/wcs/proj.c:4034:17: note: Calling function 'tanset' returns 0 swarp-2.41.5/src/wcs/proj.c:4034:17: note: Condition 'tanset(prj)' is always false swarp-2.41.5/src/wcs/proj.c:3020:4: style: Variable 'z6' is assigned an expression that holds the same value. [redundantAssignment] swarp-2.41.5/src/wcs/proj.c:3009:7: note: z6 is assigned 'p06' here. swarp-2.41.5/src/wcs/proj.c:3020:4: note: Variable 'z6' is assigned an expression that holds the same value. swarp-2.41.5/src/wcs/proj.c:3721:12: style: Variable 'a' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/proj.c:3721:15: style: Variable 'b' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/proj.c:3888:12: style: Variable 'a' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/proj.c:3888:15: style: Variable 'b' can be declared as pointer to const [constVariablePointer] swarp-2.41.5/src/wcs/proj.c:3743:20: style: double result is assigned to long double variable. If the variable is long double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] swarp-2.41.5/src/wcs/proj.c:3744:20: style: double result is assigned to long double variable. If the variable is long double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] swarp-2.41.5/src/wcs/proj.c:3746:20: style: double result is assigned to long double variable. If the variable is long double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] swarp-2.41.5/src/wcs/proj.c:3913:20: style: double result is assigned to long double variable. If the variable is long double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] swarp-2.41.5/src/wcs/proj.c:3348:11: style: Variable 'rhu' is assigned a value that is never used. [unreadVariable] diff: head swarp-2.41.5/src/prefs.c:482:19: style: Variable 'ashort' is assigned a value that is never used. [unreadVariable] 2.17.0 swarp-2.41.5/src/wcs/tnx.c:144:7: error: Memory leak: tnxaxis [memleak] DONE