2024-04-23 03:53 ftp://ftp.de.debian.org/debian/pool/main/w/wcstools/wcstools_3.9.7.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 -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.14.0 head-info: bd7136d (2024-04-22 21:34:48 +0200) count: 2244 2244 elapsed-time: 575.6 578.4 head-timing-info: old-timing-info: head results: wcstools-3.9.7/addpix.c:101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/addpix.c:151:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/addpix.c:46:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/addpix.c:117:6: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/addpix.c:117:10: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/addpix.c:136:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/addpix.c:142:16: style: Variable 'newline[0]' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/addpix.c:239:12: style: Variable 'lroot' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/addpix.c:256:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/addpix.c:258:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/bincat.c:171:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/bincat.c:386:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/bincat.c:444:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/bincat.c:93:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/bincat.c:383:7: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/bincat.c:385:11: style: Variable 'catname' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/bincat.c:550:11: style: Variable 'parname' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/bincat.c:362:22: error: Uninitialized variable: listfile [uninitvar] wcstools-3.9.7/catrot.c:59:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] wcstools-3.9.7/catrot.c:159:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/catrot.c:207:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/catrot.c:274:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable line [valueFlowBailoutIncompleteVar] wcstools-3.9.7/catrot.c:152:17: error: Common realloc mistake: 'fn' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/catrot.c:70:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/catrot.c:223:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/catrot.c:99:10: style: Variable 'str' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/catrot.c:188:7: style: Variable 'lfn' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/catrot.c:71:11: style: Unused variable: fni [unusedVariable] wcstools-3.9.7/catrot.c:72:14: style: Unused variable: i [unusedVariable] wcstools-3.9.7/catrot.c:249:8: style: Variable 'lroot' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/catrot.c:225:10: style: Unused variable: extname [unusedVariable] wcstools-3.9.7/catrot.c:227:9: style: Unused variable: bitpix0 [unusedVariable] wcstools-3.9.7/catrot.c:228:10: style: Unused variable: echar [unusedVariable] wcstools-3.9.7/catrot.c:230:10: style: Unused variable: history [unusedVariable] wcstools-3.9.7/catrot.c:231:10: style: Unused variable: pixname [unusedVariable] wcstools-3.9.7/catrot.c:232:12: style: Unused variable: ctemp [unusedVariable] wcstools-3.9.7/char2sp.c:108:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/char2sp.c:133:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/char2sp.c:107:19: style: Expression is always false because 'else if' condition matches previous condition at line 105. [multiCondition] wcstools-3.9.7/char2sp.c:98:3: error: Common realloc mistake: 'kwd' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/char2sp.c:49:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/conpix.c:184:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/conpix.c:220:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/conpix.c:276:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/conpix.c:576:10: style: Condition 'verbose' is always true [knownConditionTrueFalse] wcstools-3.9.7/conpix.c:67:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/conpix.c:245:6: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/conpix.c:246:9: style: Parameter 'opcon' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/conpix.c:261:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/conpix.c:263:28: style: Variable 'endvec' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/conpix.c:531:12: style: Variable 'lroot' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/conpix.c:548:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/conpix.c:550:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/cphead.c:236:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/cphead.c:331:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/cphead.c:403:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/cphead.c:267:7: style: Condition 'listpath' is always false [knownConditionTrueFalse] wcstools-3.9.7/cphead.c:61:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/cphead.c:371:16: style: Variable 'kwe' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/cphead.c:371:41: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/cphead.c:374:11: style: Variable 'ltime' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/cphead.c:540:12: style: Variable 'lroot' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/cphead.c:557:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/cphead.c:559:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/cphead.c:650:11: style: Variable 'ipos' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/crlf.c:77:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/crlf.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/crlf.c:40:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/crlf.c:86:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/delhead.c:161:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/delhead.c:245:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/delhead.c:297:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/delhead.c:607:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/delhead.c:503:27: style: Condition 'readimage' is always true [knownConditionTrueFalse] wcstools-3.9.7/delhead.c:505:12: style: Condition 'naxis>0' is always true [knownConditionTrueFalse] wcstools-3.9.7/delhead.c:503:20: note: Assuming that condition 'naxis>0' is not redundant wcstools-3.9.7/delhead.c:505:12: note: Condition 'naxis>0' is always true wcstools-3.9.7/delhead.c:63:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/delhead.c:280:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/delhead.c:281:16: style: Variable 'kwl' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/delhead.c:562:31: style: Variable 'v2' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/delhead.c:397:26: error: Uninitialized variable: naxis [uninitvar] wcstools-3.9.7/delhead.c:397:40: error: Uninitialized variable: bitpix [uninitvar] wcstools-3.9.7/delhead.c:286:19: style: Variable 'imageread' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/delhead.c:436:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/delhead.c:438:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/delhead.c:467:12: style: Variable 'imext' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/delhead.c:509:13: style: Variable 'imageread' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/delhead.c:512:13: style: Variable 'imageread' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/delhead.c:523:11: style: Variable 'ipos' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/delhead.c:576:9: style: Variable 'nline' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/delwcs.c:98:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/delwcs.c:142:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/delwcs.c:49:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/delwcs.c:125:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/delwcs.c:198:12: style: Variable 'lroot' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/delwcs.c:215:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/delwcs.c:217:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/edhead.c:107:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/edhead.c:160:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/edhead.c:285:10: style: Local variable 'i' shadows outer variable [shadowVariable] wcstools-3.9.7/edhead.c:132:9: note: Shadowed declaration wcstools-3.9.7/edhead.c:285:10: note: Shadow variable wcstools-3.9.7/edhead.c:51:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/edhead.c:139:18: style: Variable 'headend' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/edhead.c:145:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/edhead.c:339:12: style: Variable 'lroot' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/edhead.c:356:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/edhead.c:358:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/edhead.c:377:12: style: Variable 'imext' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/edhead.c:418:11: style: Variable 'ipos' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/filedir.c:80:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] wcstools-3.9.7/filedir.c:123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/filedir.c:43:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/filedir.c:45:9: style: Unused variable: i [unusedVariable] wcstools-3.9.7/filedir.c:45:12: style: Unused variable: lroot [unusedVariable] wcstools-3.9.7/filename.c:179:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/filename.c:44:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/fileroot.c:141:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/fileroot.c:42:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/filext.c:92:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/filext.c:38:11: style: Variable 'fn' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/filext.c:39:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/fixhead.c:236:11: style: Redundant assignment of 'filepath' to itself. [selfAssignment] wcstools-3.9.7/fixhead.c:59:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/fixhead.c:285:32: error: Uninitialized variable: nbheadout [uninitvar] wcstools-3.9.7/fixhead.c:64:11: style: Unused variable: name [unusedVariable] wcstools-3.9.7/fixhead.c:66:11: style: Unused variable: fdk [unusedVariable] wcstools-3.9.7/fixhead.c:207:12: style: Unused variable: dval [unusedVariable] wcstools-3.9.7/fixhead.c:208:9: style: Unused variable: ival [unusedVariable] wcstools-3.9.7/fixhead.c:208:20: style: Unused variable: inum [unusedVariable] wcstools-3.9.7/fixhead.c:210:9: style: Unused variable: ndec [unusedVariable] wcstools-3.9.7/fixhead.c:210:36: style: Unused variable: nbheader [unusedVariable] wcstools-3.9.7/fixhead.c:212:10: style: Unused variable: string [unusedVariable] wcstools-3.9.7/fixhead.c:215:9: style: Unused variable: lhist [unusedVariable] wcstools-3.9.7/fixhead.c:216:11: style: Unused variable: ltime [unusedVariable] wcstools-3.9.7/fixhead.c:217:16: style: Unused variable: ipos [unusedVariable] wcstools-3.9.7/fixhead.c:217:30: style: Unused variable: nbr [unusedVariable] wcstools-3.9.7/fixhead.c:217:35: style: Unused variable: nbw [unusedVariable] wcstools-3.9.7/fixhead.c:221:10: style: Unused variable: history [unusedVariable] wcstools-3.9.7/fixhead.c:222:10: style: Unused variable: echar [unusedVariable] wcstools-3.9.7/fixpix.c:150:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/fixpix.c:177:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/fixpix.c:230:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/fixpix.c:433:15: style: Condition 'xdiff<1' is always false [knownConditionTrueFalse] wcstools-3.9.7/fixpix.c:419:13: note: Assuming that condition 'ixl>ixr' is not redundant wcstools-3.9.7/fixpix.c:420:5: note: it is assigned 'ixr' here. wcstools-3.9.7/fixpix.c:421:6: note: ixr is assigned 'ixl' here. wcstools-3.9.7/fixpix.c:422:8: note: Assignment 'ixl=it', assigned value is symbolic=ixr-1 wcstools-3.9.7/fixpix.c:424:23: note: Assignment 'xdiff=ixr-ixl+1', assigned value is greater than 1 wcstools-3.9.7/fixpix.c:433:15: note: Condition 'xdiff<1' is always false wcstools-3.9.7/fixpix.c:433:28: style: Condition 'ydiff<1' is always false [knownConditionTrueFalse] wcstools-3.9.7/fixpix.c:425:13: note: Assuming that condition 'iyl>iyr' is not redundant wcstools-3.9.7/fixpix.c:426:5: note: it is assigned 'iyr' here. wcstools-3.9.7/fixpix.c:427:6: note: iyr is assigned 'iyl' here. wcstools-3.9.7/fixpix.c:428:8: note: Assignment 'iyl=it', assigned value is symbolic=iyr-1 wcstools-3.9.7/fixpix.c:430:23: note: Assignment 'ydiff=iyr-iyl+1', assigned value is greater than 1 wcstools-3.9.7/fixpix.c:433:28: note: Condition 'ydiff<1' is always false wcstools-3.9.7/fixpix.c:65:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/fixpix.c:215:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/fixpix.c:221:16: style: Variable 'newline[0]' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/fixpix.c:345:12: style: Variable 'lroot' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/fixpix.c:362:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/fixpix.c:364:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/gdtemp.c:4:6: error: syntax error: keyword 'if' is not allowed in global scope [syntaxError] wcstools-3.9.7/getcol.c:476:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getcol.c:491:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getcol.c:616:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getcol.c:1242:18: style: Redundant condition: isbadval. '!isbadval || (isbadval && dval!=badval)' is equivalent to '!isbadval || dval!=badval' [redundantCondition] wcstools-3.9.7/getcol.c:1373:22: style: Redundant condition: isbadval. '!isbadval || (isbadval && dval!=badval)' is equivalent to '!isbadval || dval!=badval' [redundantCondition] wcstools-3.9.7/getcol.c:253:3: error: Common realloc mistake: 'fn' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/getcol.c:271:3: error: Common realloc mistake: 'cond' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/getcol.c:272:3: error: Common realloc mistake: 'ccond' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/getcol.c:674:9: error: Common realloc mistake: 'iline' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/getcol.c:1745:20: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/getcol.c:1530:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] wcstools-3.9.7/getcol.c:1532:3: note: Found duplicate branches for 'if' and 'else'. wcstools-3.9.7/getcol.c:1530:3: note: Found duplicate branches for 'if' and 'else'. wcstools-3.9.7/getcol.c:541:11: style: Local variable 'lastchar' shadows outer variable [shadowVariable] wcstools-3.9.7/getcol.c:89:13: note: Shadowed declaration wcstools-3.9.7/getcol.c:541:11: note: Shadow variable wcstools-3.9.7/getcol.c:99:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getcol.c:532:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/getcol.c:535:7: style: Parameter 'lfile' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/getcol.c:585:11: style: Variable 'iform' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getcol.c:1754:6: style: Parameter 'i' can be declared as pointer to const. However it seems that 'intcompare' is a callback function, if 'i' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wcstools-3.9.7/getcol.c:692:36: note: You might need to cast the function pointer here wcstools-3.9.7/getcol.c:1754:6: note: Parameter 'i' can be declared as pointer to const wcstools-3.9.7/getcol.c:1754:10: style: Parameter 'j' can be declared as pointer to const. However it seems that 'intcompare' is a callback function, if 'j' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wcstools-3.9.7/getcol.c:692:36: note: You might need to cast the function pointer here wcstools-3.9.7/getcol.c:1754:10: note: Parameter 'j' can be declared as pointer to const wcstools-3.9.7/getcol.c:1767:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/getcol.c:1819:9: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/getcol.c:1845:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/getcol.c:130:5: warning: Size of pointer 'lc' used instead of size of its data. [pointerSize] wcstools-3.9.7/getdate.c:347:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getdate.c:437:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getdate.c:98:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getdate.c:486:42: style: Variable 'mfdate' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getdate.c:1126:18: style: Variable 'fyear[10]' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/getdate.c:1784:26: style: Variable 'ts' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/getdate.c:2342:8: style: Variable 'its' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/getfits.c:199:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getfits.c:344:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getfits.c:417:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getfits.c:443:20: style: Condition 'first' is always true [knownConditionTrueFalse] wcstools-3.9.7/getfits.c:290:17: error: Common realloc mistake: 'fn' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/getfits.c:742:22: warning: Either the condition 'ext' is redundant or there is possible null pointer dereference: ext. [nullPointerRedundantCheck] wcstools-3.9.7/getfits.c:734:9: note: Assuming that condition 'ext' is not redundant wcstools-3.9.7/getfits.c:742:22: note: Null pointer dereference wcstools-3.9.7/getfits.c:191:13: style: The comparison 'nkwd > 0' is always false. [knownConditionTrueFalse] wcstools-3.9.7/getfits.c:78:16: note: 'nkwd' is assigned value '0' here. wcstools-3.9.7/getfits.c:191:13: note: The comparison 'nkwd > 0' is always false. wcstools-3.9.7/getfits.c:68:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getfits.c:342:7: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/getfits.c:384:11: style: Variable 'fitsfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getfits.c:399:11: style: Variable 'ltime' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getfits.c:401:16: style: Variable 'kwl' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getfits.c:727:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/getfits.c:730:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getfits.c:569:9: style: Variable 'nbleft' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/getftab.c:65:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] wcstools-3.9.7/getftab.c:334:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getftab.c:534:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getftab.c:600:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getftab.c:253:3: error: Common realloc mistake: 'cond' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/getftab.c:254:3: error: Common realloc mistake: 'ccond' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/getftab.c:255:3: error: Common realloc mistake: 'tcond' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/getftab.c:82:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getftab.c:85:11: style: Variable 'kw1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getftab.c:559:7: style: Parameter 'alias' can be declared as const array [constParameter] wcstools-3.9.7/getftab.c:573:18: style: Variable 'last' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getftab.c:87:10: style: Unused variable: string [unusedVariable] wcstools-3.9.7/getftab.c:89:11: style: Unused variable: vali [unusedVariable] wcstools-3.9.7/getftab.c:89:27: style: Unused variable: valeq [unusedVariable] wcstools-3.9.7/getftab.c:89:35: style: Unused variable: valgt [unusedVariable] wcstools-3.9.7/getftab.c:89:43: style: Unused variable: vallt [unusedVariable] wcstools-3.9.7/getftab.c:740:11: style: Variable 'ntok' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/getftab.c:564:10: style: Unused variable: numstr [unusedVariable] wcstools-3.9.7/getftab.c:567:29: style: Unused variable: i [unusedVariable] wcstools-3.9.7/getftab.c:567:32: style: Unused variable: lstr [unusedVariable] wcstools-3.9.7/getftab.c:577:16: style: Unused variable: keep [unusedVariable] wcstools-3.9.7/getftab.c:578:12: style: Unused variable: xnum [unusedVariable] wcstools-3.9.7/gethead.c:282:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/gethead.c:746:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/gethead.c:845:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/gethead.c:1143:4: warning: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum] wcstools-3.9.7/gethead.c:1145:4: warning: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum] wcstools-3.9.7/gethead.c:1300:3: warning: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum] wcstools-3.9.7/gethead.c:1302:3: warning: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum] wcstools-3.9.7/gethead.c:645:15: warning: Either the condition 'namext!=NULL' is redundant or there is possible null pointer dereference: namext. [nullPointerRedundantCheck] wcstools-3.9.7/gethead.c:647:15: note: Assuming that condition 'namext!=NULL' is not redundant wcstools-3.9.7/gethead.c:645:15: note: Null pointer dereference wcstools-3.9.7/gethead.c:702:15: warning: Either the condition 'namext!=NULL' is redundant or there is possible null pointer dereference: namext. [nullPointerRedundantCheck] wcstools-3.9.7/gethead.c:705:15: note: Assuming that condition 'namext!=NULL' is not redundant wcstools-3.9.7/gethead.c:702:15: note: Null pointer dereference wcstools-3.9.7/gethead.c:817:19: warning: Either the condition 'namext!=NULL' is redundant or there is possible null pointer dereference: name. [nullPointerRedundantCheck] wcstools-3.9.7/gethead.c:647:15: note: Assuming that condition 'namext!=NULL' is not redundant wcstools-3.9.7/gethead.c:646:24: note: Calling function 'PrintValues', 1st argument 'namext' value is 0 wcstools-3.9.7/gethead.c:817:19: note: Null pointer dereference wcstools-3.9.7/gethead.c:95:19: style: Local variable 'newccond' shadows outer variable [shadowVariable] wcstools-3.9.7/gethead.c:77:24: note: Shadowed declaration wcstools-3.9.7/gethead.c:95:19: note: Shadow variable wcstools-3.9.7/gethead.c:89:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/gethead.c:107:16: style: Variable 'kwe' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/gethead.c:112:11: style: Variable 'extroot0' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/gethead.c:113:11: style: Variable 'lastroot' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/gethead.c:780:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/gethead.c:801:16: style: Variable 'kwe' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/gethead.c:95:10: style: Unused variable: wcond [unusedVariable] wcstools-3.9.7/getpix.c:292:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getpix.c:593:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getpix.c:661:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getpix.c:210:7: warning:inconclusive: The buffer 'pformat' may not be null-terminated after the call to strncpy(). [terminateStrncpy] wcstools-3.9.7/getpix.c:454:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] wcstools-3.9.7/getpix.c:456:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] wcstools-3.9.7/getpix.c:667:3: error: Memory pointed to by 'irafheader' is freed twice. [doubleFree] wcstools-3.9.7/getpix.c:659:6: note: Memory pointed to by 'irafheader' is freed twice. wcstools-3.9.7/getpix.c:667:3: note: Memory pointed to by 'irafheader' is freed twice. wcstools-3.9.7/getpix.c:483:3: error: Common realloc mistake: 'fn' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/getpix.c:510:12: warning: Either the condition 'namext!=NULL' is redundant or there is possible null pointer dereference: namext. [nullPointerRedundantCheck] wcstools-3.9.7/getpix.c:512:19: note: Assuming that condition 'namext!=NULL' is not redundant wcstools-3.9.7/getpix.c:510:12: note: Null pointer dereference wcstools-3.9.7/getpix.c:559:12: warning: Either the condition 'namext!=NULL' is redundant or there is possible null pointer dereference: namext. [nullPointerRedundantCheck] wcstools-3.9.7/getpix.c:561:19: note: Assuming that condition 'namext!=NULL' is not redundant wcstools-3.9.7/getpix.c:559:12: note: Null pointer dereference wcstools-3.9.7/getpix.c:396:37: style: Same expression on both sides of '&&'. [duplicateExpression] wcstools-3.9.7/getpix.c:103:11: style: Variable 'extroot0' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getpix.c:104:11: style: Variable 'lastroot' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getpix.c:105:11: style: Variable 'line' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/getpix.c:100:11: style: Unused variable: fext [unusedVariable] wcstools-3.9.7/getpix.c:100:18: style: Unused variable: fcomma [unusedVariable] wcstools-3.9.7/getpix.c:645:11: style: Unused variable: c [unusedVariable] wcstools-3.9.7/getpixx.c:349:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getpixx.c:429:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getpixx.c:490:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/getpixx.c:359:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] wcstools-3.9.7/getpixx.c:361:4: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] wcstools-3.9.7/getpixx.c:496:3: error: Memory pointed to by 'irafheader' is freed twice. [doubleFree] wcstools-3.9.7/getpixx.c:488:6: note: Memory pointed to by 'irafheader' is freed twice. wcstools-3.9.7/getpixx.c:496:3: note: Memory pointed to by 'irafheader' is freed twice. wcstools-3.9.7/getpixx.c:388:3: error: Common realloc mistake: 'fn' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/getpixx.c:93:11: style: Variable 'line' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/gettab.c:333:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/gettab.c:533:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/gettab.c:598:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/gettab.c:252:3: error: Common realloc mistake: 'cond' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/gettab.c:253:3: error: Common realloc mistake: 'ccond' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/gettab.c:254:3: error: Common realloc mistake: 'tcond' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/gettab.c:82:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/gettab.c:85:11: style: Variable 'kw1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/gettab.c:558:7: style: Parameter 'alias' can be declared as const array [constParameter] wcstools-3.9.7/gettab.c:571:18: style: Variable 'last' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/gettab.c:739:11: style: Variable 'ntok' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/gsc2cat.c:42:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] wcstools-3.9.7/gsc2cat.c:80:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/gsc2cat.c:155:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/gsc2cat.c:197:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/gsc2cat.c:306:2: warning: %d in format string (no. 12) requires 'int' but the argument type is 'double'. [invalidPrintfArgType_sint] wcstools-3.9.7/gsc2cat.c:306:2: warning: fprintf format string requires 12 parameters but 14 are given. [wrongPrintfScanfArgNum] wcstools-3.9.7/gsc2cat.c:253:18: warning: The file '"resort"' is opened for read and write access at the same time on different streams [incompatibleFileOpen] wcstools-3.9.7/gsc2cat.c:53:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/gsc2cat.c:171:7: style: Parameter 'infile' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/gsc2cat.c:46:17: style: Unused variable: str1 [unusedVariable] wcstools-3.9.7/gsc2cat.c:47:9: style: Unused variable: i [unusedVariable] wcstools-3.9.7/gsc2cat.c:47:12: style: Unused variable: j [unusedVariable] wcstools-3.9.7/gsc2cat.c:49:10: style: Unused variable: dir [unusedVariable] wcstools-3.9.7/htmlsp.c:79:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/htmlsp.c:104:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/htmlsp.c:170:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/htmlsp.c:42:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/htmlsp.c:95:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/htmlsp.c:100:20: style: Unused variable: i [unusedVariable] wcstools-3.9.7/httpget.c:21:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] wcstools-3.9.7/httpget.c:45:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/httpget.c:115:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/httpget.c:293:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXHOSTNAMELEN [valueFlowBailoutIncompleteVar] wcstools-3.9.7/httpget.c:356:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] wcstools-3.9.7/httpget.c:323:28: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] wcstools-3.9.7/httpget.c:337:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] wcstools-3.9.7/httpget.c:355:16: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] wcstools-3.9.7/httpget.c:269:19: warning: Either the condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] wcstools-3.9.7/httpget.c:263:55: note: Assuming that condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is not redundant wcstools-3.9.7/httpget.c:269:19: note: Invalid argument wcstools-3.9.7/httpget.c:276:19: warning: Either the condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] wcstools-3.9.7/httpget.c:273:54: note: Assuming that condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is not redundant wcstools-3.9.7/httpget.c:276:19: note: Invalid argument wcstools-3.9.7/httpget.c:25:11: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/httpget.c:67:7: style: Parameter 'url' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/httpget.c:77:11: style: Variable 'cbcont' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/httpget.c:78:11: style: Variable 'newpage' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/httpget.c:292:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/httpget.c:321:29: style: Variable 'service' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/httpget.c:352:22: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/httpget.c:357:25: style: Variable 'a' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/httpget.c:44:15: style: Variable 'fp' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/httpget.c:26:10: style: Unused variable: red [unusedVariable] wcstools-3.9.7/httpget.c:173:10: style: Variable 'nbr' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/httpscat.c:17:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] wcstools-3.9.7/httpscat.c:24:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/httpscat.c:185:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXHOSTNAMELEN [valueFlowBailoutIncompleteVar] wcstools-3.9.7/httpscat.c:248:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] wcstools-3.9.7/httpscat.c:215:28: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] wcstools-3.9.7/httpscat.c:229:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] wcstools-3.9.7/httpscat.c:247:16: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] wcstools-3.9.7/httpscat.c:161:19: warning: Either the condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] wcstools-3.9.7/httpscat.c:155:55: note: Assuming that condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is not redundant wcstools-3.9.7/httpscat.c:161:19: note: Invalid argument wcstools-3.9.7/httpscat.c:168:19: warning: Either the condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] wcstools-3.9.7/httpscat.c:165:54: note: Assuming that condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is not redundant wcstools-3.9.7/httpscat.c:168:19: note: Invalid argument wcstools-3.9.7/httpscat.c:50:18: style: Parameter 'catalog' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/httpscat.c:53:18: style: Parameter 'system' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/httpscat.c:56:18: style: Parameter 'sort' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/httpscat.c:184:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/httpscat.c:213:29: style: Variable 'service' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/httpscat.c:244:22: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/httpscat.c:249:25: style: Variable 'a' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/i2f.c:113:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/i2f.c:140:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/i2f.c:187:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/i2f.c:229:3: error: Memory pointed to by 'irafheader' is freed twice. [doubleFree] wcstools-3.9.7/i2f.c:221:6: note: Memory pointed to by 'irafheader' is freed twice. wcstools-3.9.7/i2f.c:229:3: note: Memory pointed to by 'irafheader' is freed twice. wcstools-3.9.7/i2f.c:50:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/i2f.c:173:11: style: Variable 'hdrfile1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/i2f.c:174:11: style: Variable 'fitsfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/i2f.c:178:11: style: Variable 'ltime' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imcat.c:647:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imcat.c:721:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imcat.c:890:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imcat.c:1142:7: warning:inconclusive: The buffer 'numstr' may not be null-terminated after the call to strncpy(). [terminateStrncpy] wcstools-3.9.7/imcat.c:1816:7: warning:inconclusive: The buffer 'numstr' may not be null-terminated after the call to strncpy(). [terminateStrncpy] wcstools-3.9.7/imcat.c:591:20: style: Condition 'refcatname==NULL' is always false [knownConditionTrueFalse] wcstools-3.9.7/imcat.c:1143:17: style: Condition 'lofld>0' is always false [knownConditionTrueFalse] wcstools-3.9.7/imcat.c:1817:17: style: Condition 'lofld>0' is always false [knownConditionTrueFalse] wcstools-3.9.7/imcat.c:575:3: error: Common realloc mistake: 'fn' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/imcat.c:601:31: warning: Either the condition '(flist=fopen(listfile,"r"))==NULL' is redundant or there is possible null pointer dereference: flist. [nullPointerRedundantCheck] wcstools-3.9.7/imcat.c:597:38: note: Assuming that condition '(flist=fopen(listfile,"r"))==NULL' is not redundant wcstools-3.9.7/imcat.c:601:31: note: Null pointer dereference wcstools-3.9.7/imcat.c:803:27: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat.c:804:8: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat.c:807:22: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat.c:808:23: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat.c:809:23: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat.c:810:24: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat.c:811:23: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat.c:813:21: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat.c:814:21: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat.c:460:7: style: Variable 'cs' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/imcat.c:456:10: note: cs is assigned wcstools-3.9.7/imcat.c:460:7: note: cs is overwritten wcstools-3.9.7/imcat.c:701:5: style: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] wcstools-3.9.7/imcat.c:1284:15: style: Local variable 'ddec' shadows outer variable [shadowVariable] wcstools-3.9.7/imcat.c:854:28: note: Shadowed declaration wcstools-3.9.7/imcat.c:1284:15: note: Shadow variable wcstools-3.9.7/imcat.c:113:17: style: Variable 'str1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imcat.c:121:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imcat.c:122:11: style: Variable 'cstr' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imcat.c:641:7: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/imcat.c:644:11: style: Variable 'srcname' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imcat.c:834:7: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/imcat.c:863:11: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imcat.c:886:11: style: Variable 'catalog' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imcat.c:204:10: style: Variable 'str' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imcat.c:856:12: style: Unused variable: era [unusedVariable] wcstools-3.9.7/imcat.c:856:17: style: Unused variable: edec [unusedVariable] wcstools-3.9.7/imcat.c:856:23: style: Unused variable: epmr [unusedVariable] wcstools-3.9.7/imcat.c:856:29: style: Unused variable: epmd [unusedVariable] wcstools-3.9.7/imcat.c:1285:14: style: Unused variable: ix [unusedVariable] wcstools-3.9.7/imcat.c:1285:18: style: Unused variable: iy [unusedVariable] wcstools-3.9.7/imcat0.c:647:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imcat0.c:721:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imcat0.c:890:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imcat0.c:1142:7: warning:inconclusive: The buffer 'numstr' may not be null-terminated after the call to strncpy(). [terminateStrncpy] wcstools-3.9.7/imcat0.c:1812:7: warning:inconclusive: The buffer 'numstr' may not be null-terminated after the call to strncpy(). [terminateStrncpy] wcstools-3.9.7/imcat0.c:591:20: style: Condition 'refcatname==NULL' is always false [knownConditionTrueFalse] wcstools-3.9.7/imcat0.c:1143:17: style: Condition 'lofld>0' is always false [knownConditionTrueFalse] wcstools-3.9.7/imcat0.c:1813:17: style: Condition 'lofld>0' is always false [knownConditionTrueFalse] wcstools-3.9.7/imcat0.c:721:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/imcat0.c:728:5: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/imcat0.c:736:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/imcat0.c:742:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/imcat0.c:748:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/imcat0.c:754:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/imcat0.c:760:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/imcat0.c:766:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/imcat0.c:772:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/imcat0.c:778:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/imcat0.c:784:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/imcat0.c:1775:7: warning: sprintf format string requires 0 parameters but 2 are given. [wrongPrintfScanfArgNum] wcstools-3.9.7/imcat0.c:575:3: error: Common realloc mistake: 'fn' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/imcat0.c:601:31: warning: Either the condition '(flist=fopen(listfile,"r"))==NULL' is redundant or there is possible null pointer dereference: flist. [nullPointerRedundantCheck] wcstools-3.9.7/imcat0.c:597:38: note: Assuming that condition '(flist=fopen(listfile,"r"))==NULL' is not redundant wcstools-3.9.7/imcat0.c:601:31: note: Null pointer dereference wcstools-3.9.7/imcat0.c:803:27: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat0.c:804:8: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat0.c:807:22: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat0.c:808:23: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat0.c:809:23: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat0.c:810:24: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat0.c:811:23: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat0.c:813:21: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat0.c:814:21: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imcat0.c:460:7: style: Variable 'cs' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/imcat0.c:456:10: note: cs is assigned wcstools-3.9.7/imcat0.c:460:7: note: cs is overwritten wcstools-3.9.7/imcat0.c:701:5: style: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] wcstools-3.9.7/imcat0.c:1284:15: style: Local variable 'ddec' shadows outer variable [shadowVariable] wcstools-3.9.7/imcat0.c:854:28: note: Shadowed declaration wcstools-3.9.7/imcat0.c:1284:15: note: Shadow variable wcstools-3.9.7/imcat0.c:113:17: style: Variable 'str1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imcat0.c:121:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imcat0.c:122:11: style: Variable 'cstr' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imcat0.c:641:7: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/imcat0.c:644:11: style: Variable 'srcname' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imcat0.c:834:7: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/imcat0.c:863:11: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imcat0.c:886:11: style: Variable 'catalog' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imcat0.c:204:10: style: Variable 'str' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imcat0.c:856:12: style: Unused variable: era [unusedVariable] wcstools-3.9.7/imcat0.c:856:17: style: Unused variable: edec [unusedVariable] wcstools-3.9.7/imcat0.c:856:23: style: Unused variable: epmr [unusedVariable] wcstools-3.9.7/imcat0.c:856:29: style: Unused variable: epmd [unusedVariable] wcstools-3.9.7/imextract.c:189:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imextract.c:228:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imextract.c:290:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imextract.c:485:6: style: Condition 'krename' is always false [knownConditionTrueFalse] wcstools-3.9.7/imextract.c:496:20: warning: Either the condition 'vq0' is redundant or there is possible null pointer dereference: vq0. [nullPointerRedundantCheck] wcstools-3.9.7/imextract.c:497:10: note: Assuming that condition 'vq0' is not redundant wcstools-3.9.7/imextract.c:496:20: note: Null pointer dereference wcstools-3.9.7/imextract.c:507:20: warning: Either the condition 'vq0' is redundant or there is possible null pointer dereference: vq0. [nullPointerRedundantCheck] wcstools-3.9.7/imextract.c:508:10: note: Assuming that condition 'vq0' is not redundant wcstools-3.9.7/imextract.c:507:20: note: Null pointer dereference wcstools-3.9.7/imextract.c:62:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imextract.c:268:22: style: Variable 'kwl' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imextract.c:272:19: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imfill.c:141:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imfill.c:284:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imfill.c:374:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imfill.c:222:17: error: Common realloc mistake: 'fn' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/imfill.c:80:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imfill.c:318:11: style: Variable 'ltime' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imfill.c:320:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imfill.c:111:10: style: Variable 'str' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imfill.c:263:7: style: Variable 'lfn' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imfill.c:353:12: style: Variable 'lroot' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imhead.c:114:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imhead.c:146:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imhead.c:174:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imhead.c:56:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imhead.c:225:29: style: Variable 'endhead' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imhead.c:52:13: style: Variable 'add' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imhead.c:210:5: style: Variable 'nw' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/immatch.c:431:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/immatch.c:535:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/immatch.c:372:3: error: Common realloc mistake: 'fn' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/immatch.c:101:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/immatch.c:428:7: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/immatch.c:514:7: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/immatch.c:140:10: style: Variable 'str' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imresize.c:229:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imresize.c:284:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imresize.c:369:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imresize.c:222:17: error: Common realloc mistake: 'fn' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/imresize.c:79:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imresize.c:315:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imresize.c:330:23: style: Variable 'wcs' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imresize.c:106:10: style: Variable 'str' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imresize.c:263:7: style: Variable 'lfn' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imresize.c:348:12: style: Variable 'lroot' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imrot.c:208:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imrot.c:270:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imrot.c:364:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imrot.c:201:17: error: Common realloc mistake: 'fn' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/imrot.c:55:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imrot.c:305:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imrot.c:84:10: style: Variable 'str' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imrot.c:343:12: style: Variable 'lroot' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imsize.c:252:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imsize.c:353:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imsize.c:427:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imsize.c:511:6: style: Redundant assignment of 'dra' to itself. [selfAssignment] wcstools-3.9.7/imsize.c:512:7: style: Redundant assignment of 'ddec' to itself. [selfAssignment] wcstools-3.9.7/imsize.c:70:17: style: Variable 'str1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imsize.c:77:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imsize.c:384:11: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imsize.c:384:22: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imsize.c:384:28: style: Variable 'extn' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imsize.c:393:11: style: Variable 'fd' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imsize.c:240:8: style: Variable 'nfext' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imsize.c:246:12: style: Variable 'nfext' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imsmooth.c:187:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imsmooth.c:237:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imsmooth.c:317:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imsmooth.c:180:17: error: Common realloc mistake: 'fn' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/imsmooth.c:72:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imsmooth.c:263:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imsmooth.c:99:10: style: Variable 'str' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imsmooth.c:216:7: style: Variable 'lfn' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imsmooth.c:296:12: style: Variable 'lroot' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imstack.c:145:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imstack.c:215:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imstack.c:261:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imstack.c:401:3: warning:inconclusive: The buffer 'spaces' may not be null-terminated after the call to strncpy(). [terminateStrncpy] wcstools-3.9.7/imstack.c:459:55: warning: Either the condition 'fstack!=NULL' is redundant or there is possible null pointer dereference: fstack. [nullPointerRedundantCheck] wcstools-3.9.7/imstack.c:471:27: note: Assuming that condition 'fstack!=NULL' is not redundant wcstools-3.9.7/imstack.c:459:55: note: Null pointer dereference wcstools-3.9.7/imstack.c:56:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imstack.c:253:32: style: Variable 'headend' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imstar.c:402:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imstar.c:483:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imstar.c:351:17: error: Common realloc mistake: 'fn' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/imstar.c:844:19: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imstar.c:845:19: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imstar.c:847:20: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imstar.c:848:21: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imstar.c:849:21: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/imstar.c:97:11: style: Variable 'cstr' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imstar.c:101:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imstar.c:399:7: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/imstar.c:127:10: style: Variable 'str' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/imstar.c:666:14: style: Unused variable: ix [unusedVariable] wcstools-3.9.7/imstar.c:666:18: style: Unused variable: iy [unusedVariable] wcstools-3.9.7/imwcs.c:526:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imwcs.c:641:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/imwcs.c:465:3: error: Common realloc mistake: 'fn' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/imwcs.c:113:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imwcs.c:523:10: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/imwcs.c:612:7: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/imwcs.c:626:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imwcs.c:630:11: style: Variable 'imext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/imwcs.c:153:10: style: Variable 'str' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/isdate.c:47:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/isdate.c:78:17: style: Condition 'str[4]='-'' is always true [knownConditionTrueFalse] wcstools-3.9.7/isfile.c:43:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/isfits.c:43:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/isimlist.c:43:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/isnum.c:44:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/isnum.c:66:9: warning: Uninitialized variable: arg [uninitvar] wcstools-3.9.7/isnum.c:60:10: note: Assuming condition is false wcstools-3.9.7/isnum.c:66:9: note: Uninitialized variable: arg wcstools-3.9.7/isrange.c:44:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/isrange.c:68:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/keyhead.c:151:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/keyhead.c:235:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/keyhead.c:296:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/keyhead.c:60:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/keyhead.c:273:11: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/keyhead.c:274:22: style: Variable 'kwl' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/keyhead.c:275:19: style: Variable 'q' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/keyhead.c:289:11: style: Variable 'ltime' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/keyhead.c:532:12: style: Variable 'lroot' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/keyhead.c:540:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/keyhead.c:542:12: style: Variable 'fname' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/keyhead.c:561:12: style: Variable 'imext' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/keyhead.c:603:11: style: Variable 'ipos' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/dateutil0.c:647:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/dateutil0.c:836:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wcstools-3.9.7/libwcs/Old/dateutil0.c:867:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wcstools-3.9.7/libwcs/Old/dateutil0.c:2608:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wcstools-3.9.7/libwcs/Old/dateutil0.c:3030:10: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] wcstools-3.9.7/libwcs/Old/dateutil0.c:3087:10: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] wcstools-3.9.7/libwcs/Old/dateutil0.c:2783:15: style: Condition '*iyr>=0' is always true [knownConditionTrueFalse] wcstools-3.9.7/libwcs/Old/dateutil0.c:2781:12: note: Assuming that condition '*iday>31' is not redundant wcstools-3.9.7/libwcs/Old/dateutil0.c:2782:13: note: Assignment '*iyr=*iday', assigned value is greater than 31 wcstools-3.9.7/libwcs/Old/dateutil0.c:2783:15: note: Condition '*iyr>=0' is always true wcstools-3.9.7/libwcs/Old/dateutil0.c:831:16: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/dateutil0.c:858:16: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/dateutil0.c:2605:16: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/dateutil0.c:2644:18: style: Variable 'fdate' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/dateutil0.c:2748:39: style: Variable 'nval' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/dateutil0.c:2748:46: style: Variable 'fstr' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/dateutil0.c:3025:16: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/dateutil0.c:3082:16: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/dateutil0.c:3245:10: style: Parameter 'date' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/Old/dateutil0.c:3904:12: style: Variable 'nals' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/Old/dateutil0.c:3985:15: style: Variable 'cls' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/Old/dateutil0.c:4139:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/Old/dateutil0.c:4150:32: style: Variable 'nval' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/dateutil0.c:4146:13: style: Variable 'iyr' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/dateutil0.c:4148:14: style: Variable 'iday' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/dateutil0.c:4178:7: style: Variable 'iyr' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/dateutil0.c:4213:7: style: Variable 'iyr' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/dateutil0.c:4215:7: style: Variable 'iyr' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/hget1.c:1021:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wcstools-3.9.7/libwcs/Old/hget1.c:1727:49: style: Condition 'cstr=='d'' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/Old/hget1.c:1727:62: style: Condition 'cstr=='e'' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/Old/hget1.c:1791:9: style: Variable 'strend' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/Old/hget1.c:1789:9: note: strend is assigned wcstools-3.9.7/libwcs/Old/hget1.c:1791:9: note: strend is overwritten wcstools-3.9.7/libwcs/Old/hget1.c:1727:42: style: Same expression 'cstr=='d'' found multiple times in chain of '||' operators. [duplicateExpression] wcstools-3.9.7/libwcs/Old/hget1.c:1727:55: style: Same expression 'cstr=='e'' found multiple times in chain of '||' operators. [duplicateExpression] wcstools-3.9.7/libwcs/Old/hget1.c:104:7: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/Old/hget1.c:322:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:351:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:459:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:503:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:503:46: style: Variable 'nval' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:666:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:782:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:817:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:859:11: style: Variable 'vpos' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:859:18: style: Variable 'cpar' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:1095:17: style: Variable 'headnext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:1214:24: style: Variable 'headnext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:1460:14: style: Variable 's1e' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:1538:14: style: Variable 's1e' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:1747:11: style: Variable 'cdot' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:1784:44: style: Variable 'slast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hget1.c:923:6: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/hget1.c:949:10: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/hget1.c:1138:12: style: Variable 'nextchar' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/hget1.c:1412:11: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/hput1.c:577:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/hput1.c:643:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/hput1.c:509:5: style: Variable 'v2' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/Old/hput1.c:505:5: note: v2 is assigned wcstools-3.9.7/libwcs/Old/hput1.c:509:5: note: v2 is overwritten wcstools-3.9.7/libwcs/Old/hput1.c:406:26: style: Variable 'q1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hput1.c:406:31: style: Variable 'q2' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hput1.c:598:36: style: Variable 'q1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hput1.c:598:41: style: Variable 'q2' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/hput1.c:715:20: style: Variable 'v2' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/imrotate1.c:157:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/imrotate1.c:404:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/imrotate1.c:621:6: style: Local variable 'i' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/Old/imrotate1.c:377:9: note: Shadowed declaration wcstools-3.9.7/libwcs/Old/imrotate1.c:621:6: note: Shadow variable wcstools-3.9.7/libwcs/Old/imrotate1.c:375:10: style: Unused variable: ctype1 [unusedVariable] wcstools-3.9.7/libwcs/Old/imrotate1.c:375:22: style: Unused variable: ctype2 [unusedVariable] wcstools-3.9.7/libwcs/Old/matchstar1.c:207:9: error: Unmatched '('. Configuration: '__GNUC__=1'. [syntaxError] wcstools-3.9.7/libwcs/Old/ucacread0.c:147:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WCS_J2000 [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/ucacread0.c:630:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WCS_J2000 [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/ucacread0.c:815:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WCS_J2000 [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/ucacread0.c:1099:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/ucacread0.c:1142:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/ucacread0.c:1251:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UCAC1 [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/ucacread0.c:1420:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/ucacread0.c:1131:9: style: Condition 'debug' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/Old/ucacread0.c:1126:17: note: Assignment 'debug=0', assigned value is 0 wcstools-3.9.7/libwcs/Old/ucacread0.c:1131:9: note: Condition 'debug' is always false wcstools-3.9.7/libwcs/Old/ucacread0.c:1139:9: style: Condition 'debug' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/Old/ucacread0.c:1126:17: note: Assignment 'debug=0', assigned value is 0 wcstools-3.9.7/libwcs/Old/ucacread0.c:1139:9: note: Condition 'debug' is always false wcstools-3.9.7/libwcs/Old/ucacread0.c:275:2: error: Memory leak: star [memleak] wcstools-3.9.7/libwcs/Old/ucacread0.c:922:2: error: Memory leak: star [memleak] wcstools-3.9.7/libwcs/Old/ucacread0.c:1325:6: error: Memory leak: sc [memleak] wcstools-3.9.7/libwcs/Old/ucacread0.c:1356:6: error: Memory leak: sc [memleak] wcstools-3.9.7/libwcs/Old/ucacread0.c:1388:13: warning: Possible null pointer dereference: sc [nullPointer] wcstools-3.9.7/libwcs/Old/ucacread0.c:688:15: note: Assignment 'starcat=NULL', assigned value is 0 wcstools-3.9.7/libwcs/Old/ucacread0.c:691:27: note: Assuming condition is false wcstools-3.9.7/libwcs/Old/ucacread0.c:781:16: note: Calling function 'ucacclose', 1st argument 'starcat' value is 0 wcstools-3.9.7/libwcs/Old/ucacread0.c:1388:13: note: Null pointer dereference wcstools-3.9.7/libwcs/Old/ucacread0.c:280:8: style: Variable 'revmessage' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/ucacread0.c:794:7: style: Parameter 'refcatname' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/Old/ucacread0.c:1161:22: error: Uninitialized variable: rastrx [uninitvar] wcstools-3.9.7/libwcs/Old/ucacread0.c:54:36: style: struct member 'UCAC2star::rflg' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:54:48: style: struct member 'UCAC2star::cflg' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:55:11: style: struct member 'UCAC2star::epra' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:55:17: style: struct member 'UCAC2star::epdec' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:57:34: style: struct member 'UCAC2star::qrapm' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:57:41: style: struct member 'UCAC2star::qdecpm' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:58:9: style: struct member 'UCAC2star::id2m' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:59:29: style: struct member 'UCAC2star::qm' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:59:33: style: struct member 'UCAC2star::cc' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:64:23: style: struct member 'UCAC3star::sigmag' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:65:10: style: struct member 'UCAC3star::objt' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:65:16: style: struct member 'UCAC3star::dsf' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:67:10: style: struct member 'UCAC3star::na1' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:67:25: style: struct member 'UCAC3star::cn1' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:68:11: style: struct member 'UCAC3star::cepra' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:68:18: style: struct member 'UCAC3star::cepdec' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:71:9: style: struct member 'UCAC3star::id2m' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:73:10: style: struct member 'UCAC3star::jq' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:73:14: style: struct member 'UCAC3star::hq' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:73:18: style: struct member 'UCAC3star::kq' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:74:10: style: struct member 'UCAC3star::e2mpho' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:76:10: style: struct member 'UCAC3star::clbl' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:77:10: style: struct member 'UCAC3star::bq' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:77:14: style: struct member 'UCAC3star::rq' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:77:18: style: struct member 'UCAC3star::iq' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:78:10: style: struct member 'UCAC3star::catflg' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:79:10: style: struct member 'UCAC3star::g1' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:79:14: style: struct member 'UCAC3star::c1' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:79:18: style: struct member 'UCAC3star::leda' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:79:24: style: struct member 'UCAC3star::x2m' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:80:9: style: struct member 'UCAC3star::rn' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/Old/ucacread0.c:188:8: style: Variable 'nmag1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/ucacread0.c:196:8: style: Variable 'nmag1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/ucacread0.c:203:8: style: Variable 'nmag1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/ucacread0.c:260:11: style: Variable 'jstar' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/ucacread0.c:368:9: style: Variable 'nread' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/ucacread0.c:907:11: style: Variable 'jstar' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/ucacread0.c:952:9: style: Variable 'nread' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/wcscon1.c:103:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WCS_B1950 [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/wcscon1.c:311:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WCS_B1950 [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/wcscon1.c:515:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WCS_B1950 [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/wcscon1.c:664:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WCS_J2000 [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/wcscon1.c:748:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WCS_XY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/wcscon1.c:1116:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/wcscon1.c:1400:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/wcscon1.c:1475:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/wcscon1.c:1531:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/wcscon1.c:1604:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/wcscon1.c:1655:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/wcscon1.c:2350:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PI [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/wcscon1.c:155:10: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] wcstools-3.9.7/libwcs/Old/wcscon1.c:144:29: note: outer condition: eq1==eq2 wcstools-3.9.7/libwcs/Old/wcscon1.c:155:10: note: opposite inner condition: eq1!=eq2 wcstools-3.9.7/libwcs/Old/wcscon1.c:1059:10: style: Variable 'rxyz' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/Old/wcscon1.c:1056:10: note: rxyz is assigned wcstools-3.9.7/libwcs/Old/wcscon1.c:1059:10: note: rxyz is overwritten wcstools-3.9.7/libwcs/Old/wcscon1.c:714:7: style: Parameter 'wcstring' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/Old/wcscon1.c:2208:47: style: Variable 'wmi' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/wcscon1.c:2334:8: style: Parameter 'pos' can be declared as const array [constParameter] wcstools-3.9.7/libwcs/Old/wcscon1.c:176:11: style: Variable 'ep1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/wcscon1.c:383:11: style: Variable 'ep1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/webread0.c:177:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/webread0.c:353:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/webread0.c:431:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/webread0.c:650:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/webread0.c:916:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/Old/webread0.c:899:21: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] wcstools-3.9.7/libwcs/Old/webread0.c:913:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] wcstools-3.9.7/libwcs/Old/webread0.c:846:12: warning: Either the condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] wcstools-3.9.7/libwcs/Old/webread0.c:840:48: note: Assuming that condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is not redundant wcstools-3.9.7/libwcs/Old/webread0.c:846:12: note: Invalid argument wcstools-3.9.7/libwcs/Old/webread0.c:853:12: warning: Either the condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] wcstools-3.9.7/libwcs/Old/webread0.c:850:47: note: Assuming that condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is not redundant wcstools-3.9.7/libwcs/Old/webread0.c:853:12: note: Invalid argument wcstools-3.9.7/libwcs/Old/webread0.c:721:28: style: Checking if unsigned expression 'strlen(linebuff)' is less than zero. [unsignedLessThanZero] wcstools-3.9.7/libwcs/Old/webread0.c:78:7: style: Parameter 'refcatname' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/Old/webread0.c:306:10: style: Variable 'csys' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/Old/webread0.c:401:7: style: Parameter 'caturl' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/Old/webread0.c:402:7: style: Parameter 'srchpar' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/Old/webread0.c:409:52: style: Variable 'tabold' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/webread0.c:584:11: style: Variable 'urlpath' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/webread0.c:596:11: style: Variable 'cbcont' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/webread0.c:597:11: style: Variable 'newserver' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/webread0.c:808:14: style: Variable 'last' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/webread0.c:870:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/webread0.c:897:22: style: Variable 'service' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/Old/webread0.c:340:69: warning: Uninitialized variable: numlist [uninitvar] wcstools-3.9.7/libwcs/Old/webread0.c:327:16: note: Assuming condition is false wcstools-3.9.7/libwcs/Old/webread0.c:340:69: note: Uninitialized variable: numlist wcstools-3.9.7/libwcs/Old/webread0.c:340:77: error: Uninitialized variable: csys [uninitvar] wcstools-3.9.7/libwcs/Old/webread0.c:765:13: style: Variable 'lread' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/webread0.c:932:15: style: Variable 'notab' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/webread0.c:969:8: style: Variable 'notab' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/Old/webread0.c:928:48: style: Unused variable: tstart [unusedVariable] wcstools-3.9.7/libwcs/actread.c:157:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/actread.c:481:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/actread.c:655:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/actread.c:855:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/actread.c:900:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/actread.c:978:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/actread.c:1072:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/actread.c:842:18: style: Expression is always true because 'else if' condition is opposite to previous condition at line 836. [multiCondition] wcstools-3.9.7/libwcs/actread.c:836:13: note: first condition wcstools-3.9.7/libwcs/actread.c:842:18: note: else if condition is opposite to first condition wcstools-3.9.7/libwcs/actread.c:186:8: style: Variable 'revmessage' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/actread.c:576:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/actread.c:879:11: style: Variable 'cdpath' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/actread.c:1126:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/actread.c:1079:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] wcstools-3.9.7/libwcs/actread.c:590:9: style: Variable 'str' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/actread.c:685:8: style: Variable 'magv' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/actread.c:686:8: style: Variable 'magb' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/binread.c:194:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/binread.c:526:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/binread.c:777:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/binread.c:1025:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/binread.c:1191:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/binread.c:1282:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/binread.c:885:12: style: The if condition is the same as the previous if condition [duplicateCondition] wcstools-3.9.7/libwcs/binread.c:874:12: note: First condition wcstools-3.9.7/libwcs/binread.c:885:12: note: Second condition wcstools-3.9.7/libwcs/binread.c:1026:6: error: Memory leak: sc [memleak] wcstools-3.9.7/libwcs/binread.c:1036:2: error: Resource leak: fcat [resourceLeak] wcstools-3.9.7/libwcs/binread.c:1045:2: error: Memory leak: sc [memleak] wcstools-3.9.7/libwcs/binread.c:1305:25: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/binread.c:1316:29: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/binread.c:1320:29: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/binread.c:1324:29: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/binread.c:1336:28: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/binread.c:1337:28: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/binread.c:1348:25: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/binread.c:1349:25: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/binread.c:1360:25: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/binread.c:1393:25: style: Variable 'slast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/binread.c:1465:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/binread.c:1494:10: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/binread.c:246:7: style: Variable 'nmag' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/binread.c:793:6: style: Variable 'mrv' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/binread.c:796:7: style: Variable 'nmag' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:190:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:192:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:208:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:210:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:228:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:230:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:244:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:246:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:279:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:281:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:304:9: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:306:9: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:346:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:348:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:359:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/caphot.c:361:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/catutil.c:2074:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/catutil.c:2109:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/catutil.c:475:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:475:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:478:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:478:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:481:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:481:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:484:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:484:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:487:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:487:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:490:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:490:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:493:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:493:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:496:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:496:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:499:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:499:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:502:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:502:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:511:23: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:511:23: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:513:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:513:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:522:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:522:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:525:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:525:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:528:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:528:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:531:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:531:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:541:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:541:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:551:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:551:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:558:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:558:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:573:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:573:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:580:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:580:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:583:26: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:583:26: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:594:27: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:594:27: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:604:27: warning: Either the condition 'refcatname!=NULL' is redundant or there is possible null pointer dereference: refcatname. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/catutil.c:632:25: note: Assuming that condition 'refcatname!=NULL' is not redundant wcstools-3.9.7/libwcs/catutil.c:604:27: note: Null pointer dereference wcstools-3.9.7/libwcs/catutil.c:933:7: style: Parameter 'progpath0' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/catutil.c:1840:11: style: Variable 'cdot' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/catutil.c:2303:9: style: Parameter 'bv' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/catutil.c:2344:9: style: Parameter 'br' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/catutil.c:2392:7: style: Parameter 'ranges' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/catutil.c:2393:7: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/catutil.c:2594:11: style: Variable 'catalog' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/catutil.c:2727:14: style: Variable 'last' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/catutil.c:2561:11: style: Variable 'csign' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/checksum.c:188:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLEN_VALUE [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/checksum.c:324:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLEN_COMMENT [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/checksum.c:418:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLEN_VALUE [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/checksum.c:493:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPORT_EOF [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/checksum.c:88:18: style: Variable 'exclude' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/checksum.c:90:19: style: Variable 'mask' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/checksum.c:134:28: style: Parameter 'ascii' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/ctgread.c:270:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ctgread.c:628:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ctgread.c:830:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ctgread.c:1109:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ctgread.c:1277:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ctgread.c:1607:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ctgread.c:1580:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] wcstools-3.9.7/libwcs/ctgread.c:272:6: error: Memory leak: tdist [memleak] wcstools-3.9.7/libwcs/ctgread.c:272:6: error: Memory leak: star [memleak] wcstools-3.9.7/libwcs/ctgread.c:281:2: error: Memory leak: tdist [memleak] wcstools-3.9.7/libwcs/ctgread.c:1110:2: error: Memory leak: star [memleak] wcstools-3.9.7/libwcs/ctgread.c:262:5: warning: Either the condition 'star!=NULL' is redundant or there is possible null pointer dereference: star. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/ctgread.c:278:11: note: Assuming that condition 'star!=NULL' is not redundant wcstools-3.9.7/libwcs/ctgread.c:262:5: note: Null pointer dereference wcstools-3.9.7/libwcs/ctgread.c:1105:5: warning: Either the condition 'star!=NULL' is redundant or there is possible null pointer dereference: star. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/ctgread.c:1114:11: note: Assuming that condition 'star!=NULL' is not redundant wcstools-3.9.7/libwcs/ctgread.c:1105:5: note: Null pointer dereference wcstools-3.9.7/libwcs/ctgread.c:1614:10: warning: Either the condition 'line==NULL' is redundant or there is possible null pointer dereference: line. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/ctgread.c:1616:11: note: Assuming that condition 'line==NULL' is not redundant wcstools-3.9.7/libwcs/ctgread.c:1614:10: note: Null pointer dereference wcstools-3.9.7/libwcs/ctgread.c:1629:14: warning: Either the condition 'nextline==NULL' is redundant or there is possible null pointer dereference: nextline. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/ctgread.c:1631:19: note: Assuming that condition 'nextline==NULL' is not redundant wcstools-3.9.7/libwcs/ctgread.c:1629:14: note: Null pointer dereference wcstools-3.9.7/libwcs/ctgread.c:1643:14: warning: Either the condition 'nextline==NULL' is redundant or there is possible null pointer dereference: nextline. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/ctgread.c:1645:19: note: Assuming that condition 'nextline==NULL' is not redundant wcstools-3.9.7/libwcs/ctgread.c:1643:14: note: Null pointer dereference wcstools-3.9.7/libwcs/ctgread.c:513:11: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/ctgread.c:2040:15: style: Local variable 'deg' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/ctgread.c:1996:12: note: Shadowed declaration wcstools-3.9.7/libwcs/ctgread.c:2040:15: note: Shadow variable wcstools-3.9.7/libwcs/ctgread.c:2040:20: style: Local variable 'min' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/ctgread.c:1996:17: note: Shadowed declaration wcstools-3.9.7/libwcs/ctgread.c:2040:20: note: Shadow variable wcstools-3.9.7/libwcs/ctgread.c:2040:25: style: Local variable 'sec' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/ctgread.c:1996:22: note: Shadowed declaration wcstools-3.9.7/libwcs/ctgread.c:2040:25: note: Shadow variable wcstools-3.9.7/libwcs/ctgread.c:552:10: style: Variable 'cstr' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/ctgread.c:805:10: style: Variable 'cstr' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/ctgread.c:1244:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ctgread.c:1246:20: style: Variable 'catdesc' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ctgread.c:1920:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/ctgread.c:1949:7: style: Parameter 'catpath' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/ctgread.c:1953:11: style: Variable 'errc' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ctgread.c:1997:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ctgread.c:749:22: error: Uninitialized variable: cstr [uninitvar] wcstools-3.9.7/libwcs/ctgread.c:936:25: error: Uninitialized variable: cstr [uninitvar] wcstools-3.9.7/libwcs/ctgread.c:1537:7: style: Variable 'ntok' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ctgread.c:1867:7: style: Variable 'ltok' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ctgread.c:1960:10: style: Variable 'errc' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ctgread.c:2030:14: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ctgread.c:2039:18: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/daoread.c:73:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/daoread.c:134:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/daoread.c:180:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/daoread.c:174:7: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/daoread.c:62:10: style: Variable 'line' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/dateutil.c:2106:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] wcstools-3.9.7/libwcs/dateutil.c:938:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wcstools-3.9.7/libwcs/dateutil.c:983:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wcstools-3.9.7/libwcs/dateutil.c:2889:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] wcstools-3.9.7/libwcs/dateutil.c:3311:10: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] wcstools-3.9.7/libwcs/dateutil.c:3368:10: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] wcstools-3.9.7/libwcs/dateutil.c:3064:15: style: Condition '*iyr>=0' is always true [knownConditionTrueFalse] wcstools-3.9.7/libwcs/dateutil.c:3062:12: note: Assuming that condition '*iday>31' is not redundant wcstools-3.9.7/libwcs/dateutil.c:3063:13: note: Assignment '*iyr=*iday', assigned value is greater than 31 wcstools-3.9.7/libwcs/dateutil.c:3064:15: note: Condition '*iyr>=0' is always true wcstools-3.9.7/libwcs/dateutil.c:2141:5: error: Memory leak: string [memleak] wcstools-3.9.7/libwcs/dateutil.c:933:16: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/dateutil.c:974:16: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/dateutil.c:2886:16: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/dateutil.c:2925:18: style: Variable 'fdate' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/dateutil.c:3029:39: style: Variable 'nval' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/dateutil.c:3029:46: style: Variable 'fstr' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/dateutil.c:3306:16: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/dateutil.c:3363:16: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/dateutil.c:3526:10: style: Parameter 'date' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/dateutil.c:4188:12: style: Variable 'nals' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/dateutil.c:4269:15: style: Variable 'cls' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/dateutil.c:4423:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/dateutil.c:4434:32: style: Variable 'nval' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/dateutil.c:736:10: style: Variable 'oblq' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/dateutil.c:2106:12: style: Variable 'string' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/dateutil.c:4430:13: style: Variable 'iyr' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/dateutil.c:4432:14: style: Variable 'iday' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/dateutil.c:4462:7: style: Variable 'iyr' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/dateutil.c:4497:7: style: Variable 'iyr' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/dateutil.c:4499:7: style: Variable 'iyr' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/distort.c:206:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/distort.c:361:11: style: Variable 'extension' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/distort.c:383:19: style: Parameter 'wcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:221:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil.c:291:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil.c:610:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil.c:655:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil.c:693:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil.c:1017:13: style: Condition 'first<1' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/fileutil.c:1001:11: note: Assignment 'first=1.0', assigned value is 1.0 wcstools-3.9.7/libwcs/fileutil.c:1017:13: note: Condition 'first<1' is always false wcstools-3.9.7/libwcs/fileutil.c:1254:13: style: Condition 'lcr' is always true [knownConditionTrueFalse] wcstools-3.9.7/libwcs/fileutil.c:204:10: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:282:10: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:283:7: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:335:10: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:363:10: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:386:10: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:387:10: style: Parameter 'rootdir' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:418:10: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:419:10: style: Parameter 'rootdir' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:550:7: style: Parameter 'spchar' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:571:7: style: Parameter 'spchar' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:718:7: style: Parameter 'cwhite' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:722:23: style: Variable 'wtype' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fileutil.c:722:38: style: Variable 'inew' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fileutil.c:1114:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:1155:15: style: Parameter 'range' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:1226:20: style: Variable 'lastchar' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fileutil.c:1301:7: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:1326:7: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:1351:7: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:1377:7: style: Parameter 'keyword0' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:1558:9: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:1559:9: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:1702:9: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil.c:139:16: style: Variable 'nlines' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil.c:172:16: style: Variable 'nlines' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil.c:1232:14: style: Variable 'ieos' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil.c:1242:10: style: Variable 'lstring' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil.c:1258:7: style: Variable 'llf' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil.c:1227:9: style: Unused variable: ichar [unusedVariable] wcstools-3.9.7/libwcs/fileutil.c:1358:11: style: Unused variable: value [unusedVariable] wcstools-3.9.7/libwcs/fileutil.c:1401:14: style: Variable 'squot[1]' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil.c:1403:14: style: Variable 'dquot[1]' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil.c:1408:11: style: Variable 'cquot' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil.c:1390:11: style: Unused variable: lastval [unusedVariable] wcstools-3.9.7/libwcs/fileutil.c:1390:21: style: Unused variable: rval [unusedVariable] wcstools-3.9.7/libwcs/fileutil.c:1390:57: style: Unused variable: iquot [unusedVariable] wcstools-3.9.7/libwcs/fileutil.c:1392:15: style: Unused variable: i [unusedVariable] wcstools-3.9.7/libwcs/fileutil.c:1392:24: style: Unused variable: fkey [unusedVariable] wcstools-3.9.7/libwcs/fileutil0.c:221:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil0.c:291:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil0.c:610:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil0.c:655:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil0.c:693:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil0.c:1017:13: style: Condition 'first<1' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/fileutil0.c:1001:11: note: Assignment 'first=1.0', assigned value is 1.0 wcstools-3.9.7/libwcs/fileutil0.c:1017:13: note: Condition 'first<1' is always false wcstools-3.9.7/libwcs/fileutil0.c:1253:13: style: Condition 'lcr' is always true [knownConditionTrueFalse] wcstools-3.9.7/libwcs/fileutil0.c:1523:15: style: Condition 'lval>0' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/fileutil0.c:1520:14: note: Assuming that condition 'lval<0' is not redundant wcstools-3.9.7/libwcs/fileutil0.c:1523:15: note: Condition 'lval>0' is always false wcstools-3.9.7/libwcs/fileutil0.c:204:10: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:282:10: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:283:7: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:335:10: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:363:10: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:386:10: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:387:10: style: Parameter 'rootdir' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:418:10: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:419:10: style: Parameter 'rootdir' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:550:7: style: Parameter 'spchar' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:571:7: style: Parameter 'spchar' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:718:7: style: Parameter 'cwhite' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:722:23: style: Variable 'wtype' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fileutil0.c:722:38: style: Variable 'inew' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fileutil0.c:1114:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:1155:15: style: Parameter 'range' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:1226:20: style: Variable 'lastchar' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fileutil0.c:1300:7: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:1325:7: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:1350:7: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:1376:7: style: Parameter 'keyword0' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:1588:9: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:1589:9: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:1732:9: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil0.c:139:16: style: Variable 'nlines' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil0.c:172:16: style: Variable 'nlines' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil0.c:1241:10: style: Variable 'lstring' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil0.c:1257:7: style: Variable 'llf' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil0.c:1227:9: style: Unused variable: ichar [unusedVariable] wcstools-3.9.7/libwcs/fileutil0.c:1357:11: style: Unused variable: value [unusedVariable] wcstools-3.9.7/libwcs/fileutil0.c:1390:24: style: Unused variable: fkey [unusedVariable] wcstools-3.9.7/libwcs/fileutil1.c:221:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil1.c:291:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil1.c:610:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil1.c:655:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil1.c:693:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fileutil1.c:1017:13: style: Condition 'first<1' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/fileutil1.c:1001:11: note: Assignment 'first=1.0', assigned value is 1.0 wcstools-3.9.7/libwcs/fileutil1.c:1017:13: note: Condition 'first<1' is always false wcstools-3.9.7/libwcs/fileutil1.c:1253:13: style: Condition 'lcr' is always true [knownConditionTrueFalse] wcstools-3.9.7/libwcs/fileutil1.c:1520:48: style: Condition '*pval=='/'' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/fileutil1.c:1520:15: note: Assuming that condition '*pval==' '' is not redundant wcstools-3.9.7/libwcs/fileutil1.c:1520:48: note: Condition '*pval=='/'' is always false wcstools-3.9.7/libwcs/fileutil1.c:1530:15: style: Condition 'lval>0' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/fileutil1.c:1527:14: note: Assuming that condition 'lval<0' is not redundant wcstools-3.9.7/libwcs/fileutil1.c:1530:15: note: Condition 'lval>0' is always false wcstools-3.9.7/libwcs/fileutil1.c:204:10: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:282:10: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:283:7: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:335:10: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:363:10: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:386:10: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:387:10: style: Parameter 'rootdir' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:418:10: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:419:10: style: Parameter 'rootdir' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:550:7: style: Parameter 'spchar' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:571:7: style: Parameter 'spchar' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:718:7: style: Parameter 'cwhite' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:722:23: style: Variable 'wtype' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fileutil1.c:722:38: style: Variable 'inew' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fileutil1.c:1114:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:1155:15: style: Parameter 'range' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:1226:20: style: Variable 'lastchar' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fileutil1.c:1300:7: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:1325:7: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:1350:7: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:1376:7: style: Parameter 'keyword0' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:1595:9: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:1596:9: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:1739:9: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fileutil1.c:139:16: style: Variable 'nlines' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil1.c:172:16: style: Variable 'nlines' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil1.c:1241:10: style: Variable 'lstring' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil1.c:1257:7: style: Variable 'llf' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fileutil1.c:1227:9: style: Unused variable: ichar [unusedVariable] wcstools-3.9.7/libwcs/fileutil1.c:1357:11: style: Unused variable: value [unusedVariable] wcstools-3.9.7/libwcs/fileutil1.c:1390:24: style: Unused variable: fkey [unusedVariable] wcstools-3.9.7/libwcs/findstar.c:254:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/findstar.c:206:2: error: Memory leak: ixa [memleak] wcstools-3.9.7/libwcs/findstar.c:206:2: error: Memory leak: iya [memleak] wcstools-3.9.7/libwcs/findstar.c:370:4: error: Common realloc mistake: 'ixa' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/libwcs/findstar.c:371:4: error: Common realloc mistake: 'iya' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/libwcs/findstar.c:420:11: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/findstar.c:324:7: style: Local variable 'i' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/findstar.c:161:25: note: Shadowed declaration wcstools-3.9.7/libwcs/findstar.c:324:7: note: Shadow variable wcstools-3.9.7/libwcs/findstar.c:58:7: style: Parameter 'cat' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/findstar.c:211:8: style: Variable 'tx1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/findstar.c:743:15: style: Parameter 'sv2' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/findstar.c:867:11: style: Variable 'parname' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fitsfile.c:196:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitsfile.c:592:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitsfile.c:761:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitsfile.c:1055:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitsfile.c:1203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitsfile.c:1360:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitsfile.c:1584:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitsfile.c:1623:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitsfile.c:1885:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitsfile.c:1971:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitsfile.c:2071:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitsfile.c:2125:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitsfile.c:2168:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitsfile.c:214:17: style: Condition 'irec<500' is always true [knownConditionTrueFalse] wcstools-3.9.7/libwcs/fitsfile.c:212:12: note: Assignment 'irec=0', assigned value is 0 wcstools-3.9.7/libwcs/fitsfile.c:214:17: note: Condition 'irec<500' is always true wcstools-3.9.7/libwcs/fitsfile.c:602:17: style: Condition 'irec<100' is always true [knownConditionTrueFalse] wcstools-3.9.7/libwcs/fitsfile.c:601:12: note: Assignment 'irec=0', assigned value is 0 wcstools-3.9.7/libwcs/fitsfile.c:602:17: note: Condition 'irec<100' is always true wcstools-3.9.7/libwcs/fitsfile.c:1587:3: error: Resource leak: fd [resourceLeak] wcstools-3.9.7/libwcs/fitsfile.c:1594:3: error: Resource leak: fd [resourceLeak] wcstools-3.9.7/libwcs/fitsfile.c:1627:3: error: Resource leak: fd [resourceLeak] wcstools-3.9.7/libwcs/fitsfile.c:1635:3: error: Resource leak: fd [resourceLeak] wcstools-3.9.7/libwcs/fitsfile.c:1843:2: error: Memory leak: image [memleak] wcstools-3.9.7/libwcs/fitsfile.c:1867:6: error: Memory leak: image [memleak] wcstools-3.9.7/libwcs/fitsfile.c:1875:6: error: Memory leak: image [memleak] wcstools-3.9.7/libwcs/fitsfile.c:1888:6: error: Resource leak: fdout [resourceLeak] wcstools-3.9.7/libwcs/fitsfile.c:1888:6: error: Memory leak: image [memleak] wcstools-3.9.7/libwcs/fitsfile.c:1895:6: error: Resource leak: fdout [resourceLeak] wcstools-3.9.7/libwcs/fitsfile.c:1895:6: error: Memory leak: image [memleak] wcstools-3.9.7/libwcs/fitsfile.c:1974:6: error: Resource leak: fd [resourceLeak] wcstools-3.9.7/libwcs/fitsfile.c:1981:6: error: Resource leak: fd [resourceLeak] wcstools-3.9.7/libwcs/fitsfile.c:535:2: warning: Either the condition 'pheader!=NULL' is redundant or there is possible null pointer dereference: pheader. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/fitsfile.c:537:14: note: Assuming that condition 'pheader!=NULL' is not redundant wcstools-3.9.7/libwcs/fitsfile.c:535:2: note: Null pointer dereference wcstools-3.9.7/libwcs/fitsfile.c:536:20: warning: Either the condition 'pheader!=NULL' is redundant or there is possible null pointer dereference: pheader. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/fitsfile.c:537:14: note: Assuming that condition 'pheader!=NULL' is not redundant wcstools-3.9.7/libwcs/fitsfile.c:536:20: note: Null pointer dereference wcstools-3.9.7/libwcs/fitsfile.c:1412:19: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/fitsfile.c:1416:19: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/fitsfile.c:1450:19: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/fitsfile.c:1454:19: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/fitsfile.c:1490:19: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/fitsfile.c:1492:19: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/fitsfile.c:1528:19: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/fitsfile.c:1532:19: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/fitsfile.c:167:5: style: Variable 'fd' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/fitsfile.c:166:5: note: fd is assigned wcstools-3.9.7/libwcs/fitsfile.c:167:5: note: fd is overwritten wcstools-3.9.7/libwcs/fitsfile.c:178:13: style: Variable 'extnum' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/fitsfile.c:172:9: note: extnum is assigned wcstools-3.9.7/libwcs/fitsfile.c:178:13: note: extnum is overwritten wcstools-3.9.7/libwcs/fitsfile.c:532:10: style: Variable 'headend' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/fitsfile.c:526:14: note: headend is assigned wcstools-3.9.7/libwcs/fitsfile.c:532:10: note: headend is overwritten wcstools-3.9.7/libwcs/fitsfile.c:579:5: style: Variable 'fd' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/fitsfile.c:578:5: note: fd is assigned wcstools-3.9.7/libwcs/fitsfile.c:579:5: note: fd is overwritten wcstools-3.9.7/libwcs/fitsfile.c:670:5: style: Variable 'fd' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/fitsfile.c:668:5: note: fd is assigned wcstools-3.9.7/libwcs/fitsfile.c:670:5: note: fd is overwritten wcstools-3.9.7/libwcs/fitsfile.c:802:5: style: Variable 'fd' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/fitsfile.c:800:5: note: fd is assigned wcstools-3.9.7/libwcs/fitsfile.c:802:5: note: fd is overwritten wcstools-3.9.7/libwcs/fitsfile.c:921:5: style: Variable 'fd' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/fitsfile.c:919:5: note: fd is assigned wcstools-3.9.7/libwcs/fitsfile.c:921:5: note: fd is overwritten wcstools-3.9.7/libwcs/fitsfile.c:1864:7: style: Variable 'fdin' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/fitsfile.c:1863:7: note: fdin is assigned wcstools-3.9.7/libwcs/fitsfile.c:1864:7: note: fdin is overwritten wcstools-3.9.7/libwcs/fitsfile.c:662:28: style: Variable 'imlast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fitsfile.c:1022:7: style: Parameter 'inpath' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fitsfile.c:1164:21: style: Variable 'tf1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fitsfile.c:1340:11: style: Variable 'tbuff1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fitsfile.c:1547:7: style: Parameter 'entry' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fitsfile.c:1548:17: style: Parameter 'kw' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fitsfile.c:1654:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fitsfile.c:1660:11: style: Variable 'endhead' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fitsfile.c:1798:21: style: Variable 'lasthead' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fitsfile.c:1960:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fitsfile.c:1967:21: style: Variable 'lasthead' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fitsfile.c:2100:10: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fitsfile.c:2153:11: style: Variable 'endhead' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fitsfile.c:2183:14: style: Variable 'last' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fitsfile.c:140:11: style: Variable 'lprim' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fitsfile.c:200:12: style: Variable 'nbytes' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fitsfile.c:831:9: style: Variable 'nbread' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fitsfile.c:950:9: style: Variable 'nbread' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/fitswcs.c:99:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitswcs.c:180:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitswcs.c:348:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fitswcs.c:202:6: style: Local variable 'i' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/fitswcs.c:148:9: note: Shadowed declaration wcstools-3.9.7/libwcs/fitswcs.c:202:6: note: Shadow variable wcstools-3.9.7/libwcs/fitswcs.c:203:7: style: Local variable 'keyword' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/fitswcs.c:147:10: note: Shadowed declaration wcstools-3.9.7/libwcs/fitswcs.c:203:7: note: Shadow variable wcstools-3.9.7/libwcs/fitswcs.c:303:6: style: Local variable 'i' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/fitswcs.c:148:9: note: Shadowed declaration wcstools-3.9.7/libwcs/fitswcs.c:303:6: note: Shadow variable wcstools-3.9.7/libwcs/fitswcs.c:304:7: style: Local variable 'keyword' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/fitswcs.c:147:10: note: Shadowed declaration wcstools-3.9.7/libwcs/fitswcs.c:304:7: note: Shadow variable wcstools-3.9.7/libwcs/fitswcs.c:458:11: style: Local variable 'wcsdist' shadows outer function [shadowFunction] wcstools-3.9.7/libwcs/wcs.h:754:8: note: Shadowed declaration wcstools-3.9.7/libwcs/fitswcs.c:458:11: note: Shadow variable wcstools-3.9.7/libwcs/fitswcs.c:443:7: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fitswcs.c:458:11: style: Variable 'wcsdist' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/fortwcs.c:266:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/fortwcs.c:227:6: style: Parameter 'iwcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:248:6: style: Parameter 'iwcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:290:9: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:290:13: style: Parameter 'y1' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:291:9: style: Parameter 'x2' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:291:13: style: Parameter 'y2' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:334:6: style: Parameter 'iwcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:358:6: style: Parameter 'iwcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:382:6: style: Parameter 'iwcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:406:6: style: Parameter 'iwcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:430:6: style: Parameter 'iwcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:454:6: style: Parameter 'iwcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:455:6: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:477:6: style: Parameter 'iwcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:478:6: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:501:6: style: Parameter 'iwcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:526:6: style: Parameter 'iwcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/fortwcs.c:549:6: style: Parameter 'iwcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/gsc2read.c:121:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/gsc2read.c:54:7: style: Parameter 'refcatname' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/gsc2read.c:240:11: style: Variable 'databuff' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/gsc2read.c:305:11: style: Parameter 'tsvbuff' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/gsc2read.c:343:10: error: Uninitialized variable: tsvbi [uninitvar] wcstools-3.9.7/libwcs/gsc2read.c:84:9: style: Unused variable: rah [unusedVariable] wcstools-3.9.7/libwcs/gsc2read.c:84:14: style: Unused variable: ram [unusedVariable] wcstools-3.9.7/libwcs/gsc2read.c:84:19: style: Unused variable: dd [unusedVariable] wcstools-3.9.7/libwcs/gsc2read.c:84:23: style: Unused variable: dm [unusedVariable] wcstools-3.9.7/libwcs/gsc2read.c:85:12: style: Unused variable: ras [unusedVariable] wcstools-3.9.7/libwcs/gsc2read.c:85:17: style: Unused variable: ds [unusedVariable] wcstools-3.9.7/libwcs/gsc2read.c:86:10: style: Unused variable: sr [unusedVariable] wcstools-3.9.7/libwcs/gsc2read.c:86:17: style: Unused variable: sd [unusedVariable] wcstools-3.9.7/libwcs/gsc2read.c:243:11: style: Unused variable: colhead [unusedVariable] wcstools-3.9.7/libwcs/gsc2read.c:243:21: style: Unused variable: colsep [unusedVariable] wcstools-3.9.7/libwcs/gsc2read.c:316:16: style: Variable 'colon' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/gscread.c:178:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/gscread.c:646:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/gscread.c:849:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/gscread.c:1205:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/gscread.c:152:13: style: Variable 'verbose' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/gscread.c:149:10: note: verbose is assigned wcstools-3.9.7/libwcs/gscread.c:152:13: note: verbose is overwritten wcstools-3.9.7/libwcs/gscread.c:829:13: style: Variable 'verbose' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/gscread.c:826:10: note: verbose is assigned wcstools-3.9.7/libwcs/gscread.c:829:13: note: verbose is overwritten wcstools-3.9.7/libwcs/gscread.c:859:11: style: Variable 'str' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/gscread.c:841:10: note: str is assigned wcstools-3.9.7/libwcs/gscread.c:859:11: note: str is overwritten wcstools-3.9.7/libwcs/gscread.c:552:11: style: Local variable 'table' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/gscread.c:58:14: note: Shadowed declaration wcstools-3.9.7/libwcs/gscread.c:552:11: note: Shadow variable wcstools-3.9.7/libwcs/gscread.c:257:8: style: Variable 'revmessage' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/gscread.c:578:11: style: Variable 'url' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/gscread.c:816:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/gscread.c:295:7: style: Variable 'num0' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/gscread.c:649:7: style: Variable 'num0' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/gscread.c:724:9: style: Variable 'rasum' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/gscread.c:725:10: style: Variable 'decsum' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/gscread.c:726:8: style: Variable 'msum' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/gscread.c:727:11: style: Variable 'perrsum' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/gscread.c:728:11: style: Variable 'merrsum' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/gscread.c:729:8: style: Variable 'npos' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/gscread.c:924:7: style: Variable 'num0' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/gscread.c:1013:12: style: Variable 'xnum' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/hget.c:1019:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wcstools-3.9.7/libwcs/hget.c:1668:49: style: Condition 'cstr=='d'' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/hget.c:1668:62: style: Condition 'cstr=='e'' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/hget.c:1732:9: style: Variable 'strend' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/hget.c:1730:9: note: strend is assigned wcstools-3.9.7/libwcs/hget.c:1732:9: note: strend is overwritten wcstools-3.9.7/libwcs/hget.c:1668:42: style: Same expression 'cstr=='d'' found multiple times in chain of '||' operators. [duplicateExpression] wcstools-3.9.7/libwcs/hget.c:1668:55: style: Same expression 'cstr=='e'' found multiple times in chain of '||' operators. [duplicateExpression] wcstools-3.9.7/libwcs/hget.c:109:7: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/hget.c:327:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:356:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:464:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:508:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:508:46: style: Variable 'nval' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:671:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:780:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:815:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:857:11: style: Variable 'vpos' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:857:18: style: Variable 'cpar' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:1093:17: style: Variable 'headnext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:1190:17: style: Variable 'headnext' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:1401:14: style: Variable 's1e' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:1479:14: style: Variable 's1e' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:1688:11: style: Variable 'cdot' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:1725:44: style: Variable 'slast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hget.c:921:6: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/hget.c:947:10: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/hget.c:1353:11: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/hput.c:588:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/hput.c:656:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/hput.c:511:5: style: Variable 'v2' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/hput.c:507:5: note: v2 is assigned wcstools-3.9.7/libwcs/hput.c:511:5: note: v2 is overwritten wcstools-3.9.7/libwcs/hput.c:697:6: style: Variable 'q2' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/hput.c:681:9: note: q2 is assigned wcstools-3.9.7/libwcs/hput.c:697:6: note: q2 is overwritten wcstools-3.9.7/libwcs/hput.c:697:6: style: Variable 'q2' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/hput.c:692:9: note: q2 is assigned wcstools-3.9.7/libwcs/hput.c:697:6: note: q2 is overwritten wcstools-3.9.7/libwcs/hput.c:408:26: style: Variable 'q1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hput.c:408:31: style: Variable 'q2' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hput.c:609:36: style: Variable 'q1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hput.c:755:20: style: Variable 'v2' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/hput.c:665:5: style: Variable 'v2' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/html2sp.c:111:24: error: Unmatched '('. Configuration: '__GNUC__=1'. [syntaxError] wcstools-3.9.7/libwcs/iget.c:416:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wcstools-3.9.7/libwcs/iget.c:418:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] wcstools-3.9.7/libwcs/iget.c:292:14: style: Local variable 'val' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/iget.c:56:13: note: Shadowed declaration wcstools-3.9.7/libwcs/iget.c:292:14: note: Shadow variable wcstools-3.9.7/libwcs/iget.c:178:7: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/iget.c:220:7: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/iget.c:261:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/iget.c:292:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/iget.c:324:8: style: Variable 'value' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/iget.c:364:14: style: Variable 'cpar' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/iget.c:456:28: style: Variable 'headlast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imgetwcs.c:109:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imgetwcs.c:568:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imgetwcs.c:346:9: style: The if condition is the same as the previous if condition [duplicateCondition] wcstools-3.9.7/libwcs/imgetwcs.c:331:9: note: First condition wcstools-3.9.7/libwcs/imgetwcs.c:346:9: note: Second condition wcstools-3.9.7/libwcs/imgetwcs.c:604:9: style: Parameter 'cd' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/imgetwcs.c:698:7: style: Parameter 'dateobs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/imhfile.c:200:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imhfile.c:302:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imhfile.c:515:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imhfile.c:891:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imhfile.c:994:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imhfile.c:1171:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imhfile.c:1449:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imhfile.c:1486:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imhfile.c:1586:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imhfile.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] wcstools-3.9.7/libwcs/imhfile.c:348:38: style:inconclusive: Boolean expression 'naxis1==1' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] wcstools-3.9.7/libwcs/imhfile.c:976:38: style:inconclusive: Boolean expression 'naxis1==1' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] wcstools-3.9.7/libwcs/imhfile.c:1085:8: warning:inconclusive: The buffer 'newpixname' may not be null-terminated after the call to strncpy(). [terminateStrncpy] wcstools-3.9.7/libwcs/imhfile.c:687:12: style: The if condition is the same as the previous if condition [duplicateCondition] wcstools-3.9.7/libwcs/imhfile.c:677:12: note: First condition wcstools-3.9.7/libwcs/imhfile.c:687:12: note: Second condition wcstools-3.9.7/libwcs/imhfile.c:719:12: style: The if condition is the same as the previous if condition [duplicateCondition] wcstools-3.9.7/libwcs/imhfile.c:710:12: note: First condition wcstools-3.9.7/libwcs/imhfile.c:719:12: note: Second condition wcstools-3.9.7/libwcs/imhfile.c:1802:9: style: Condition '*ctest' is always true [knownConditionTrueFalse] wcstools-3.9.7/libwcs/imhfile.c:1800:13: note: Assignment 'itest=1', assigned value is 1 wcstools-3.9.7/libwcs/imhfile.c:1802:9: note: Condition '*ctest' is always true wcstools-3.9.7/libwcs/imhfile.c:900:6: error: Resource leak: fd [resourceLeak] wcstools-3.9.7/libwcs/imhfile.c:907:6: error: Resource leak: fd [resourceLeak] wcstools-3.9.7/libwcs/imhfile.c:997:6: error: Resource leak: fd [resourceLeak] wcstools-3.9.7/libwcs/imhfile.c:1004:6: error: Resource leak: fd [resourceLeak] wcstools-3.9.7/libwcs/imhfile.c:1387:13: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imhfile.c:1552:10: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imhfile.c:1020:9: style: Variable 'nbw' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/imhfile.c:1013:9: note: nbw is assigned wcstools-3.9.7/libwcs/imhfile.c:1020:9: note: nbw is overwritten wcstools-3.9.7/libwcs/imhfile.c:1285:13: style: Variable 'fitsend' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/imhfile.c:1282:13: note: fitsend is assigned wcstools-3.9.7/libwcs/imhfile.c:1285:13: note: fitsend is overwritten wcstools-3.9.7/libwcs/imhfile.c:185:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/imhfile.c:263:11: style: Variable 'bang' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:459:7: style: Parameter 'teststring' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/imhfile.c:492:41: style: Variable 'chead' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:495:19: style: Variable 'fhead1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:873:7: style: Parameter 'hdrname' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/imhfile.c:938:11: style: Variable 'bang' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:1032:7: style: Parameter 'pixname' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/imhfile.c:1033:7: style: Parameter 'hdrname' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/imhfile.c:1109:29: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:1109:40: style: Variable 'hdrdir' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:1110:11: style: Variable 'fitsend' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:1346:19: style: Variable 'cheader' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:1383:19: style: Variable 'cheader' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:1443:19: style: Variable 'cheader' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:1468:7: style: Parameter 'irafstring' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/imhfile.c:1517:11: style: Variable 'cn' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:1549:11: style: Variable 'cn' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:1601:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/imhfile.c:1623:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/imhfile.c:1709:25: style: Variable 'slast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:1732:19: style: Variable 'slast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:1762:19: style: Variable 'slast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imhfile.c:1797:11: style: Variable 'ctest' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:1491:9: style: Condition '*ctest' is always true [knownConditionTrueFalse] wcstools-3.9.7/libwcs/imio.c:1489:13: note: Assignment 'itest=1', assigned value is 1 wcstools-3.9.7/libwcs/imio.c:1491:9: note: Condition '*ctest' is always true wcstools-3.9.7/libwcs/imio.c:159:10: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:164:10: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:270:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:275:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:376:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:381:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:444:14: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:448:14: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:474:14: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:478:14: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:504:14: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:508:14: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:534:14: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:538:14: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:545:13: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:577:14: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:581:14: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:588:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:620:14: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:624:14: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:708:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:719:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:811:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:822:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:922:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:928:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:1050:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:1056:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:1119:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:1125:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:1218:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:1224:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:1326:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:1333:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imio.c:906:7: style: Variable 'imu' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/imio.c:903:10: note: imu is assigned wcstools-3.9.7/libwcs/imio.c:906:7: note: imu is overwritten wcstools-3.9.7/libwcs/imio.c:121:12: style: Variable 'im2' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:122:10: style: Variable 'im4' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:123:20: style: Variable 'im1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:124:21: style: Variable 'imu' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:125:12: style: Variable 'imr' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:126:13: style: Variable 'imd' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:330:20: style: Variable 'im1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:410:19: style: Variable 'imd1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:411:18: style: Variable 'imr1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:412:10: style: Variable 'imi1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:413:12: style: Variable 'ims1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:414:21: style: Variable 'imu1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:415:20: style: Variable 'imc1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:1399:25: style: Variable 'slast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:1422:19: style: Variable 'slast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:1452:19: style: Variable 'slast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:1486:11: style: Variable 'ctest' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imio.c:713:13: style: Variable 'imax2' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imio.c:1039:10: style: Variable 'imu' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imrotate.c:156:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imrotate.c:403:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imrotate.c:614:6: style: Local variable 'i' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/imrotate.c:376:9: note: Shadowed declaration wcstools-3.9.7/libwcs/imrotate.c:614:6: note: Shadow variable wcstools-3.9.7/libwcs/imrotate.c:374:10: style: Unused variable: ctype1 [unusedVariable] wcstools-3.9.7/libwcs/imrotate.c:374:22: style: Unused variable: ctype2 [unusedVariable] wcstools-3.9.7/libwcs/imsetwcs.c:238:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imsetwcs.c:433:7: warning:inconclusive: The buffer 'numstr' may not be null-terminated after the call to strncpy(). [terminateStrncpy] wcstools-3.9.7/libwcs/imsetwcs.c:548:6: style: The if condition is the same as the previous if condition [duplicateCondition] wcstools-3.9.7/libwcs/imsetwcs.c:536:6: note: First condition wcstools-3.9.7/libwcs/imsetwcs.c:548:6: note: Second condition wcstools-3.9.7/libwcs/imsetwcs.c:238:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:243:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:246:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:249:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:312:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:315:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:318:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:321:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:324:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:327:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:332:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:337:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:340:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:377:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:380:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:383:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/imsetwcs.c:768:21: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:769:22: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:770:20: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:771:22: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:772:20: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:773:20: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:774:20: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:856:20: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:857:21: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:858:21: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:859:22: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:863:9: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:865:8: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:867:21: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:868:19: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:869:19: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:888:19: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:889:19: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:890:19: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/imsetwcs.c:434:17: style: The comparison 'lofld > 0' is always false. [knownConditionTrueFalse] wcstools-3.9.7/libwcs/imsetwcs.c:139:17: note: 'lofld' is assigned value '0' here. wcstools-3.9.7/libwcs/imsetwcs.c:434:17: note: The comparison 'lofld > 0' is always false. wcstools-3.9.7/libwcs/imsetwcs.c:550:26: style: Local variable 'ra' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/imsetwcs.c:167:12: note: Shadowed declaration wcstools-3.9.7/libwcs/imsetwcs.c:550:26: note: Shadow variable wcstools-3.9.7/libwcs/imsetwcs.c:550:30: style: Local variable 'dec' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/imsetwcs.c:167:15: note: Shadowed declaration wcstools-3.9.7/libwcs/imsetwcs.c:550:30: note: Shadow variable wcstools-3.9.7/libwcs/imsetwcs.c:819:9: style: Local variable 'ra' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/imsetwcs.c:167:12: note: Shadowed declaration wcstools-3.9.7/libwcs/imsetwcs.c:819:9: note: Shadow variable wcstools-3.9.7/libwcs/imsetwcs.c:819:13: style: Local variable 'dec' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/imsetwcs.c:167:15: note: Shadowed declaration wcstools-3.9.7/libwcs/imsetwcs.c:819:13: note: Shadow variable wcstools-3.9.7/libwcs/imsetwcs.c:1140:7: style: Parameter 'cat' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/imsetwcs.c:1102:8: style: Variable 'dx' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imsetwcs.c:1103:8: style: Variable 'dy' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imsetwcs.c:1104:9: style: Variable 'dx2' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imsetwcs.c:1105:9: style: Variable 'dy2' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imsetwcs.c:1107:10: style: Variable 'rsep' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imsetwcs.c:1108:10: style: Variable 'dsep' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imsetwcs.c:1109:11: style: Variable 'rsep2' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imsetwcs.c:1110:11: style: Variable 'dsep2' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imsetwcs.c:1112:10: style: Variable 'sep2' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imsetwcs.c:1058:43: style: Unused variable: mag0 [unusedVariable] wcstools-3.9.7/libwcs/imutil.c:202:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imutil.c:473:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imutil.c:629:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imutil.c:745:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imutil.c:891:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imutil.c:977:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imutil.c:1065:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imutil.c:1151:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imutil.c:1237:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imutil.c:1345:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imutil.c:1457:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imutil.c:1935:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imutil.c:2043:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imutil.c:2536:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/imutil.c:841:21: style: Expression is always false because 'else if' condition matches previous condition at line 835. [multiCondition] wcstools-3.9.7/libwcs/imutil.c:308:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:310:7: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:354:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:355:7: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:512:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:516:7: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:517:7: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:544:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:548:7: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:549:7: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:657:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:658:7: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:675:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:676:7: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:776:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:778:7: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:798:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:799:7: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:856:10: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:862:10: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:1371:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:1373:7: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:1388:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:1389:7: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:1488:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:1490:7: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:1510:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:1511:7: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:1568:10: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:1574:10: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:1959:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:1960:7: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:1974:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:1975:7: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:2069:12: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:2071:7: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:2089:12: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:2090:7: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:2469:11: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:2473:11: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] wcstools-3.9.7/libwcs/imutil.c:446:33: style: Local variable 'bpvali2' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/imutil.c:101:14: note: Shadowed declaration wcstools-3.9.7/libwcs/imutil.c:446:33: note: Shadow variable wcstools-3.9.7/libwcs/imutil.c:478:49: style: Local variable 'bpvali4' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/imutil.c:102:12: note: Shadowed declaration wcstools-3.9.7/libwcs/imutil.c:478:49: note: Shadow variable wcstools-3.9.7/libwcs/imutil.c:510:33: style: Local variable 'bpvalr4' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/imutil.c:103:14: note: Shadowed declaration wcstools-3.9.7/libwcs/imutil.c:510:33: note: Shadow variable wcstools-3.9.7/libwcs/imutil.c:227:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:246:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:273:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:292:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:320:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:339:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:365:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:384:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:460:7: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:465:7: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:492:7: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:497:7: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:524:7: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:529:7: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:556:7: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:561:7: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] wcstools-3.9.7/libwcs/imutil.c:220:13: style: Variable 'bb' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:239:11: style: Variable 'bb' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:266:13: style: Variable 'bb' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:285:11: style: Variable 'bb' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:313:13: style: Variable 'bb' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:332:11: style: Variable 'bb' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:358:13: style: Variable 'bb' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:377:11: style: Variable 'bb' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:617:9: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:636:7: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:655:9: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:673:10: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:728:9: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:751:7: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:774:9: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:796:10: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:1333:9: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:1351:7: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:1369:9: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:1386:10: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:1440:9: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:1463:7: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:1486:9: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:1508:10: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:1924:9: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:1940:7: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:1956:9: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:1972:10: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:2027:9: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:2047:7: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:2067:9: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:2087:10: style: Variable 'b1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:2212:12: style: Variable 'img' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:2259:10: style: Variable 'img' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:2304:12: style: Variable 'img' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:2348:13: style: Variable 'img' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/imutil.c:2549:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/imutil.c:227:7: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:246:7: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:273:7: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:292:7: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:320:7: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:339:7: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:365:7: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:384:7: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:460:10: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:465:10: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:492:10: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:497:10: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:524:10: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:529:10: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:556:10: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:561:10: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] wcstools-3.9.7/libwcs/imutil.c:2601:6: style: Variable 'ny1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2811:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2813:5: style: Variable 'x' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2829:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2831:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2849:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2851:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2865:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2867:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2900:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2902:9: style: Variable 'x' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2925:9: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2927:9: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2967:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2969:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2980:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/imutil.c:2982:5: style: Variable 'y' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/lin.c:225:14: style: Parameter 'imgcrd' can be declared as const array [constParameter] wcstools-3.9.7/libwcs/lin.c:256:14: style: Parameter 'pixcrd' can be declared as const array [constParameter] wcstools-3.9.7/libwcs/lin.c:289:14: style: Parameter 'mat' can be declared as const array [constParameter] wcstools-3.9.7/libwcs/matchstar.c:174:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/matchstar.c:755:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/matchstar.c:976:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/matchstar.c:1127:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/matchstar.c:1485:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/matchstar.c:1757:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/matchstar.c:1478:17: style: Condition 'i<=nfit' is always true [knownConditionTrueFalse] wcstools-3.9.7/libwcs/matchstar.c:1475:19: note: Assuming that condition 'i<=nfit' is not redundant wcstools-3.9.7/libwcs/matchstar.c:1478:17: note: Condition 'i<=nfit' is always true wcstools-3.9.7/libwcs/matchstar.c:195:32: style: Local variable 'tol2' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/matchstar.c:138:12: note: Shadowed declaration wcstools-3.9.7/libwcs/matchstar.c:195:32: note: Shadow variable wcstools-3.9.7/libwcs/matchstar.c:389:11: style: Local variable 'i' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/matchstar.c:127:18: note: Shadowed declaration wcstools-3.9.7/libwcs/matchstar.c:389:11: note: Shadow variable wcstools-3.9.7/libwcs/matchstar.c:552:6: style: Local variable 'i' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/matchstar.c:127:18: note: Shadowed declaration wcstools-3.9.7/libwcs/matchstar.c:552:6: note: Shadow variable wcstools-3.9.7/libwcs/matchstar.c:554:9: style: Local variable 'mx' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/matchstar.c:118:13: note: Shadowed declaration wcstools-3.9.7/libwcs/matchstar.c:554:9: note: Shadow variable wcstools-3.9.7/libwcs/matchstar.c:554:13: style: Local variable 'my' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/matchstar.c:118:18: note: Shadowed declaration wcstools-3.9.7/libwcs/matchstar.c:554:13: note: Shadow variable wcstools-3.9.7/libwcs/matchstar.c:733:47: style: Local variable 'y' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/matchstar.c:1802:8: note: Shadowed declaration wcstools-3.9.7/libwcs/matchstar.c:733:47: note: Shadow variable wcstools-3.9.7/libwcs/matchstar.c:1272:6: style: Local variable 'i' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/matchstar.c:1102:9: note: Shadowed declaration wcstools-3.9.7/libwcs/matchstar.c:1272:6: note: Shadow variable wcstools-3.9.7/libwcs/matchstar.c:1272:9: style: Local variable 'j' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/matchstar.c:1111:14: note: Shadowed declaration wcstools-3.9.7/libwcs/matchstar.c:1272:9: note: Shadow variable wcstools-3.9.7/libwcs/matchstar.c:1389:12: style: Local variable 'y' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/matchstar.c:1802:8: note: Shadowed declaration wcstools-3.9.7/libwcs/matchstar.c:1389:12: note: Shadow variable wcstools-3.9.7/libwcs/matchstar.c:1652:7: style: Local variable 'rastr' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/matchstar.c:1395:10: note: Shadowed declaration wcstools-3.9.7/libwcs/matchstar.c:1652:7: note: Shadow variable wcstools-3.9.7/libwcs/matchstar.c:1652:18: style: Local variable 'decstr' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/matchstar.c:1395:20: note: Shadowed declaration wcstools-3.9.7/libwcs/matchstar.c:1652:18: note: Shadow variable wcstools-3.9.7/libwcs/matchstar.c:100:9: style: Parameter 'sx' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/matchstar.c:101:9: style: Parameter 'sy' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/matchstar.c:108:9: style: Parameter 'gx' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/matchstar.c:109:9: style: Parameter 'gy' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/matchstar.c:135:11: style: Variable 'vi' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/matchstar.c:953:9: style: Parameter 'sbx' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/matchstar.c:954:9: style: Parameter 'sby' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/matchstar.c:1109:11: style: Variable 'vi' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/matchstar.c:1688:9: style: Parameter 'v' can be declared as pointer to const. However it seems that 'wcs_chisqr' is a callback function, if 'v' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wcstools-3.9.7/libwcs/matchstar.c:1538:39: note: You might need to cast the function pointer here wcstools-3.9.7/libwcs/matchstar.c:1688:9: note: Parameter 'v' can be declared as pointer to const wcstools-3.9.7/libwcs/matchstar.c:962:9: style: Unused variable: nsc [unusedVariable] wcstools-3.9.7/libwcs/nut2006.c:135:12: style: Variable 'nals' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/nut2006.c:216:15: style: Variable 'cls' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/platefit.c:172:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/platefit.c:273:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/platepos.c:301:9: style: Parameter 'coeff' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/poly.c:45:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/poly.c:64:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg2 [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/poly.c:245:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg2 [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/poly.c:464:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg2 [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/poly.c:539:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msg2 [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/poly.c:43:19: style: Parameter 'msg1' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/poly.c:43:31: style: Parameter 'msg2' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/poly.c:62:50: style: Parameter 'degree' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/poly.c:162:33: style: Variable 'degreet' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/poly.c:242:52: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/poly.c:248:15: style: Variable 'xt' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/poly.c:343:45: style: Parameter 'cste' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/poly.c:348:27: style: Variable 'powerst' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/poly.c:866:33: style: Variable 'degreet' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/poly.c:180:9: error: Uninitialized variable: gexpo [uninitvar] wcstools-3.9.7/libwcs/poly.c:881:9: error: Uninitialized variable: gexpo [uninitvar] wcstools-3.9.7/libwcs/poly.c:113:51: style: Variable 'd' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/proj.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] wcstools-3.9.7/libwcs/proj.c:817:16: style: Condition 'tanset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:817:16: note: Calling function 'tanset' returns 0 wcstools-3.9.7/libwcs/proj.c:817:16: note: Condition 'tanset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:852:17: style: Condition 'tanset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:852:17: note: Calling function 'tanset' returns 0 wcstools-3.9.7/libwcs/proj.c:852:17: note: Condition 'tanset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:928:17: style: Condition 'stgset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:928:17: note: Calling function 'stgset' returns 0 wcstools-3.9.7/libwcs/proj.c:928:17: note: Condition 'stgset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:955:17: style: Condition 'stgset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:955:17: note: Calling function 'stgset' returns 0 wcstools-3.9.7/libwcs/proj.c:955:17: note: Condition 'stgset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:1026:17: style: Condition 'sinset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:1026:17: note: Calling function 'sinset' returns 0 wcstools-3.9.7/libwcs/proj.c:1026:17: note: Condition 'sinset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:1079:17: style: Condition 'sinset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:1079:17: note: Calling function 'sinset' returns 0 wcstools-3.9.7/libwcs/proj.c:1079:17: note: Condition 'sinset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:1218:17: style: Condition 'arcset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:1218:17: note: Calling function 'arcset' returns 0 wcstools-3.9.7/libwcs/proj.c:1218:17: note: Condition 'arcset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:1240:17: style: Condition 'arcset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:1240:17: note: Calling function 'arcset' returns 0 wcstools-3.9.7/libwcs/proj.c:1240:17: note: Condition 'arcset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:1569:17: style: Condition 'zeaset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:1569:17: note: Calling function 'zeaset' returns 0 wcstools-3.9.7/libwcs/proj.c:1569:17: note: Condition 'zeaset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:1592:17: style: Condition 'zeaset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:1592:17: note: Calling function 'zeaset' returns 0 wcstools-3.9.7/libwcs/proj.c:1592:17: note: Condition 'zeaset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:2073:17: style: Condition 'carset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:2073:17: note: Calling function 'carset' returns 0 wcstools-3.9.7/libwcs/proj.c:2073:17: note: Condition 'carset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:2092:17: style: Condition 'carset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:2092:17: note: Calling function 'carset' returns 0 wcstools-3.9.7/libwcs/proj.c:2092:17: note: Condition 'carset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:2153:17: style: Condition 'merset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:2153:17: note: Calling function 'merset' returns 0 wcstools-3.9.7/libwcs/proj.c:2153:17: note: Condition 'merset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:2176:17: style: Condition 'merset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:2176:17: note: Calling function 'merset' returns 0 wcstools-3.9.7/libwcs/proj.c:2176:17: note: Condition 'merset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:2237:17: style: Condition 'sflset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:2237:17: note: Calling function 'sflset' returns 0 wcstools-3.9.7/libwcs/proj.c:2237:17: note: Condition 'sflset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:2258:17: style: Condition 'sflset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:2258:17: note: Calling function 'sflset' returns 0 wcstools-3.9.7/libwcs/proj.c:2258:17: note: Condition 'sflset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:2332:17: style: Condition 'parset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:2332:17: note: Calling function 'parset' returns 0 wcstools-3.9.7/libwcs/proj.c:2332:17: note: Condition 'parset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:2354:17: style: Condition 'parset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:2354:17: note: Calling function 'parset' returns 0 wcstools-3.9.7/libwcs/proj.c:2354:17: note: Condition 'parset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:2435:17: style: Condition 'molset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:2435:17: note: Calling function 'molset' returns 0 wcstools-3.9.7/libwcs/proj.c:2435:17: note: Condition 'molset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:2482:17: style: Condition 'molset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:2482:17: note: Calling function 'molset' returns 0 wcstools-3.9.7/libwcs/proj.c:2482:17: note: Condition 'molset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:2578:17: style: Condition 'aitset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:2578:17: note: Calling function 'aitset' returns 0 wcstools-3.9.7/libwcs/proj.c:2578:17: note: Condition 'aitset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:2602:17: style: Condition 'aitset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:2602:17: note: Calling function 'aitset' returns 0 wcstools-3.9.7/libwcs/proj.c:2602:17: note: Condition 'aitset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:3221:17: style: Condition 'bonset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:3221:17: note: Calling function 'bonset' returns 0 wcstools-3.9.7/libwcs/proj.c:3221:17: note: Condition 'bonset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:3250:17: style: Condition 'bonset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:3250:17: note: Calling function 'bonset' returns 0 wcstools-3.9.7/libwcs/proj.c:3250:17: note: Condition 'bonset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:3331:17: style: Condition 'pcoset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:3331:17: note: Calling function 'pcoset' returns 0 wcstools-3.9.7/libwcs/proj.c:3331:17: note: Condition 'pcoset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:3364:17: style: Condition 'pcoset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:3364:17: note: Calling function 'pcoset' returns 0 wcstools-3.9.7/libwcs/proj.c:3364:17: note: Condition 'pcoset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:3494:17: style: Condition 'tscset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:3494:17: note: Calling function 'tscset' returns 0 wcstools-3.9.7/libwcs/proj.c:3494:17: note: Condition 'tscset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:3588:17: style: Condition 'tscset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:3588:17: note: Calling function 'tscset' returns 0 wcstools-3.9.7/libwcs/proj.c:3588:17: note: Condition 'tscset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:3727:17: style: Condition 'cscset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:3727:17: note: Calling function 'cscset' returns 0 wcstools-3.9.7/libwcs/proj.c:3727:17: note: Condition 'cscset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:3875:17: style: Condition 'cscset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:3875:17: note: Calling function 'cscset' returns 0 wcstools-3.9.7/libwcs/proj.c:3875:17: note: Condition 'cscset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:4035:17: style: Condition 'qscset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:4035:17: note: Calling function 'qscset' returns 0 wcstools-3.9.7/libwcs/proj.c:4035:17: note: Condition 'qscset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:4211:17: style: Condition 'qscset(prj)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/proj.c:4211:17: note: Calling function 'qscset' returns 0 wcstools-3.9.7/libwcs/proj.c:4211:17: note: Condition 'qscset(prj)' is always false wcstools-3.9.7/libwcs/proj.c:295:12: style: Parameter 'pcode' can be declared as const array [constParameter] wcstools-3.9.7/libwcs/proj.c:1293:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/proj.c:4283:11: style: Variable 'rhu' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/range.c:106:13: style: Condition 'first<1' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/range.c:90:11: note: Assignment 'first=1.0', assigned value is 1.0 wcstools-3.9.7/libwcs/range.c:106:13: note: Condition 'first<1' is always false wcstools-3.9.7/libwcs/range.c:502:15: style: Condition 'lval>0' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/range.c:499:14: note: Assuming that condition 'lval<0' is not redundant wcstools-3.9.7/libwcs/range.c:502:15: note: Condition 'lval>0' is always false wcstools-3.9.7/libwcs/range.c:203:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/range.c:244:15: style: Parameter 'range' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/range.c:355:7: style: Parameter 'keyword0' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/range.c:561:9: style: Parameter 'bv' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/range.c:602:9: style: Parameter 'br' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/range.c:650:7: style: Parameter 'ranges' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/range.c:651:7: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/range.c:852:11: style: Variable 'catalog' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/range.c:987:9: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/range.c:988:9: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/range.c:1131:9: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/range.c:369:24: style: Unused variable: fkey [unusedVariable] wcstools-3.9.7/libwcs/range.c:819:11: style: Variable 'csign' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/sdssread.c:165:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/sdssread.c:216:11: style: Parameter 'csvbuff' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/sdssread.c:219:10: style: Variable 'colhead' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/sdssread.c:220:10: style: Variable 'colsep' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/sdsssql.c:141:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/sdsssql.c:115:14: error: Buffer is accessed out of bounds: temp [bufferAccessOutOfBounds] wcstools-3.9.7/libwcs/sdsssql.c:192:11: style: Parameter 'csvbuff' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/sdsssql.c:195:10: style: Variable 'colhead' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/sdsssql.c:196:10: style: Variable 'colsep' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/shrink.c:91:6: error: Unmatched '}'. Configuration: '__GNUC__=1'. [syntaxError] wcstools-3.9.7/libwcs/skybotread.c:240:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/skybotread.c:420:17: style: Condition '*dbuff==cbar' is always true [knownConditionTrueFalse] wcstools-3.9.7/libwcs/skybotread.c:415:20: note: Assuming that condition '*dbuff!=cbar' is not redundant wcstools-3.9.7/libwcs/skybotread.c:420:17: note: Condition '*dbuff==cbar' is always true wcstools-3.9.7/libwcs/skybotread.c:129:11: style: Variable 'obs' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/skybotread.c:130:11: style: Variable 'dstr' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/skybotread.c:291:11: style: Parameter 'skybuff' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/skybotread.c:301:11: style: Variable 'lastbuff' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/skybotread.c:303:11: style: Variable 'colend' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/skybotread.c:306:11: style: Variable 'tbuffi' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/skybotread.c:128:10: style: Unused variable: cmag [unusedVariable] wcstools-3.9.7/libwcs/skybotread.c:133:12: style: Unused variable: dtemp [unusedVariable] wcstools-3.9.7/libwcs/skybotread.c:315:15: style: Variable 'ccom' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/skybotread.c:293:11: style: Unused variable: heading [unusedVariable] wcstools-3.9.7/libwcs/skybotread.c:298:11: style: Unused variable: databuff [unusedVariable] wcstools-3.9.7/libwcs/skybotread.c:302:11: style: Unused variable: endhead [unusedVariable] wcstools-3.9.7/libwcs/skybotread.c:304:11: style: Unused variable: chead [unusedVariable] wcstools-3.9.7/libwcs/skybotread.c:305:11: style: Unused variable: head [unusedVariable] wcstools-3.9.7/libwcs/skybotread.c:309:16: style: Unused variable: ldata [unusedVariable] wcstools-3.9.7/libwcs/skybotread.c:313:11: style: Unused variable: buff [unusedVariable] wcstools-3.9.7/libwcs/sortstar.c:900:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/sortstar.c:1082:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/sortstar.c:299:2: error: Memory leak: stars [memleak] wcstools-3.9.7/libwcs/sph.c:105:24: style: Parameter 'eul' can be declared as const array [constParameter] wcstools-3.9.7/libwcs/sph.c:165:26: style: Parameter 'eul' can be declared as const array [constParameter] wcstools-3.9.7/libwcs/str2ang.c:84:11: style: Variable 'c1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/str2dcpp.c:94:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/str2dsun.c:83:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONST [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tabread.c:182:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tabread.c:516:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tabread.c:836:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tabread.c:1025:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tabread.c:1144:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tabread.c:1646:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tabread.c:1734:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tabread.c:1966:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tabread.c:2250:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tabread.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] wcstools-3.9.7/libwcs/tabread.c:2260:17: style: Condition 'ilineiline' is always true [knownConditionTrueFalse] wcstools-3.9.7/libwcs/tabread.c:2243:12: note: Assuming that condition 'iline==tabtable->iline' is not redundant wcstools-3.9.7/libwcs/tabread.c:2260:17: note: Condition 'ilineiline' is always true wcstools-3.9.7/libwcs/tabread.c:186:2: error: Memory leak: tdist [memleak] wcstools-3.9.7/libwcs/tabread.c:1988:6: error: Memory leak: tabname [memleak] wcstools-3.9.7/libwcs/tabread.c:1997:6: error: Memory leak: tabname [memleak] wcstools-3.9.7/libwcs/tabread.c:2011:2: error: Resource leak: fcat [resourceLeak] wcstools-3.9.7/libwcs/tabread.c:2011:2: error: Memory leak: tabname [memleak] wcstools-3.9.7/libwcs/tabread.c:2231:22: warning: Either the condition 'tabtable==NULL' is redundant or there is possible null pointer dereference: tabtable. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/tabread.c:2236:18: note: Assuming that condition 'tabtable==NULL' is not redundant wcstools-3.9.7/libwcs/tabread.c:2231:22: note: Null pointer dereference wcstools-3.9.7/libwcs/tabread.c:446:11: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/tabread.c:1360:12: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/tabread.c:1344:8: note: i is assigned wcstools-3.9.7/libwcs/tabread.c:1360:12: note: i is overwritten wcstools-3.9.7/libwcs/tabread.c:1683:16: style: Variable 'sc->nndec' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/tabread.c:1678:14: note: sc->nndec is assigned wcstools-3.9.7/libwcs/tabread.c:1683:16: note: sc->nndec is overwritten wcstools-3.9.7/libwcs/tabread.c:541:8: style: Variable 'revmessage' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/tabread.c:1121:9: style: Parameter 'tnum' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/tabread.c:1950:22: style: Variable 'nextline' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/tabread.c:2231:11: style: Variable 'nextline' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/tabread.c:2232:11: style: Variable 'next' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/tabread.c:2473:11: style: Variable 'str0' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/tabread.c:2473:18: style: Variable 'str1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/tabread.c:2533:11: style: Variable 'endcol' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/tabread.c:2536:11: style: Variable 'hyphlast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/tabread.c:2609:7: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/tabread.c:2633:7: style: Parameter 'keyword' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/tabread.c:2696:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/tabread.c:526:8: style: Variable 'eqref' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/tabread.c:528:8: style: Variable 'eqref' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/tabread.c:534:9: style: Variable 'sysref' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/tabread.c:536:9: style: Variable 'sysref' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/tabread.c:939:8: style: Variable 'peak' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/tabread.c:941:8: style: Variable 'peak' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/tabread.c:2135:13: style: Variable 'tabcstr[1]' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/tabread.c:2287:11: style: Variable 'nextline' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/tabread.c:2559:6: style: Variable 'nba' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/tabread.c:2561:6: style: Variable 'nba' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/tabsort.c:64:9: error: Unmatched '('. Configuration: '__GNUC__=1'. [syntaxError] wcstools-3.9.7/libwcs/tmcread.c:204:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tmcread.c:596:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tmcread.c:808:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tmcread.c:1008:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tmcread.c:1108:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tmcread.c:1246:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tmcread.c:1307:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tmcread.c:1413:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tmcread.c:1228:9: style: Condition 'debug' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/tmcread.c:1225:17: note: Assignment 'debug=0', assigned value is 0 wcstools-3.9.7/libwcs/tmcread.c:1228:9: note: Condition 'debug' is always false wcstools-3.9.7/libwcs/tmcread.c:1252:15: style: Condition 'nrep>20' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/tmcread.c:1236:36: note: Assuming that condition 'nrep<20' is not redundant wcstools-3.9.7/libwcs/tmcread.c:1241:14: note: Assuming condition is false wcstools-3.9.7/libwcs/tmcread.c:1252:15: note: Condition 'nrep>20' is always false wcstools-3.9.7/libwcs/tmcread.c:1302:9: style: Condition 'debug' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/tmcread.c:1297:17: note: Assignment 'debug=0', assigned value is 0 wcstools-3.9.7/libwcs/tmcread.c:1302:9: note: Condition 'debug' is always false wcstools-3.9.7/libwcs/tmcread.c:1313:9: style: Variable 'ra0' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/tmcread.c:1300:9: note: ra0 is assigned wcstools-3.9.7/libwcs/tmcread.c:1313:9: note: ra0 is overwritten wcstools-3.9.7/libwcs/tmcread.c:103:10: style: Variable 'inpath' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/tmcread.c:237:8: style: Variable 'revmessage' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/tmcread.c:537:10: style: Variable 'inpath' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/tmcread.c:687:10: style: Variable 'inpath' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/tmcread.c:299:50: error: Uninitialized variable: inpath [uninitvar] wcstools-3.9.7/libwcs/tmcread.c:596:53: error: Uninitialized variable: inpath [uninitvar] wcstools-3.9.7/libwcs/tmcread.c:656:15: warning: Uninitialized variables: starcat.star0, starcat.star1, starcat.nstars, starcat.stnum, starcat.mprop, starcat.nmag, starcat.nbent, starcat.rasorted, starcat.ignore, starcat.ifcat, starcat.byteswapped, starcat.refcat, starcat.coorsys, starcat.epoch, starcat.equinox, starcat.inform, starcat.ncobj, starcat.nnfld, starcat.nndec, starcat.nepoch, starcat.sptype, starcat.plate, starcat.catbuff, starcat.catdata, starcat.catline, starcat.catlast, starcat.istar, starcat.startab, starcat.entid, starcat.entra, starcat.entdec, starcat.entpeak, starcat.entepoch, starcat.entdate, starcat.entname, starcat.entadd, starcat.entrpm, starcat.entdpm, starcat.entpx, starcat.entpxe, starcat.entrv, starcat.enttype, starcat.entsize, starcat.entpath, starcat.rpmunit, starcat.dpmunit, starcat.caturl [uninitvar] wcstools-3.9.7/libwcs/tmcread.c:592:27: note: Assuming condition is false wcstools-3.9.7/libwcs/tmcread.c:656:15: note: Uninitialized variables: starcat.star0, starcat.star1, starcat.nstars, starcat.stnum, starcat.mprop, starcat.nmag, starcat.nbent, starcat.rasorted, starcat.ignore, starcat.ifcat, starcat.byteswapped, starcat.refcat, starcat.coorsys, starcat.epoch, starcat.equinox, starcat.inform, starcat.ncobj, starcat.nnfld, starcat.nndec, starcat.nepoch, starcat.sptype, starcat.plate, starcat.catbuff, starcat.catdata, starcat.catline, starcat.catlast, starcat.istar, starcat.startab, starcat.entid, starcat.entra, starcat.entdec, starcat.entpeak, starcat.entepoch, starcat.entdate, starcat.entname, starcat.entadd, starcat.entrpm, starcat.entdpm, starcat.entpx, starcat.entpxe, starcat.entrv, starcat.enttype, starcat.entsize, starcat.entpath, starcat.rpmunit, starcat.dpmunit, starcat.caturl wcstools-3.9.7/libwcs/tmcread.c:819:49: error: Uninitialized variable: inpath [uninitvar] wcstools-3.9.7/libwcs/tmcread.c:1247:23: error: Uninitialized variable: decstrx [uninitvar] wcstools-3.9.7/libwcs/tmcread.c:785:10: style: Variable 'magsort' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/tmcread.c:787:10: style: Variable 'magsort' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/tnxpos.c:653:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tnxpos.c:746:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tnxpos.c:949:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tnxpos.c:1188:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/tnxpos.c:584:3: error: Common realloc mistake: 'coeff' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/libwcs/tnxpos.c:832:6: error: Common realloc mistake: 'coeff' nulled but not freed upon failure [memleakOnRealloc] wcstools-3.9.7/libwcs/tnxpos.c:563:13: style: Local variable 'coeff' shadows outer variable [shadowVariable] wcstools-3.9.7/libwcs/tnxpos.c:720:16: note: Shadowed declaration wcstools-3.9.7/libwcs/tnxpos.c:563:13: note: Shadow variable wcstools-3.9.7/libwcs/tnxpos.c:940:9: style: Parameter 'fit' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/tnxpos.c:1148:9: style: Parameter 'coeff' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/ty2read.c:165:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ty2read.c:517:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ty2read.c:680:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ty2read.c:918:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ty2read.c:994:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ty2read.c:1213:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ty2read.c:1311:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ty2read.c:132:2: warning:inconclusive: The buffer 'ty2cd' may not be null-terminated after the call to strncpy(). [terminateStrncpy] wcstools-3.9.7/libwcs/ty2read.c:693:2: warning:inconclusive: The buffer 'ty2cd' may not be null-terminated after the call to strncpy(). [terminateStrncpy] wcstools-3.9.7/libwcs/ty2read.c:1342:2: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/ty2read.c:98:10: style: Variable 'inpath' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/ty2read.c:120:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ty2read.c:191:8: style: Variable 'revmessage' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ty2read.c:474:10: style: Variable 'inpath' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/ty2read.c:646:10: style: Variable 'inpath' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/ty2read.c:666:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ty2read.c:884:11: style: Variable 'line' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ty2read.c:885:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ty2read.c:960:11: style: Variable 'line' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ty2read.c:961:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ty2read.c:1189:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ty2read.c:1306:11: style: Variable 'line' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ty2read.c:1394:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/ty2read.c:251:50: error: Uninitialized variable: inpath [uninitvar] wcstools-3.9.7/libwcs/ty2read.c:517:50: error: Uninitialized variable: inpath [uninitvar] wcstools-3.9.7/libwcs/ty2read.c:759:49: error: Uninitialized variable: inpath [uninitvar] wcstools-3.9.7/libwcs/uacread.c:267:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/uacread.c:673:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/uacread.c:882:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/uacread.c:1118:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/uacread.c:1269:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/uacread.c:1317:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/uacread.c:1376:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/uacread.c:1414:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/uacread.c:1251:9: style: Condition 'debug' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/uacread.c:1248:17: note: Assignment 'debug=0', assigned value is 0 wcstools-3.9.7/libwcs/uacread.c:1251:9: note: Condition 'debug' is always false wcstools-3.9.7/libwcs/uacread.c:1275:15: style: Condition 'nrep>20' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/uacread.c:1259:36: note: Assuming that condition 'nrep<20' is not redundant wcstools-3.9.7/libwcs/uacread.c:1264:13: note: Assuming condition is false wcstools-3.9.7/libwcs/uacread.c:1275:15: note: Condition 'nrep>20' is always false wcstools-3.9.7/libwcs/uacread.c:217:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/uacread.c:308:8: style: Variable 'revmessage' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/uacread.c:631:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/uacread.c:778:7: style: Parameter 'refcatname' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/uacread.c:821:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/uacread.c:1440:15: style: Variable 'slast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/uacread.c:1270:22: error: Uninitialized variable: rastrx [uninitvar] wcstools-3.9.7/libwcs/ubcread.c:184:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ubcread.c:657:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ubcread.c:839:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ubcread.c:1127:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ubcread.c:1326:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ubcread.c:1374:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ubcread.c:1430:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ubcread.c:1453:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ubcread.c:1308:9: style: Condition 'debug' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/ubcread.c:1305:17: note: Assignment 'debug=0', assigned value is 0 wcstools-3.9.7/libwcs/ubcread.c:1308:9: note: Condition 'debug' is always false wcstools-3.9.7/libwcs/ubcread.c:498:23: style: Variable 'udec[farstar]' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/ubcread.c:497:23: note: udec[farstar] is assigned wcstools-3.9.7/libwcs/ubcread.c:498:23: note: udec[farstar] is overwritten wcstools-3.9.7/libwcs/ubcread.c:160:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ubcread.c:236:8: style: Variable 'revmessage' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ubcread.c:641:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ubcread.c:768:7: style: Parameter 'refcatname' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/ubcread.c:815:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ubcread.c:1479:15: style: Variable 'slast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ubcread.c:1327:22: error: Uninitialized variable: rastrx [uninitvar] wcstools-3.9.7/libwcs/ubcread.c:409:11: style: Variable 'rapm0' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ubcread.c:410:12: style: Variable 'decpm0' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ubcread.c:997:13: style: Variable 'pmni' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ubcread.c:1001:10: style: Variable 'rapm' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ubcread.c:1002:11: style: Variable 'decpm' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ubcread.c:1003:11: style: Variable 'rapm0' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ubcread.c:1004:12: style: Variable 'decpm0' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ucacread.c:322:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ucacread.c:793:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ucacread.c:1029:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ucacread.c:1218:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ucacread.c:1276:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ucacread.c:1332:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ucacread.c:1556:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ucacread.c:1488:27: style: Comparing expression of type 'unsigned short' against value -1000. Condition is always false. [compareValueOutOfTypeRangeError] wcstools-3.9.7/libwcs/ucacread.c:1257:7: style: Condition 'debug' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/ucacread.c:1245:15: note: Assignment 'debug=0', assigned value is 0 wcstools-3.9.7/libwcs/ucacread.c:1257:7: note: Condition 'debug' is always false wcstools-3.9.7/libwcs/ucacread.c:1488:24: style: Condition 'us4.mag_j<-1000' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/ucacread.c:1488:45: style: Condition 'us4.mag_h<-1000' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/ucacread.c:1488:67: style: Condition 'us4.mag_k<-1000' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/ucacread.c:1796:9: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] wcstools-3.9.7/libwcs/ucacread.c:351:2: error: Memory leak: star [memleak] wcstools-3.9.7/libwcs/ucacread.c:1031:5: error: Memory leak: star [memleak] wcstools-3.9.7/libwcs/ucacread.c:1415:7: error: Memory leak: sc [memleak] wcstools-3.9.7/libwcs/ucacread.c:1446:7: error: Memory leak: sc [memleak] wcstools-3.9.7/libwcs/ucacread.c:1476:7: error: Memory leak: sc [memleak] wcstools-3.9.7/libwcs/ucacread.c:1512:11: warning: Possible null pointer dereference: sc [nullPointer] wcstools-3.9.7/libwcs/ucacread.c:778:15: note: Assignment 'starcat=NULL', assigned value is 0 wcstools-3.9.7/libwcs/ucacread.c:781:27: note: Assuming condition is false wcstools-3.9.7/libwcs/ucacread.c:884:14: note: Calling function 'ucacclose', 1st argument 'starcat' value is 0 wcstools-3.9.7/libwcs/ucacread.c:1512:11: note: Null pointer dereference wcstools-3.9.7/libwcs/ucacread.c:748:7: style: Variable 'nmag' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/ucacread.c:741:7: note: nmag is assigned wcstools-3.9.7/libwcs/ucacread.c:748:7: note: nmag is overwritten wcstools-3.9.7/libwcs/ucacread.c:356:8: style: Variable 'revmessage' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ucacread.c:897:12: style: Parameter 'refcatname' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/ucacread.c:1277:35: error: Uninitialized variable: rastrx [uninitvar] wcstools-3.9.7/libwcs/ucacread.c:56:34: style: struct member 'UCAC2star::rflg' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:56:46: style: struct member 'UCAC2star::cflg' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:57:9: style: struct member 'UCAC2star::epra' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:57:15: style: struct member 'UCAC2star::epdec' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:59:32: style: struct member 'UCAC2star::qrapm' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:59:39: style: struct member 'UCAC2star::qdecpm' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:60:7: style: struct member 'UCAC2star::id2m' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:61:27: style: struct member 'UCAC2star::qm' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:61:31: style: struct member 'UCAC2star::cc' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:66:21: style: struct member 'UCAC3star::sigmag' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:67:8: style: struct member 'UCAC3star::objt' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:67:14: style: struct member 'UCAC3star::dsf' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:69:8: style: struct member 'UCAC3star::na1' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:69:23: style: struct member 'UCAC3star::cn1' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:70:9: style: struct member 'UCAC3star::cepra' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:70:16: style: struct member 'UCAC3star::cepdec' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:73:7: style: struct member 'UCAC3star::id2m' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:75:8: style: struct member 'UCAC3star::jq' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:75:12: style: struct member 'UCAC3star::hq' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:75:16: style: struct member 'UCAC3star::kq' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:76:8: style: struct member 'UCAC3star::e2mpho' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:78:8: style: struct member 'UCAC3star::clbl' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:79:8: style: struct member 'UCAC3star::bq' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:79:12: style: struct member 'UCAC3star::rq' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:79:16: style: struct member 'UCAC3star::iq' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:80:8: style: struct member 'UCAC3star::catflg' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:81:8: style: struct member 'UCAC3star::g1' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:81:12: style: struct member 'UCAC3star::c1' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:81:16: style: struct member 'UCAC3star::leda' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:81:22: style: struct member 'UCAC3star::x2m' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:82:7: style: struct member 'UCAC3star::rn' is never used. [unusedStructMember] wcstools-3.9.7/libwcs/ucacread.c:333:11: style: Variable 'jstar' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ucacread.c:462:9: style: Variable 'nread' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ucacread.c:1016:9: style: Variable 'jstar' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ucacread.c:1061:15: style: Variable 'nread' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ucacread.c:1243:29: style: Unused variable: rdiff [unusedVariable] wcstools-3.9.7/libwcs/ucacread.c:1243:36: style: Unused variable: rdiff1 [unusedVariable] wcstools-3.9.7/libwcs/ucacread.c:1243:44: style: Unused variable: rdiff2 [unusedVariable] wcstools-3.9.7/libwcs/ucacread.c:1243:52: style: Unused variable: sdiff [unusedVariable] wcstools-3.9.7/libwcs/ucacread.c:1762:20: style: Variable 'lineLen' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/ujcread.c:167:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ujcread.c:440:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ujcread.c:588:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ujcread.c:780:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ujcread.c:882:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ujcread.c:930:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ujcread.c:984:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ujcread.c:1007:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/ujcread.c:888:15: style: Condition 'nrep>20' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/ujcread.c:872:36: note: Assuming that condition 'nrep<20' is not redundant wcstools-3.9.7/libwcs/ujcread.c:877:13: note: Assuming condition is false wcstools-3.9.7/libwcs/ujcread.c:888:15: note: Condition 'nrep>20' is always false wcstools-3.9.7/libwcs/ujcread.c:375:11: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/libwcs/ujcread.c:538:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/ujcread.c:1033:15: style: Variable 'slast' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/wcs.c:1220:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/wcs.c:1595:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/wcs.c:2497:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/wcs.c:201:17: style: Condition 'wcstype(wcs,wcs->ctype[0],wcs->ctype[1])' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/wcs.c:201:17: note: Calling function 'wcstype' returns 0 wcstools-3.9.7/libwcs/wcs.c:201:17: note: Condition 'wcstype(wcs,wcs->ctype[0],wcs->ctype[1])' is always false wcstools-3.9.7/libwcs/wcs.c:282:17: style: Condition 'wcstype(wcs,ctype1,ctype2)' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/wcs.c:282:17: note: Calling function 'wcstype' returns 0 wcstools-3.9.7/libwcs/wcs.c:282:17: note: Condition 'wcstype(wcs,ctype1,ctype2)' is always false wcstools-3.9.7/libwcs/wcs.c:191:25: warning: Either the condition 'proj' is redundant or there is possible null pointer dereference: proj. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/wcs.c:189:12: note: Assuming that condition 'proj' is not redundant wcstools-3.9.7/libwcs/wcs.c:191:25: note: Null pointer dereference wcstools-3.9.7/libwcs/wcs.c:195:21: warning: Either the condition 'proj' is redundant or there is possible null pointer dereference: proj. [nullPointerRedundantCheck] wcstools-3.9.7/libwcs/wcs.c:189:12: note: Assuming that condition 'proj' is not redundant wcstools-3.9.7/libwcs/wcs.c:195:21: note: Null pointer dereference wcstools-3.9.7/libwcs/wcs.c:1164:19: style: Parameter 'wcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/wcs.c:1551:7: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/wcs.c:1584:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/wcs.c:1586:7: style: Parameter 'wcstring' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/wcs.c:1591:22: style: Variable 'posform' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/wcs.c:2468:19: style: Parameter 'wcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/wcs.c:2476:7: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/wcs.c:2490:7: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/wcs.c:2518:7: style: Parameter 'wcscoor' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/wcs.c:2533:7: style: Parameter 'wcscom' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/wcs.c:2610:7: style: Parameter 'cwcs' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/wcs.c:588:34: style: Variable 'iproj' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/wcscon.c:1117:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/wcscon.c:1401:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/wcscon.c:1476:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/wcscon.c:1532:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/wcscon.c:1605:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/wcscon.c:1656:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/wcscon.c:159:10: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] wcstools-3.9.7/libwcs/wcscon.c:148:29: note: outer condition: eq1==eq2 wcstools-3.9.7/libwcs/wcscon.c:159:10: note: opposite inner condition: eq1!=eq2 wcstools-3.9.7/libwcs/wcscon.c:716:7: style: Parameter 'wcstring' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/wcscon.c:2085:50: style: Variable 'wmi' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/wcscon.c:2244:8: style: Parameter 'pos' can be declared as const array [constParameter] wcstools-3.9.7/libwcs/wcscon.c:385:11: style: Variable 'ep1' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/wcsinit.c:85:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/wcsinit.c:343:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/wcsinit.c:793:19: error: Array 'wcs->prj.ppv[200]' accessed at index 200, which is out of bounds. [arrayIndexOutOfBounds] wcstools-3.9.7/libwcs/wcsinit.c:794:49: error: Array 'wcs->prj.ppv[200]' accessed at index 200, which is out of bounds. [arrayIndexOutOfBounds] wcstools-3.9.7/libwcs/wcsinit.c:146:13: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/wcsinit.c:218:7: style: Parameter 'wchar' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/wcsinit.c:1344:7: style: Parameter 'mchar' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/wcslib.c:427:12: style: Parameter 'ctype' can be declared as const array [constParameter] wcstools-3.9.7/libwcs/wcslib.c:432:9: style: Variable 'aliases' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/wcslib.c:559:14: style: Parameter 'crval' can be declared as const array [constParameter] wcstools-3.9.7/libwcs/wcslib.c:653:14: style: Parameter 'crval' can be declared as const array [constParameter] wcstools-3.9.7/libwcs/wcslib.c:749:14: style: Parameter 'vspan' can be declared as const array [constParameter] wcstools-3.9.7/libwcs/wcstrig.c:171:20: style: Expression is always true because 'else if' condition is opposite to previous condition at line 169. [multiCondition] wcstools-3.9.7/libwcs/wcstrig.c:169:13: note: first condition wcstools-3.9.7/libwcs/wcstrig.c:171:20: note: else if condition is opposite to first condition wcstools-3.9.7/libwcs/webread.c:183:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/webread.c:360:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/webread.c:438:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/webread.c:658:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/webread.c:976:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] wcstools-3.9.7/libwcs/webread.c:959:21: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] wcstools-3.9.7/libwcs/webread.c:973:15: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] wcstools-3.9.7/libwcs/webread.c:906:12: warning: Either the condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] wcstools-3.9.7/libwcs/webread.c:900:48: note: Assuming that condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is not redundant wcstools-3.9.7/libwcs/webread.c:906:12: note: Invalid argument wcstools-3.9.7/libwcs/webread.c:913:12: warning: Either the condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] wcstools-3.9.7/libwcs/webread.c:910:47: note: Assuming that condition '(xfd=socket(AF_INET,SOCK_STREAM,0))<0' is not redundant wcstools-3.9.7/libwcs/webread.c:913:12: note: Invalid argument wcstools-3.9.7/libwcs/webread.c:673:17: style: Condition 'newpath!=urlpath' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/webread.c:667:13: note: newpath is assigned 'urlpath' here. wcstools-3.9.7/libwcs/webread.c:673:17: note: Condition 'newpath!=urlpath' is always false wcstools-3.9.7/libwcs/webread.c:726:14: style: Condition 'newpath!=urlpath' is always false [knownConditionTrueFalse] wcstools-3.9.7/libwcs/webread.c:720:10: note: newpath is assigned 'urlpath' here. wcstools-3.9.7/libwcs/webread.c:726:14: note: Condition 'newpath!=urlpath' is always false wcstools-3.9.7/libwcs/webread.c:679:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] wcstools-3.9.7/libwcs/webread.c:783:28: style: Checking if unsigned expression 'strlen(linebuff)' is less than zero. [unsignedLessThanZero] wcstools-3.9.7/libwcs/webread.c:84:7: style: Parameter 'refcatname' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/webread.c:313:10: style: Variable 'csys' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/webread.c:408:7: style: Parameter 'caturl' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/webread.c:409:7: style: Parameter 'srchpar' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/libwcs/webread.c:416:52: style: Variable 'tabold' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/webread.c:619:11: style: Variable 'cbcont' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/webread.c:930:21: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/webread.c:957:22: style: Variable 'service' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/libwcs/webread.c:1043:17: style: Variable 'hex' can be declared as const array [constVariable] wcstools-3.9.7/libwcs/webread.c:347:69: warning: Uninitialized variable: numlist [uninitvar] wcstools-3.9.7/libwcs/webread.c:334:16: note: Assuming condition is false wcstools-3.9.7/libwcs/webread.c:347:69: note: Uninitialized variable: numlist wcstools-3.9.7/libwcs/webread.c:347:77: error: Uninitialized variable: csys [uninitvar] wcstools-3.9.7/libwcs/webread.c:415:27: style: Variable 'lbuff0' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/webread.c:493:13: style: Variable 'lbuff0' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/webread.c:829:13: style: Variable 'lread' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/webread.c:614:9: style: Unused variable: lcom [unusedVariable] wcstools-3.9.7/libwcs/webread.c:620:11: style: Unused variable: newserver [unusedVariable] wcstools-3.9.7/libwcs/webread.c:621:11: style: Unused variable: sokptr [unusedVariable] wcstools-3.9.7/libwcs/webread.c:992:15: style: Variable 'notab' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/webread.c:1029:8: style: Variable 'notab' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/libwcs/zpxpos.c:429:10: style: Variable 'lambda' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/libwcs/zpxpos.c:428:10: note: lambda is assigned wcstools-3.9.7/libwcs/zpxpos.c:429:10: note: lambda is overwritten wcstools-3.9.7/libwcs/zpxpos.c:429:10: style: Variable 'lambda' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/matchcat.c:41:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] wcstools-3.9.7/matchcat.c:104:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/matchcat.c:210:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/matchcat.c:125:11: style: Variable 'ltok' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/matchcat.c:124:11: note: ltok is assigned wcstools-3.9.7/matchcat.c:125:11: note: ltok is overwritten wcstools-3.9.7/matchcat.c:126:11: style: Variable 'ltok' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/matchcat.c:125:11: note: ltok is assigned wcstools-3.9.7/matchcat.c:126:11: note: ltok is overwritten wcstools-3.9.7/matchcat.c:127:11: style: Variable 'ltok' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/matchcat.c:126:11: note: ltok is assigned wcstools-3.9.7/matchcat.c:127:11: note: ltok is overwritten wcstools-3.9.7/matchcat.c:128:11: style: Variable 'ltok' is reassigned a value before the old one has been used. [redundantAssignment] wcstools-3.9.7/matchcat.c:127:11: note: ltok is assigned wcstools-3.9.7/matchcat.c:128:11: note: ltok is overwritten wcstools-3.9.7/matchcat.c:45:11: style: Variable 'fn' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/matchcat.c:46:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/matchcat.c:123:11: style: Variable 'ntok' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/matchcat.c:128:11: style: Variable 'ltok' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/matchstar.c:124:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPEAKS [valueFlowBailoutIncompleteVar] wcstools-3.9.7/matchstar.c:755:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] wcstools-3.9.7/matchstar.c:977:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/matchstar.c:1123:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/matchstar.c:1481:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/matchstar.c:1753:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/matchstar.c:1474:17: style: Condition 'i<=nfit' is always true [knownConditionTrueFalse] wcstools-3.9.7/matchstar.c:1471:19: note: Assuming that condition 'i<=nfit' is not redundant wcstools-3.9.7/matchstar.c:1474:17: note: Condition 'i<=nfit' is always true wcstools-3.9.7/matchstar.c:195:32: style: Local variable 'tol2' shadows outer variable [shadowVariable] wcstools-3.9.7/matchstar.c:138:12: note: Shadowed declaration wcstools-3.9.7/matchstar.c:195:32: note: Shadow variable wcstools-3.9.7/matchstar.c:389:11: style: Local variable 'i' shadows outer variable [shadowVariable] wcstools-3.9.7/matchstar.c:127:18: note: Shadowed declaration wcstools-3.9.7/matchstar.c:389:11: note: Shadow variable wcstools-3.9.7/matchstar.c:552:6: style: Local variable 'i' shadows outer variable [shadowVariable] wcstools-3.9.7/matchstar.c:127:18: note: Shadowed declaration wcstools-3.9.7/matchstar.c:552:6: note: Shadow variable wcstools-3.9.7/matchstar.c:554:9: style: Local variable 'mx' shadows outer variable [shadowVariable] wcstools-3.9.7/matchstar.c:118:13: note: Shadowed declaration wcstools-3.9.7/matchstar.c:554:9: note: Shadow variable wcstools-3.9.7/matchstar.c:554:13: style: Local variable 'my' shadows outer variable [shadowVariable] wcstools-3.9.7/matchstar.c:118:18: note: Shadowed declaration wcstools-3.9.7/matchstar.c:554:13: note: Shadow variable wcstools-3.9.7/matchstar.c:733:47: style: Local variable 'y' shadows outer variable [shadowVariable] wcstools-3.9.7/matchstar.c:1798:8: note: Shadowed declaration wcstools-3.9.7/matchstar.c:733:47: note: Shadow variable wcstools-3.9.7/matchstar.c:1268:6: style: Local variable 'i' shadows outer variable [shadowVariable] wcstools-3.9.7/matchstar.c:1098:9: note: Shadowed declaration wcstools-3.9.7/matchstar.c:1268:6: note: Shadow variable wcstools-3.9.7/matchstar.c:1268:9: style: Local variable 'j' shadows outer variable [shadowVariable] wcstools-3.9.7/matchstar.c:1107:14: note: Shadowed declaration wcstools-3.9.7/matchstar.c:1268:9: note: Shadow variable wcstools-3.9.7/matchstar.c:1385:12: style: Local variable 'y' shadows outer variable [shadowVariable] wcstools-3.9.7/matchstar.c:1798:8: note: Shadowed declaration wcstools-3.9.7/matchstar.c:1385:12: note: Shadow variable wcstools-3.9.7/matchstar.c:1648:7: style: Local variable 'rastr' shadows outer variable [shadowVariable] wcstools-3.9.7/matchstar.c:1391:10: note: Shadowed declaration wcstools-3.9.7/matchstar.c:1648:7: note: Shadow variable wcstools-3.9.7/matchstar.c:1648:18: style: Local variable 'decstr' shadows outer variable [shadowVariable] wcstools-3.9.7/matchstar.c:1391:20: note: Shadowed declaration wcstools-3.9.7/matchstar.c:1648:18: note: Shadow variable wcstools-3.9.7/matchstar.c:100:9: style: Parameter 'sx' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/matchstar.c:101:9: style: Parameter 'sy' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/matchstar.c:108:9: style: Parameter 'gx' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/matchstar.c:109:9: style: Parameter 'gy' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/matchstar.c:135:11: style: Variable 'vi' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/matchstar.c:953:9: style: Parameter 'sbx' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/matchstar.c:954:9: style: Parameter 'sby' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/matchstar.c:1105:11: style: Variable 'vi' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/matchstar.c:1684:9: style: Parameter 'v' can be declared as pointer to const. However it seems that 'wcs_chisqr' is a callback function, if 'v' is declared with const you might also need to cast function pointer(s). [constParameterCallback] wcstools-3.9.7/matchstar.c:1534:39: note: You might need to cast the function pointer here wcstools-3.9.7/matchstar.c:1684:9: note: Parameter 'v' can be declared as pointer to const wcstools-3.9.7/matchstar.c:962:9: style: Unused variable: nsc [unusedVariable] wcstools-3.9.7/newfits.c:267:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/newfits.c:287:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/newfits.c:338:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/newfits.c:385:3: error: Resource leak: diskfile [resourceLeak] wcstools-3.9.7/newfits.c:390:6: error: Resource leak: diskfile [resourceLeak] wcstools-3.9.7/newfits.c:404:2: error: Resource leak: diskfile [resourceLeak] wcstools-3.9.7/newfits.c:67:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/newfits.c:72:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/newfits.c:380:11: style: Variable 'diskfile' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/newfits.c:452:13: style: Variable 'nbfile' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/remap.c:369:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/remap.c:444:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/remap.c:348:21: style: Condition '!fitsout' is always false [knownConditionTrueFalse] wcstools-3.9.7/remap.c:894:25: warning: Either the condition '(next=strchr(next,':'))!=NULL' is redundant or there is possible null pointer dereference: next. [nullPointerRedundantCheck] wcstools-3.9.7/remap.c:891:37: note: Assuming that condition '(next=strchr(next,':'))!=NULL' is not redundant wcstools-3.9.7/remap.c:894:25: note: Null pointer dereference wcstools-3.9.7/remap.c:897:25: warning: Either the condition '(next=strchr(next,','))!=NULL' is redundant or there is possible null pointer dereference: next. [nullPointerRedundantCheck] wcstools-3.9.7/remap.c:894:37: note: Assuming that condition '(next=strchr(next,','))!=NULL' is not redundant wcstools-3.9.7/remap.c:897:25: note: Null pointer dereference wcstools-3.9.7/remap.c:92:11: style: Variable 'listfile' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/remap.c:366:7: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/remap.c:431:13: style: Variable 'imvec' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/remap.c:761:17: error: Uninitialized variable: hpout [legacyUninitvar] wcstools-3.9.7/remap.c:765:17: error: Uninitialized variable: wpout [legacyUninitvar] wcstools-3.9.7/remap.c:772:9: error: Uninitialized variable: bzin [legacyUninitvar] wcstools-3.9.7/remap.c:772:17: error: Uninitialized variable: bzout [legacyUninitvar] wcstools-3.9.7/remap.c:521:16: style: Variable 'secpixin2' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/remap.c:627:11: style: Variable 'pixratio' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/remap.c:667:15: style: Variable 'imvec' is assigned a value that is never used. [unreadVariable] wcstools-3.9.7/remap.c:667:36: style: Variable 'imvec' is allocated memory that is never used. [unusedAllocatedMemory] wcstools-3.9.7/scat.c:251:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/scat.c:1031:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] wcstools-3.9.7/scat.c:1174:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/scat.c:3893:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/scat.c:4033:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/scat.c:4138:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/scat.c:4542:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] wcstools-3.9.7/scat.c:4599:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] wcstools-3.9.7/scat.c:4637:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] wcstools-3.9.7/scat.c:2701:31: style: Redundant condition: tabout. '!tabout || (tabout && !printabhead)' is equivalent to '!tabout || !printabhead' [redundantCondition] wcstools-3.9.7/scat.c:3023:29: style: Redundant condition: starcat[icat]!=NULL. 'A || (!A && B)' is equivalent to 'A || B' [redundantCondition] wcstools-3.9.7/scat.c:3251:19: style: Condition 'starcat!=NULL' is always true [knownConditionTrueFalse] wcstools-3.9.7/scat.c:1236:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/scat.c:1239:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/scat.c:1242:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/scat.c:1245:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/scat.c:1250:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/scat.c:1255:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/scat.c:1258:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/scat.c:1261:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/scat.c:1264:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/scat.c:1271:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/scat.c:1278:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/scat.c:1281:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/scat.c:1399:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/scat.c:1404:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] wcstools-3.9.7/scat.c:967:8: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:971:8: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:977:9: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:981:8: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:985:8: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:989:8: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:993:8: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1197:27: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1198:9: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1200:21: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1201:22: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1202:22: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1203:23: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1204:22: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1206:20: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1207:20: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1287:27: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1288:9: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1291:21: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1293:22: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1295:22: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1297:23: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1299:22: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1303:20: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1305:20: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1393:13: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:1394:9: portability:inconclusive: Casting from double * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] wcstools-3.9.7/scat.c:4015:9: style: Local variable 'refcat' shadows outer variable [shadowVariable] wcstools-3.9.7/scat.c:129:12: note: Shadowed declaration wcstools-3.9.7/scat.c:4015:9: note: Shadow variable wcstools-3.9.7/scat.c:146:17: style: Variable 'str1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/scat.c:167:11: style: Variable 'rstr' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/scat.c:1023:7: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] wcstools-3.9.7/scat.c:1027:11: style: Variable 'srcname' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/scat.c:1129:11: style: Variable 'catalog' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/scat.c:1167:11: style: Variable 'date1' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/scat.c:1167:19: style: Variable 'date2' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/scat.c:4016:11: style: Variable 'catname' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/scat.c:4157:11: style: Variable 'parname' can be declared as pointer to const [constVariablePointer] wcstools-3.9.7/scat.c:3847:13: warning: Uninitialized variable: ns [uninitvar] wcstools-3.9.7/scat.c:1344:25: note: Assuming condition is false wcstools-3.9.7/scat.c:3847:13: note: Uninitialized variable: ns wcstools-3.9.7/sethead.c:240:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/sethead.c:553:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/sethead.c:675:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] wcstools-3.9.7/sethead.c:321:22: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] wcstools-3.9.7/sethead.c:300:24: note: outer condition: ikwd