2025-07-03 19:37 ftp://ftp.de.debian.org/debian/pool/main/i/iraf/iraf_2.18.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: a214e76 (2025-07-03 20:23:32 +0200) count: 2806 2807 elapsed-time: 10.1 10.6 head-timing-info: old-timing-info: head results: iraf-2.18.1/math/slalib/rtl_random.c:32:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] iraf-2.18.1/math/slalib/rtl_random.c:4:16: style: Parameter 'iseed' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/math/slalib/sla.c:335:3: error: There is an unknown macro here somewhere. Configuration is required. If F77_LOCK is a macro then please configure it. [unknownMacro] iraf-2.18.1/pkg/cl/clsystem.c:26:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/clprintf.c:120:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/bkg.c:160:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/bkg.c:227:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/bkg.c:287:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/bkg.c:365:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/bkg.c:388:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/bkg.c:403:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/bkg.c:437:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/binop.c:80:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/compile.c:46:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/clprintf.c:202:15: style: Array index 'j' is used before limits check. [arrayIndexThenCheck] iraf-2.18.1/pkg/cl/clprintf.c:170:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/compile.c:211:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/compile.c:226:16: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/compile.c:240:26: style: Parameter 'ns' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/debug.c:52:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/debug.c:108:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/debug.c:207:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pk_name [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/debug.c:270:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XINT [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/debug.c:398:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_COMMAND [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/bkg.c:275:3: warning: fprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] iraf-2.18.1/pkg/cl/bkg.c:110:11: style: Parameter 'bcs' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/bkg.c:123:11: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/bkg.c:258:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/debug.c:270:37: style:inconclusive: Boolean expression '(XINT)tp<(XINT)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] iraf-2.18.1/pkg/cl/debug.c:270:37: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] iraf-2.18.1/pkg/cl/debug.c:77:2: portability: %d in format string (no. 3) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/cl/debug.c:157:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/cl/debug.c:165:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/cl/debug.c:172:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/cl/debug.c:172:7: portability: %d in format string (no. 2) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/cl/debug.c:45:29: style: Variable 'cep' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/debug.c:69:26: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/debug.c:200:8: style: Variable 'stackaddr' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/debug.c:201:8: style: Variable 'otheraddr' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/debug.c:334:24: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/debug.c:395:27: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/edcap.c:53:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/edcap.c:116:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/edcap.c:305:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/edcap.c:376:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:99:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:181:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:235:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:295:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:320:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:395:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:416:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STDGRAPH [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:450:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:475:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:532:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:569:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:601:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:726:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_in [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:791:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:964:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_pno [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:1036:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:1246:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:1284:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:1324:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:1358:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STDIN [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:1466:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:1472:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:1546:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:1669:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:1839:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:1854:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STDOUT [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:1900:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:1943:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:2007:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:2069:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:2103:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/errs.c:182:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/errs.c:189:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] iraf-2.18.1/pkg/cl/errs.c:187:15: note: Assuming allocation function fails iraf-2.18.1/pkg/cl/errs.c:187:15: note: Assignment 'fp=fdopen(fd,"w")', assigned value is 0 iraf-2.18.1/pkg/cl/errs.c:189:12: note: Null pointer dereference iraf-2.18.1/pkg/cl/errs.c:190:13: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] iraf-2.18.1/pkg/cl/errs.c:187:15: note: Assuming allocation function fails iraf-2.18.1/pkg/cl/errs.c:187:15: note: Assignment 'fp=fdopen(fd,"w")', assigned value is 0 iraf-2.18.1/pkg/cl/errs.c:190:13: note: Null pointer dereference iraf-2.18.1/pkg/cl/errs.c:192:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] iraf-2.18.1/pkg/cl/errs.c:187:15: note: Assuming allocation function fails iraf-2.18.1/pkg/cl/errs.c:187:15: note: Assignment 'fp=fdopen(fd,"w")', assigned value is 0 iraf-2.18.1/pkg/cl/errs.c:192:11: note: Null pointer dereference iraf-2.18.1/pkg/cl/decl.c:60:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:92:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:205:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEFL [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:355:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:486:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:503:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:524:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:562:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:581:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:634:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:714:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:761:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:823:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:846:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/binop.c:460:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] iraf-2.18.1/pkg/cl/binop.c:458:44: note: outer condition: val1<0 iraf-2.18.1/pkg/cl/binop.c:460:13: note: identical inner condition: val1<0 iraf-2.18.1/pkg/cl/binop.c:202:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/cl/binop.c:263:3: warning: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum] iraf-2.18.1/pkg/cl/binop.c:52:12: style: Variable 'sstart' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/binop.c:324:21: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/binop.c:324:26: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/binop.c:324:31: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/binop.c:365:21: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/exec.c:70:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/exec.c:184:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/exec.c:339:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_flags [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/exec.c:553:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STDERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/exec.c:682:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/exec.c:789:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/exec.c:838:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/exec.c:949:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/exec.c:1122:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/exec.c:1175:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/exec.c:1270:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_INT [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gquery.c:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gquery.c:149:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gquery.c:185:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/edcap.c:357:3: error: sprintf format string requires 4 parameters but only 2 are given. [wrongPrintfScanfArgNum] iraf-2.18.1/pkg/cl/edcap.c:192:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] iraf-2.18.1/pkg/cl/edcap.c:245:15: style: Variable 'echars' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/edcap.c:246:15: style: Variable 'ecodes' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/edcap.c:318:11: style: Parameter 'cstring' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/gquery.c:109:8: style: Variable 'o' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/pkg/cl/gquery.c:97:5: note: o is assigned iraf-2.18.1/pkg/cl/gquery.c:109:8: note: o is overwritten iraf-2.18.1/pkg/cl/gquery.c:41:8: style: Variable 'query_status' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/gquery.c:115:13: style: Variable 'errmsg' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/cl/gquery.c:117:13: style: Variable 'errmsg' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/cl/gquery.c:119:13: style: Variable 'errmsg' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/cl/eparam.c:110:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:218:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:310:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:470:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:493:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:691:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:708:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:842:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:867:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:907:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:971:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:999:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:1157:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:1557:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:1598:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:1804:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:1893:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:1936:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:1980:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:2042:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:2078:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:2150:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/history.c:80:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/history.c:170:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/history.c:385:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/history.c:440:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/history.c:519:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/history.c:645:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/history.c:772:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable record [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/history.c:887:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable record [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/history.c:923:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/history.c:946:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/history.c:978:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:124:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Y_WHILE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:293:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:428:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:474:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:550:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:634:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:715:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:889:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:984:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_args [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:1005:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_opcode [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:1083:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_opcode [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:1195:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_args [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:1216:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_args [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/decl.c:683:9: warning: Possible null pointer dereference: fp [nullPointer] iraf-2.18.1/pkg/cl/decl.c:620:10: note: Assignment 'fp=lp=NULL', assigned value is 0 iraf-2.18.1/pkg/cl/decl.c:622:13: note: Assuming condition is false iraf-2.18.1/pkg/cl/decl.c:683:9: note: Null pointer dereference iraf-2.18.1/pkg/cl/decl.c:427:20: style: Variable 'pp->p_valo.o_val.v_s' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/pkg/cl/decl.c:417:21: note: pp->p_valo.o_val.v_s is assigned iraf-2.18.1/pkg/cl/decl.c:427:20: note: pp->p_valo.o_val.v_s is overwritten iraf-2.18.1/pkg/cl/decl.c:51:15: style: Variable 'off' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/decl.c:359:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/decl.c:454:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/decl.c:796:9: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/decl.c:837:8: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/exec.c:905:15: warning: Either the condition 'o_pfp==NULL' is redundant or there is possible null pointer dereference: o_pfp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/cl/exec.c:897:12: note: Assuming that condition 'o_pfp==NULL' is not redundant iraf-2.18.1/pkg/cl/exec.c:905:15: note: Null pointer dereference iraf-2.18.1/pkg/cl/exec.c:914:20: warning: Either the condition 'o_pfp==NULL' is redundant or there is possible null pointer dereference: o_pfp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/cl/exec.c:897:12: note: Assuming that condition 'o_pfp==NULL' is not redundant iraf-2.18.1/pkg/cl/exec.c:914:20: note: Null pointer dereference iraf-2.18.1/pkg/cl/exec.c:524:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/exec.c:828:11: style: Parameter 'tn' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/exec.c:834:21: style: Variable 'm_pp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/exec.c:1214:35: style: Parameter 'tp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/builtin.c:1991:19: warning: Either the condition 'n>=10' is redundant or the array 'allocdev[10]' is accessed at index 10, which is out of bounds. [arrayIndexOutOfBoundsCond] iraf-2.18.1/pkg/cl/builtin.c:1987:8: note: Assuming that condition 'n>=10' is not redundant iraf-2.18.1/pkg/cl/builtin.c:1991:19: note: Array index out of bounds iraf-2.18.1/pkg/cl/lexicon.c:45:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parenlevel [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/lexicon.c:175:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inarglist [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/lexicon.c:652:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_in [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/builtin.c:939:9: style: Variable 'o2' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/pkg/cl/builtin.c:937:9: note: o2 is assigned iraf-2.18.1/pkg/cl/builtin.c:939:9: note: o2 is overwritten iraf-2.18.1/pkg/cl/builtin.c:1606:16: style: Local variable 'ch' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/cl/builtin.c:1504:20: note: Shadowed declaration iraf-2.18.1/pkg/cl/builtin.c:1606:16: note: Shadow variable iraf-2.18.1/pkg/cl/builtin.c:238:19: style: Variable 'stat' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/builtin.c:1028:19: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/builtin.c:1355:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/builtin.c:2239:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/builtin.c:1926:51: warning: Uninitialized variable: os_filelist [uninitvar] iraf-2.18.1/pkg/cl/builtin.c:1907:23: note: Assuming condition is false iraf-2.18.1/pkg/cl/builtin.c:1926:51: note: Uninitialized variable: os_filelist iraf-2.18.1/pkg/cl/builtin.c:104:9: style: Variable 'n' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/cl/builtin.c:247:16: style: Variable 'stat' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/cl/builtin.c:1188:9: style: Variable 'n' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/cl/history.c:618:7: style: Local variable 'cmdblk' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/cl/history.c:50:6: note: Shadowed declaration iraf-2.18.1/pkg/cl/history.c:618:7: note: Shadow variable iraf-2.18.1/pkg/cl/history.c:619:6: style: Local variable 'nargs' shadows outer function [shadowFunction] iraf-2.18.1/pkg/cl/proto.h:87:12: note: Shadowed declaration iraf-2.18.1/pkg/cl/history.c:619:6: note: Shadow variable iraf-2.18.1/pkg/cl/history.c:706:15: style: Local variable 'nargs' shadows outer function [shadowFunction] iraf-2.18.1/pkg/cl/proto.h:87:12: note: Shadowed declaration iraf-2.18.1/pkg/cl/history.c:706:15: note: Shadow variable iraf-2.18.1/pkg/cl/history.c:885:7: style: Local variable 'cmdblk' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/cl/history.c:50:6: note: Shadowed declaration iraf-2.18.1/pkg/cl/history.c:885:7: note: Shadow variable iraf-2.18.1/pkg/cl/history.c:517:27: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/history.c:617:27: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/history.c:739:27: style: Variable 'otop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/history.c:791:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/history.c:791:27: style: Variable 'itop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/history.c:821:22: style: Variable 'op' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/history.c:823:24: style: Variable 'old_ophist' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/history.c:918:25: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/history.c:920:25: style: Variable 'lastpack' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/history.c:994:22: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/history.c:1036:11: style: Parameter 'marg1' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/history.c:1037:11: style: Parameter 'marg2' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/history.c:1082:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/history.c:1082:27: style: Variable 'otop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/history.c:1085:8: style: Variable 'pkg' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/history.c:1085:14: style: Variable 'tname' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/lexyy.c:66:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yylval [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/lexyy.c:247:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/lexyy.c:768:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/lexyy.c:895:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/lists.c:70:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/lists.c:119:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:480:10: warning: Either the condition 'nltask>=256' is redundant or the array 'list[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] iraf-2.18.1/pkg/cl/gram.c:476:17: note: Assuming that condition 'nltask>=256' is not redundant iraf-2.18.1/pkg/cl/gram.c:480:10: note: Array index out of bounds iraf-2.18.1/pkg/cl/gram.c:564:10: warning: Either the condition 'npts>3' is redundant or the array 'pts[3]' is accessed at index 4, which is out of bounds. [arrayIndexOutOfBoundsCond] iraf-2.18.1/pkg/cl/gram.c:561:16: note: Assuming that condition 'npts>3' is not redundant iraf-2.18.1/pkg/cl/gram.c:564:10: note: Array index out of bounds iraf-2.18.1/pkg/cl/gram.c:642:12: warning: Either the condition 'kentry==-2' is redundant or the array 'fctbl[12]' is accessed at index -2, which is out of bounds. [negativeIndex] iraf-2.18.1/pkg/cl/gram.c:639:18: note: Assuming that condition 'kentry==-2' is not redundant iraf-2.18.1/pkg/cl/gram.c:642:12: note: Negative array index iraf-2.18.1/pkg/cl/gram.c:724:12: warning: Either the condition 'index==-2' is redundant or the array 'optbl[37]' is accessed at index -2, which is out of bounds. [negativeIndex] iraf-2.18.1/pkg/cl/gram.c:721:12: note: Assuming that condition 'index==-2' is not redundant iraf-2.18.1/pkg/cl/gram.c:724:12: note: Negative array index iraf-2.18.1/pkg/cl/gram.c:926:32: warning: Either the condition '(pipe=--nextpipe)<0' is redundant or the array 'pipetable[20]' is accessed at index -1, which is out of bounds. [negativeIndex] iraf-2.18.1/pkg/cl/gram.c:924:27: note: Assuming that condition '(pipe=--nextpipe)<0' is not redundant iraf-2.18.1/pkg/cl/gram.c:926:32: note: Negative array index iraf-2.18.1/pkg/cl/main.c:112:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Memc [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/main.c:185:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next_handler [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/main.c:223:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/main.c:297:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/main.c:351:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/main.c:518:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/main.c:595:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_INT [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/main.c:656:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_INT [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/main.c:668:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_INT [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/main.c:684:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/gram.c:93:29: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/gram.c:315:14: style: Variable 'len' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/gram.c:315:20: style: Variable 'off' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/lists.c:54:12: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/gram.c:426:27: style: Parameter 'ltp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/gram.c:461:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/gram.c:622:14: style: Variable 'fctbl' can be declared as const array [constVariable] iraf-2.18.1/pkg/cl/gram.c:655:47: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/gram.c:701:13: style: Variable 'optbl' can be declared as const array [constVariable] iraf-2.18.1/pkg/cl/gram.c:939:8: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/gram.c:1170:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/main.c:194:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'memel * {aka unsigned long *}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/cl/main.c:194:6: portability: %o in format string (no. 2) requires 'unsigned int' but the argument type is 'memel * {aka unsigned long *}'. [invalidPrintfArgType_uint] iraf-2.18.1/pkg/cl/main.c:231:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'double'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/cl/main.c:231:3: warning: fprintf format string requires 3 parameters but 4 are given. [wrongPrintfScanfArgNum] iraf-2.18.1/pkg/cl/main.c:355:8: style: Variable 'arglist' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/main.c:700:17: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/eparam.c:2168:17: portability: Undefined behaviour, pointer arithmetic 'lbuf-1' is out of bounds. [pointerOutOfBounds] iraf-2.18.1/pkg/cl/eparam.c:801:22: style: Redundant condition: The condition '*s != '\0'' is redundant since '*s == '*'' is sufficient. [redundantCondition] iraf-2.18.1/pkg/cl/eparam.c:373:10: warning: %d in format string (no. 1) requires 'int' but the argument type is 'param *'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/cl/operand.c:55:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/operand.c:104:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/operand.c:252:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/operand.c:302:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_DIGITS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/lexicon.c:605:10: style: Local variable 'token' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/cl/lexicon.c:150:15: note: Shadowed declaration iraf-2.18.1/pkg/cl/lexicon.c:605:10: note: Shadow variable iraf-2.18.1/pkg/cl/eparam.c:494:9: style: Local variable 'col' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/cl/eparam.c:70:12: note: Shadowed declaration iraf-2.18.1/pkg/cl/eparam.c:494:9: note: Shadow variable iraf-2.18.1/pkg/cl/eparam.c:710:7: style: Local variable 'message' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/cl/eparam.c:808:13: note: Shadowed declaration iraf-2.18.1/pkg/cl/eparam.c:710:7: note: Shadow variable iraf-2.18.1/pkg/cl/eparam.c:2145:19: style: Local variable 'line' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/cl/eparam.c:69:12: note: Shadowed declaration iraf-2.18.1/pkg/cl/eparam.c:2145:19: note: Shadow variable iraf-2.18.1/pkg/cl/eparam.c:106:9: style: Parameter 'pset' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/eparam.c:297:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/eparam.c:334:11: style: Variable 'plen' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/eparam.c:519:21: style: Variable 'ltp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/eparam.c:709:8: style: Variable 'errstr' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/eparam.c:814:9: style: Parameter 'errstr' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/eparam.c:817:8: style: Variable 'range' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/eparam.c:882:22: style: Variable 'otop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/eparam.c:993:9: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/eparam.c:1804:27: style: Variable 'errfmt' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/eparam.c:2010:9: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/opcodes.c:81:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:160:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:194:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:233:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:367:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:456:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:508:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:723:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:871:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:904:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:985:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_args [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:1008:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:1056:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:1100:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:1212:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_length [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:1255:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:1285:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/eparam.c:1720:27: style: Variable 'n' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/cl/operand.c:361:10: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] iraf-2.18.1/pkg/cl/operand.c:41:56: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/operand.c:180:18: style: Variable 'op' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/operand.c:301:8: style: Variable 'format' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/operand.c:382:12: style: Variable 'colon' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/operand.c:203:14: style: Variable 'newtype' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/cl/modes.c:87:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable o_type [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/modes.c:207:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_flags [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/modes.c:268:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/modes.c:540:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/modes.c:623:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/modes.c:752:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/modes.c:816:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/modes.c:905:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/modes.c:1018:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/modes.c:1160:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/modes.c:1238:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/lexyy.c:620:8: portability: Undefined behaviour, pointer arithmetic 'yycrank-1' is out of bounds. [pointerOutOfBounds] iraf-2.18.1/pkg/cl/lexyy.c:621:8: portability: Undefined behaviour, pointer arithmetic 'yycrank-41' is out of bounds. [pointerOutOfBounds] iraf-2.18.1/pkg/cl/lexyy.c:646:8: portability: Undefined behaviour, pointer arithmetic 'yycrank-241' is out of bounds. [pointerOutOfBounds] iraf-2.18.1/pkg/cl/lexyy.c:679:8: portability: Undefined behaviour, pointer arithmetic 'yycrank-367' is out of bounds. [pointerOutOfBounds] iraf-2.18.1/pkg/cl/lexyy.c:680:8: portability: Undefined behaviour, pointer arithmetic 'yycrank-2' is out of bounds. [pointerOutOfBounds] iraf-2.18.1/pkg/cl/lexyy.c:899:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] iraf-2.18.1/pkg/cl/lexyy.c:52:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/cl/lexyy.c:69:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/cl/lexyy.c:87:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/cl/lexyy.c:174:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/cl/lexyy.c:181:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/cl/lexyy.c:187:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/cl/lexyy.c:194:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/cl/lexyy.c:203:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/cl/lexyy.c:40:1: style: Label 'yyfussy' is not used. [unusedLabel] iraf-2.18.1/pkg/cl/lexyy.c:38:22: style: Local variable 'yyprevious' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/cl/lexyy.c:731:5: note: Shadowed declaration iraf-2.18.1/pkg/cl/lexyy.c:38:22: note: Shadow variable iraf-2.18.1/pkg/cl/lexyy.c:243:22: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/lexyy.c:244:15: style: Variable 'esc_ch' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/lexyy.c:245:15: style: Variable 'esc_val' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/lexyy.c:736:16: style: Variable 'yyz' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/lexyy.c:882:14: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/prcache.c:131:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EA_ERROR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/prcache.c:216:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/prcache.c:304:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/prcache.c:378:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/prcache.c:427:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/prcache.c:445:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/prcache.c:604:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_STATUS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/prcache.c:629:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_STATUS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/opcodes.c:517:9: warning: Either the condition 'pp==NULL' is redundant or there is possible null pointer dereference: pp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/cl/opcodes.c:509:13: note: Assuming that condition 'pp==NULL' is not redundant iraf-2.18.1/pkg/cl/opcodes.c:517:9: note: Null pointer dereference iraf-2.18.1/pkg/cl/opcodes.c:730:2: warning: Either the condition 'pp==NULL' is redundant or there is possible null pointer dereference: pp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/cl/opcodes.c:724:13: note: Assuming that condition 'pp==NULL' is not redundant iraf-2.18.1/pkg/cl/opcodes.c:730:2: note: Null pointer dereference iraf-2.18.1/pkg/cl/opcodes.c:270:14: style: Local variable 'pc' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/cl/mem.h:101:13: note: Shadowed declaration iraf-2.18.1/pkg/cl/opcodes.c:270:14: note: Shadow variable iraf-2.18.1/pkg/cl/opcodes.c:409:14: style: Local variable 'pc' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/cl/mem.h:101:13: note: Shadowed declaration iraf-2.18.1/pkg/cl/opcodes.c:409:14: note: Shadow variable iraf-2.18.1/pkg/cl/opcodes.c:609:6: style: Local variable 'nargs' shadows outer function [shadowFunction] iraf-2.18.1/pkg/cl/proto.h:87:12: note: Shadowed declaration iraf-2.18.1/pkg/cl/opcodes.c:609:6: note: Shadow variable iraf-2.18.1/pkg/cl/opcodes.c:1057:6: style: Local variable 'nargs' shadows outer function [shadowFunction] iraf-2.18.1/pkg/cl/proto.h:87:12: note: Shadowed declaration iraf-2.18.1/pkg/cl/opcodes.c:1057:6: note: Shadow variable iraf-2.18.1/pkg/cl/opcodes.c:1102:6: style: Local variable 'nargs' shadows outer function [shadowFunction] iraf-2.18.1/pkg/cl/proto.h:87:12: note: Shadowed declaration iraf-2.18.1/pkg/cl/opcodes.c:1102:6: note: Shadow variable iraf-2.18.1/pkg/cl/opcodes.c:97:15: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_add' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1331:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:97:15: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:153:16: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/opcodes.c:187:16: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/opcodes.c:216:15: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_and' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1337:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:216:15: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:227:16: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/opcodes.c:268:16: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_biff' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1340:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:268:16: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:292:18: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_chsign' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1344:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:292:18: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:301:18: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_concat' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1345:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:301:18: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:309:15: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_div' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1348:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:309:15: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:315:17: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_doend' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1350:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:315:17: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:382:14: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_eq' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1351:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:382:14: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:390:16: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_exec' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1352:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:390:16: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:398:14: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_ge' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1356:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:398:14: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:407:18: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_dogoto' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1357:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:407:18: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:418:14: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_gt' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1360:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:418:14: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:493:23: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_indirposset' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1363:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:493:23: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:536:20: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_indxincr' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1364:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:536:20: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:620:14: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_le' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1368:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:620:14: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:628:14: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_lt' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1369:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:628:14: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:636:15: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_mul' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1370:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:636:15: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:662:14: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_ne' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1373:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:662:14: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:670:15: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_not' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1374:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:670:15: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:678:14: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_or' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1375:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:678:14: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:700:21: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_posargset' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1378:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:700:21: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:737:17: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_dopow' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1379:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:737:17: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:749:19: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_doprint' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1380:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:749:19: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:799:14: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/opcodes.c:865:16: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/opcodes.c:898:16: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/opcodes.c:969:21: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_doaddpipe' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1333:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:969:21: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:975:16: style: Variable 'ltp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/opcodes.c:1025:19: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_rmpipes' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1387:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:1025:19: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:1032:20: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_doreturn' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1388:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:1032:20: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:1043:18: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_doscan' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1390:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:1043:18: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:1088:19: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_dofscan' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1354:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:1088:19: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:1145:15: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_sub' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/cl/opcodes.c:1392:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/cl/opcodes.c:1145:15: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/cl/opcodes.c:1181:14: style: Variable 'jmpdelta' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/prcache.c:139:36: warning:inconclusive: Possible null pointer dereference: t_gr [nullPointer] iraf-2.18.1/pkg/cl/prcache.c:381:35: note: Calling function 'pr_connect', 8th argument '0' value is 0 iraf-2.18.1/pkg/cl/prcache.c:139:36: note: Null pointer dereference iraf-2.18.1/pkg/cl/prcache.c:140:36: warning:inconclusive: Possible null pointer dereference: t_im [nullPointer] iraf-2.18.1/pkg/cl/prcache.c:381:37: note: Calling function 'pr_connect', 9th argument '0' value is 0 iraf-2.18.1/pkg/cl/prcache.c:140:36: note: Null pointer dereference iraf-2.18.1/pkg/cl/prcache.c:141:36: warning:inconclusive: Possible null pointer dereference: t_pl [nullPointer] iraf-2.18.1/pkg/cl/prcache.c:381:39: note: Calling function 'pr_connect', 10th argument '0' value is 0 iraf-2.18.1/pkg/cl/prcache.c:141:36: note: Null pointer dereference iraf-2.18.1/pkg/cl/scan.c:59:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/scan.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/scan.c:341:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/prcache.c:349:20: style: Parameter 'process' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/prcache.c:539:22: style: Parameter 'pname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/param.c:94:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/param.c:188:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/param.c:592:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/param.c:709:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pname [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/param.c:759:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/param.c:780:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/param.c:867:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/param.c:946:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/param.c:1239:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/stack.c:73:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/task.c:63:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/task.c:136:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/task.c:165:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/task.c:249:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/task.c:269:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/task.c:305:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/task.c:328:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/stack.c:114:25: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/stack.c:165:10: error: Uninitialized variable: junk [legacyUninitvar] iraf-2.18.1/pkg/cl/unop.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/task.c:230:16: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/task.c:284:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/task.c:326:16: style: Parameter 'task_spec' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/pfiles.c:163:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/pfiles.c:337:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/pfiles.c:460:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/pfiles.c:604:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/pfiles.c:672:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/pfiles.c:762:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/pfiles.c:814:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/pfiles.c:907:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/pfiles.c:1156:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/pfiles.c:1604:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/pfiles.c:1629:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/pfiles.c:1841:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/pfiles.c:1919:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/scan.c:294:10: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] iraf-2.18.1/pkg/cl/scan.c:202:6: style: Local variable 'nscan_val' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/cl/scan.c:31:12: note: Shadowed declaration iraf-2.18.1/pkg/cl/scan.c:202:6: note: Shadow variable iraf-2.18.1/pkg/cl/scan.c:57:27: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/scan.c:200:17: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/scan.c:200:42: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/scan.c:333:15: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/bkg.c:162:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/bkg.c:229:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/bkg.c:289:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/bkg.c:367:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/bkg.c:390:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/bkg.c:405:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/bkg.c:439:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/binop.c:83:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/bkg.c:277:3: warning: fprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] iraf-2.18.1/pkg/ecl/bkg.c:111:11: style: Parameter 'bcs' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/bkg.c:124:11: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/bkg.c:260:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/clprintf.c:120:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:103:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:185:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:239:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:299:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:324:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:421:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:442:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STDGRAPH [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:476:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:501:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:584:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:676:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:708:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:835:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_in [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:900:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:1073:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_pno [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:1145:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:1355:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:1395:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:1437:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:1471:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STDIN [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:1579:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:1585:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:1659:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:1782:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:1952:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:1967:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STDOUT [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:2013:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:2057:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:2121:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:2183:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:2209:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:2222:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:2245:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:2297:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/clprintf.c:202:15: style: Array index 'j' is used before limits check. [arrayIndexThenCheck] iraf-2.18.1/pkg/ecl/clprintf.c:170:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/clsystem.c:26:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/compile.c:46:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/compile.c:220:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/compile.c:235:16: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/compile.c:249:26: style: Parameter 'ns' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/binop.c:583:13: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] iraf-2.18.1/pkg/ecl/binop.c:581:44: note: outer condition: val1<0 iraf-2.18.1/pkg/ecl/binop.c:583:13: note: identical inner condition: val1<0 iraf-2.18.1/pkg/cl/modes.c:656:11: warning: Either the condition '(fp=fopen(bqfile,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/cl/modes.c:766:33: note: Assuming that condition '(fp=fopen(bqfile,"w"))==NULL' is not redundant iraf-2.18.1/pkg/cl/modes.c:772:14: note: Calling function 'pquery', 2nd argument 'fp' value is 0 iraf-2.18.1/pkg/cl/modes.c:656:11: note: Null pointer dereference iraf-2.18.1/pkg/cl/modes.c:733:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] iraf-2.18.1/pkg/cl/modes.c:364:21: note: Assuming allocation function fails iraf-2.18.1/pkg/cl/modes.c:364:21: note: Calling function 'pquery', 2nd argument 'fdopen(fd,"a")' value is 0 iraf-2.18.1/pkg/cl/modes.c:733:11: note: Null pointer dereference iraf-2.18.1/pkg/cl/modes.c:773:10: warning: Either the condition '(fp=fopen(bqfile,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/cl/modes.c:766:33: note: Assuming that condition '(fp=fopen(bqfile,"w"))==NULL' is not redundant iraf-2.18.1/pkg/cl/modes.c:773:10: note: Null pointer dereference iraf-2.18.1/pkg/cl/modes.c:795:37: warning: Either the condition '(in=fopen(qrfile,"r"))==NULL' is redundant or there is possible null pointer dereference: in. [nullPointerRedundantCheck] iraf-2.18.1/pkg/cl/modes.c:792:33: note: Assuming that condition '(in=fopen(qrfile,"r"))==NULL' is not redundant iraf-2.18.1/pkg/cl/modes.c:795:37: note: Null pointer dereference iraf-2.18.1/pkg/cl/modes.c:796:10: warning: Either the condition '(in=fopen(qrfile,"r"))==NULL' is redundant or there is possible null pointer dereference: in. [nullPointerRedundantCheck] iraf-2.18.1/pkg/cl/modes.c:792:33: note: Assuming that condition '(in=fopen(qrfile,"r"))==NULL' is not redundant iraf-2.18.1/pkg/cl/modes.c:796:10: note: Null pointer dereference iraf-2.18.1/pkg/cl/modes.c:833:21: warning: Either the condition '(fp=fopen(bqfile,"r"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/cl/modes.c:827:33: note: Assuming that condition '(fp=fopen(bqfile,"r"))==NULL' is not redundant iraf-2.18.1/pkg/cl/modes.c:833:21: note: Null pointer dereference iraf-2.18.1/pkg/cl/modes.c:848:19: warning: Either the condition '(fp=fopen(qrtemp,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/cl/modes.c:846:33: note: Assuming that condition '(fp=fopen(qrtemp,"w"))==NULL' is not redundant iraf-2.18.1/pkg/cl/modes.c:848:19: note: Null pointer dereference iraf-2.18.1/pkg/cl/modes.c:849:10: warning: Either the condition '(fp=fopen(qrtemp,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/cl/modes.c:846:33: note: Assuming that condition '(fp=fopen(qrtemp,"w"))==NULL' is not redundant iraf-2.18.1/pkg/cl/modes.c:849:10: note: Null pointer dereference iraf-2.18.1/pkg/ecl/binop.c:247:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/ecl/binop.c:308:3: warning: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum] iraf-2.18.1/pkg/cl/modes.c:272:70: style: Variable 'query_status' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/modes.c:1047:26: style: Parameter 'tp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/modes.c:1050:17: style: Variable 'name' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/modes.c:1112:18: style: Variable 'name' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/binop.c:470:58: style: Variable 'ch' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/pkg/ecl/binop.c:469:24: note: ch is assigned iraf-2.18.1/pkg/ecl/binop.c:470:58: note: ch is overwritten iraf-2.18.1/pkg/ecl/debug.c:71:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/debug.c:143:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/debug.c:242:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pk_name [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/debug.c:305:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XINT [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/debug.c:433:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_COMMAND [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/binop.c:55:12: style: Variable 'sstart' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/binop.c:369:21: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/binop.c:369:26: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/binop.c:369:31: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/modes.c:827:19: warning: Uninitialized variable: bqfile [uninitvar] iraf-2.18.1/pkg/cl/modes.c:821:28: note: Assuming condition is true iraf-2.18.1/pkg/cl/modes.c:827:19: note: Uninitialized variable: bqfile iraf-2.18.1/pkg/ecl/binop.c:410:21: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/binop.c:457:35: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/edcap.c:53:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/edcap.c:116:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/edcap.c:305:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/edcap.c:376:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/debug.c:305:37: style:inconclusive: Boolean expression '(XINT)tp<(XINT)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] iraf-2.18.1/pkg/ecl/debug.c:305:37: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] iraf-2.18.1/pkg/ecl/debug.c:102:10: portability: %d in format string (no. 1) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/ecl/debug.c:102:10: portability: %d in format string (no. 4) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/ecl/debug.c:106:10: portability: %d in format string (no. 1) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/ecl/debug.c:106:10: portability: %d in format string (no. 3) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/ecl/debug.c:110:6: portability: %d in format string (no. 2) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/ecl/debug.c:110:6: portability: %d in format string (no. 4) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/ecl/debug.c:192:4: portability: %d in format string (no. 1) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/ecl/debug.c:200:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/ecl/debug.c:207:7: portability: %d in format string (no. 1) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/ecl/debug.c:207:7: portability: %d in format string (no. 2) requires 'int' but the argument type is 'memel {aka unsigned long}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/ecl/debug.c:64:29: style: Variable 'cep' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/debug.c:91:26: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/debug.c:235:8: style: Variable 'stackaddr' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/debug.c:236:8: style: Variable 'otheraddr' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/debug.c:369:24: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/debug.c:430:27: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/decl.c:60:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:92:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:205:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INDEFL [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:355:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:486:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:503:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:524:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:562:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:581:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:634:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:714:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:761:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:831:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:854:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/param.c:481:10: style: Variable '*bp' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/pkg/cl/param.c:479:14: note: *bp is assigned iraf-2.18.1/pkg/cl/param.c:481:10: note: *bp is overwritten iraf-2.18.1/pkg/cl/param.c:836:11: style: Local variable 'i' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/cl/param.c:806:22: note: Shadowed declaration iraf-2.18.1/pkg/cl/param.c:836:11: note: Shadow variable iraf-2.18.1/pkg/cl/param.c:636:25: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/param.c:757:15: style: Parameter 'param_spec' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/param.c:1046:13: style: Variable 'lenoff' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/param.c:1117:42: style: Variable 'p_i' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/param.c:1118:14: style: Variable 'p_r' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/param.c:1190:23: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/param.c:1235:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/param.c:1311:16: style: Variable 'poff' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/param.c:1373:9: style: Variable 'len' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/edcap.c:357:3: error: sprintf format string requires 4 parameters but only 2 are given. [wrongPrintfScanfArgNum] iraf-2.18.1/pkg/ecl/edcap.c:192:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] iraf-2.18.1/pkg/ecl/edcap.c:245:15: style: Variable 'echars' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/edcap.c:246:15: style: Variable 'ecodes' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/edcap.c:318:11: style: Parameter 'cstring' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/errs.c:198:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/errs.c:352:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/builtin.c:2105:19: warning: Either the condition 'n>=10' is redundant or the array 'allocdev[10]' is accessed at index 10, which is out of bounds. [arrayIndexOutOfBoundsCond] iraf-2.18.1/pkg/ecl/builtin.c:2101:8: note: Assuming that condition 'n>=10' is not redundant iraf-2.18.1/pkg/ecl/builtin.c:2105:19: note: Array index out of bounds iraf-2.18.1/pkg/ecl/builtin.c:548:9: warning: Either the condition 'arg1' is redundant or there is possible null pointer dereference: arg1. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/builtin.c:550:6: note: Assuming that condition 'arg1' is not redundant iraf-2.18.1/pkg/ecl/builtin.c:548:9: note: Null pointer dereference iraf-2.18.1/pkg/ecl/builtin.c:1048:9: style: Variable 'o2' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/pkg/ecl/builtin.c:1046:9: note: o2 is assigned iraf-2.18.1/pkg/ecl/builtin.c:1048:9: note: o2 is overwritten iraf-2.18.1/pkg/ecl/errs.c:393:2: warning: sprintf format string requires 5 parameters but 6 are given. [wrongPrintfScanfArgNum] iraf-2.18.1/pkg/ecl/errs.c:223:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] iraf-2.18.1/pkg/ecl/errs.c:221:15: note: Assuming allocation function fails iraf-2.18.1/pkg/ecl/errs.c:221:15: note: Assignment 'fp=fdopen(fd,"w")', assigned value is 0 iraf-2.18.1/pkg/ecl/errs.c:223:12: note: Null pointer dereference iraf-2.18.1/pkg/ecl/errs.c:224:13: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] iraf-2.18.1/pkg/ecl/errs.c:221:15: note: Assuming allocation function fails iraf-2.18.1/pkg/ecl/errs.c:221:15: note: Assignment 'fp=fdopen(fd,"w")', assigned value is 0 iraf-2.18.1/pkg/ecl/errs.c:224:13: note: Null pointer dereference iraf-2.18.1/pkg/ecl/errs.c:226:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] iraf-2.18.1/pkg/ecl/errs.c:221:15: note: Assuming allocation function fails iraf-2.18.1/pkg/ecl/errs.c:221:15: note: Assignment 'fp=fdopen(fd,"w")', assigned value is 0 iraf-2.18.1/pkg/ecl/errs.c:226:11: note: Null pointer dereference iraf-2.18.1/pkg/ecl/builtin.c:619:20: style: Local variable 'errcom' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/builtin.c:538:17: note: Shadowed declaration iraf-2.18.1/pkg/ecl/builtin.c:619:20: note: Shadow variable iraf-2.18.1/pkg/ecl/errs.c:301:24: style: Local variable 'errcom' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/errs.c:109:8: note: Shadowed declaration iraf-2.18.1/pkg/ecl/errs.c:301:24: note: Shadow variable iraf-2.18.1/pkg/ecl/builtin.c:1719:16: style: Local variable 'ch' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/builtin.c:1617:20: note: Shadowed declaration iraf-2.18.1/pkg/ecl/builtin.c:1719:16: note: Shadow variable iraf-2.18.1/pkg/ecl/builtin.c:2206:20: style: Local variable 'do_error' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/builtin.c:62:12: note: Shadowed declaration iraf-2.18.1/pkg/ecl/builtin.c:2206:20: note: Shadow variable iraf-2.18.1/pkg/ecl/builtin.c:242:19: style: Variable 'stat' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/builtin.c:618:19: style: Variable 'script' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/builtin.c:1137:19: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/builtin.c:1468:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/builtin.c:2243:17: style: Variable 'ltp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/errs.c:330:6: error: va_list 'args' used before va_start() was called. [va_list_usedBeforeStarted] iraf-2.18.1/pkg/ecl/builtin.c:2439:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/builtin.c:2040:51: warning: Uninitialized variable: os_filelist [uninitvar] iraf-2.18.1/pkg/ecl/builtin.c:2021:23: note: Assuming condition is false iraf-2.18.1/pkg/ecl/builtin.c:2040:51: note: Uninitialized variable: os_filelist iraf-2.18.1/pkg/ecl/builtin.c:108:9: style: Variable 'n' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/ecl/builtin.c:251:16: style: Variable 'stat' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/ecl/builtin.c:1297:9: style: Variable 'n' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/ecl/builtin.c:2260:29: style: Variable 'ltp' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/ecl/eparam.c:118:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:229:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:321:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:481:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:504:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:702:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:719:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:853:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:878:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:918:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:982:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:1010:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:1168:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:1568:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:1609:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:1815:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:1904:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:1947:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:1991:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:2053:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:2089:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/eparam.c:2161:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gquery.c:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gquery.c:149:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gquery.c:185:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gquery.c:109:8: style: Variable 'o' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/pkg/ecl/gquery.c:97:5: note: o is assigned iraf-2.18.1/pkg/ecl/gquery.c:109:8: note: o is overwritten iraf-2.18.1/pkg/ecl/gquery.c:41:8: style: Variable 'query_status' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/gquery.c:115:13: style: Variable 'errmsg' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/ecl/gquery.c:117:13: style: Variable 'errmsg' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/ecl/gquery.c:119:13: style: Variable 'errmsg' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/ecl/exec.c:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/exec.c:149:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_scriptln [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/exec.c:345:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_scriptln [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/exec.c:599:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STDERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/exec.c:728:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/exec.c:835:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/exec.c:884:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/exec.c:995:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/exec.c:1168:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/exec.c:1224:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/exec.c:1293:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/exec.c:1332:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/exec.c:1399:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_INT [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/decl.c:683:9: warning: Possible null pointer dereference: fp [nullPointer] iraf-2.18.1/pkg/ecl/decl.c:620:10: note: Assignment 'fp=lp=NULL', assigned value is 0 iraf-2.18.1/pkg/ecl/decl.c:622:13: note: Assuming condition is false iraf-2.18.1/pkg/ecl/decl.c:683:9: note: Null pointer dereference iraf-2.18.1/pkg/ecl/decl.c:427:20: style: Variable 'pp->p_valo.o_val.v_s' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/pkg/ecl/decl.c:417:21: note: pp->p_valo.o_val.v_s is assigned iraf-2.18.1/pkg/ecl/decl.c:427:20: note: pp->p_valo.o_val.v_s is overwritten iraf-2.18.1/pkg/ecl/decl.c:51:15: style: Variable 'off' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/decl.c:359:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/decl.c:454:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/decl.c:804:9: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/decl.c:845:8: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/history.c:86:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/history.c:176:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/history.c:438:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/history.c:493:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/history.c:572:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/history.c:698:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/history.c:825:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable record [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/history.c:940:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable record [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/history.c:977:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/history.c:1005:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/history.c:1034:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/history.c:1066:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/lexicon.c:45:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable parenlevel [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/lexicon.c:175:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inarglist [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/lexicon.c:656:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_in [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gram.c:190:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Y_WHILE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gram.c:393:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gram.c:528:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gram.c:574:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gram.c:650:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gram.c:734:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gram.c:794:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gram.c:1082:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gram.c:1177:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_args [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gram.c:1198:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_opcode [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gram.c:1276:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_opcode [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gram.c:1388:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_args [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gram.c:1409:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_args [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/lexicon.c:609:10: style: Local variable 'token' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/lexicon.c:150:15: note: Shadowed declaration iraf-2.18.1/pkg/ecl/lexicon.c:609:10: note: Shadow variable iraf-2.18.1/pkg/ecl/lexyy.c:66:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yylval [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/lexyy.c:247:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/lexyy.c:768:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/lexyy.c:895:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/exec.c:951:15: warning: Either the condition 'o_pfp==NULL' is redundant or there is possible null pointer dereference: o_pfp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/exec.c:943:12: note: Assuming that condition 'o_pfp==NULL' is not redundant iraf-2.18.1/pkg/ecl/exec.c:951:15: note: Null pointer dereference iraf-2.18.1/pkg/ecl/exec.c:960:20: warning: Either the condition 'o_pfp==NULL' is redundant or there is possible null pointer dereference: o_pfp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/exec.c:943:12: note: Assuming that condition 'o_pfp==NULL' is not redundant iraf-2.18.1/pkg/ecl/exec.c:960:20: note: Null pointer dereference iraf-2.18.1/pkg/ecl/exec.c:1341:35: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] iraf-2.18.1/pkg/ecl/exec.c:1339:17: note: Assuming allocation function fails iraf-2.18.1/pkg/ecl/exec.c:1339:17: note: Assignment 'fp=fopen(fname,"r")', assigned value is 0 iraf-2.18.1/pkg/ecl/exec.c:1341:35: note: Null pointer dereference iraf-2.18.1/pkg/ecl/exec.c:1215:17: style: Local variable 'errcom' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/exec.c:43:16: note: Shadowed declaration iraf-2.18.1/pkg/ecl/exec.c:1215:17: note: Shadow variable iraf-2.18.1/pkg/ecl/exec.c:1216:15: style: Local variable 'err_clear' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/clmodes.h:77:3: note: Shadowed declaration iraf-2.18.1/pkg/ecl/exec.c:1216:15: note: Shadow variable iraf-2.18.1/pkg/ecl/exec.c:296:28: style: Variable 'cep' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/exec.c:570:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/exec.c:874:11: style: Parameter 'tn' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/exec.c:880:21: style: Variable 'm_pp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/exec.c:1328:45: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/history.c:671:7: style: Local variable 'cmdblk' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/history.c:50:6: note: Shadowed declaration iraf-2.18.1/pkg/ecl/history.c:671:7: note: Shadow variable iraf-2.18.1/pkg/ecl/history.c:672:6: style: Local variable 'nargs' shadows outer function [shadowFunction] iraf-2.18.1/pkg/ecl/proto.h:87:12: note: Shadowed declaration iraf-2.18.1/pkg/ecl/history.c:672:6: note: Shadow variable iraf-2.18.1/pkg/ecl/history.c:759:15: style: Local variable 'nargs' shadows outer function [shadowFunction] iraf-2.18.1/pkg/ecl/proto.h:87:12: note: Shadowed declaration iraf-2.18.1/pkg/ecl/history.c:759:15: note: Shadow variable iraf-2.18.1/pkg/ecl/history.c:938:7: style: Local variable 'cmdblk' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/history.c:50:6: note: Shadowed declaration iraf-2.18.1/pkg/ecl/history.c:938:7: note: Shadow variable iraf-2.18.1/pkg/ecl/history.c:570:27: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/history.c:670:27: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/history.c:792:27: style: Variable 'otop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/history.c:844:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/history.c:844:27: style: Variable 'itop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/history.c:874:22: style: Variable 'op' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/history.c:876:24: style: Variable 'old_ophist' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/history.c:971:25: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/history.c:973:25: style: Variable 'lastpack' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/history.c:999:28: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/history.c:1001:25: style: Variable 'lastpack' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/history.c:1082:22: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/history.c:1124:11: style: Parameter 'marg1' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/history.c:1125:11: style: Parameter 'marg2' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/history.c:1170:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/history.c:1170:27: style: Variable 'otop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/history.c:1173:8: style: Variable 'pkg' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/history.c:1173:14: style: Variable 'tname' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/lists.c:70:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/lists.c:119:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/lists.c:54:12: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/main.c:118:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Memc [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/main.c:191:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next_handler [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/main.c:229:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/main.c:308:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/main.c:376:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/main.c:585:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/main.c:626:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/main.c:703:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_INT [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/main.c:764:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_INT [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/main.c:776:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_INT [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/main.c:792:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/lexyy.c:620:8: portability: Undefined behaviour, pointer arithmetic 'yycrank-1' is out of bounds. [pointerOutOfBounds] iraf-2.18.1/pkg/ecl/lexyy.c:621:8: portability: Undefined behaviour, pointer arithmetic 'yycrank-41' is out of bounds. [pointerOutOfBounds] iraf-2.18.1/pkg/ecl/lexyy.c:646:8: portability: Undefined behaviour, pointer arithmetic 'yycrank-241' is out of bounds. [pointerOutOfBounds] iraf-2.18.1/pkg/ecl/lexyy.c:679:8: portability: Undefined behaviour, pointer arithmetic 'yycrank-367' is out of bounds. [pointerOutOfBounds] iraf-2.18.1/pkg/ecl/lexyy.c:680:8: portability: Undefined behaviour, pointer arithmetic 'yycrank-2' is out of bounds. [pointerOutOfBounds] iraf-2.18.1/pkg/ecl/lexyy.c:899:2: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] iraf-2.18.1/pkg/ecl/lexyy.c:52:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/ecl/lexyy.c:69:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/ecl/lexyy.c:87:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/ecl/lexyy.c:174:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/ecl/lexyy.c:181:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/ecl/lexyy.c:187:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/ecl/lexyy.c:194:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/ecl/lexyy.c:203:1: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/pkg/ecl/lexyy.c:40:1: style: Label 'yyfussy' is not used. [unusedLabel] iraf-2.18.1/pkg/ecl/lexyy.c:38:22: style: Local variable 'yyprevious' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/lexyy.c:731:5: note: Shadowed declaration iraf-2.18.1/pkg/ecl/lexyy.c:38:22: note: Shadow variable iraf-2.18.1/pkg/ecl/lexyy.c:243:22: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/lexyy.c:244:15: style: Variable 'esc_ch' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/lexyy.c:245:15: style: Variable 'esc_val' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/lexyy.c:736:16: style: Variable 'yyz' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/lexyy.c:882:14: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/main.c:589:12: warning: Obsolete function 'mktemp' called. It is recommended to use 'mkstemp' or 'mkdtemp' instead. [prohibitedmktempCalled] iraf-2.18.1/pkg/ecl/main.c:200:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'memel * {aka unsigned long *}'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/ecl/main.c:200:6: portability: %o in format string (no. 2) requires 'unsigned int' but the argument type is 'memel * {aka unsigned long *}'. [invalidPrintfArgType_uint] iraf-2.18.1/pkg/ecl/main.c:237:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'double'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/ecl/main.c:237:3: warning: fprintf format string requires 3 parameters but 4 are given. [wrongPrintfScanfArgNum] iraf-2.18.1/pkg/ecl/main.c:599:34: warning: Either the condition '(fd1=fopen(in1,"rt"))==NULL' is redundant or there is possible null pointer dereference: fd1. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/main.c:597:36: note: Assuming that condition '(fd1=fopen(in1,"rt"))==NULL' is not redundant iraf-2.18.1/pkg/ecl/main.c:599:34: note: Null pointer dereference iraf-2.18.1/pkg/ecl/main.c:607:34: warning: Either the condition '(fd2=fopen(in2,"rt"))==NULL' is redundant or there is possible null pointer dereference: fd2. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/main.c:605:36: note: Assuming that condition '(fd2=fopen(in2,"rt"))==NULL' is not redundant iraf-2.18.1/pkg/ecl/main.c:607:34: note: Null pointer dereference iraf-2.18.1/pkg/ecl/main.c:585:15: style: Local variable 'tmpfile' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/main.c:97:15: note: Shadowed declaration iraf-2.18.1/pkg/ecl/main.c:585:15: note: Shadow variable iraf-2.18.1/pkg/ecl/main.c:810:17: style: Parameter 'ip' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/modes.c:87:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable o_type [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/modes.c:207:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable t_flags [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/modes.c:268:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/modes.c:540:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fp [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/modes.c:623:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/modes.c:752:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/modes.c:816:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/modes.c:905:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/modes.c:1018:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/modes.c:1160:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/modes.c:1250:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/operand.c:55:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/operand.c:104:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/operand.c:252:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/operand.c:302:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_DIGITS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/operand.c:361:10: warning: %x in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] iraf-2.18.1/pkg/ecl/operand.c:41:56: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/operand.c:180:18: style: Variable 'op' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/operand.c:301:8: style: Variable 'format' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/operand.c:382:12: style: Variable 'colon' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/opcodes.c:82:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:161:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:195:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:234:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:368:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:457:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/operand.c:203:14: style: Variable 'newtype' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/ecl/opcodes.c:509:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:724:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:870:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:903:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:984:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_args [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:1007:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:1055:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:1099:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:1209:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_length [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:1253:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/opcodes.c:1283:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/cl/pfiles.c:128:14: warning: Either the condition '(pfp=pfileread(NULL,pfilepath,0))==NULL' is redundant or there is possible null pointer dereference: pfp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/cl/pfiles.c:126:49: note: Assuming that condition '(pfp=pfileread(NULL,pfilepath,0))==NULL' is not redundant iraf-2.18.1/pkg/cl/pfiles.c:128:14: note: Null pointer dereference iraf-2.18.1/pkg/cl/pfiles.c:293:11: warning: Either the condition '(pfp=pfileread(ltp,pkg_pfile,0))==NULL' is redundant or there is possible null pointer dereference: pfp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/cl/pfiles.c:290:45: note: Assuming that condition '(pfp=pfileread(ltp,pkg_pfile,0))==NULL' is not redundant iraf-2.18.1/pkg/cl/pfiles.c:293:11: note: Null pointer dereference iraf-2.18.1/pkg/cl/pfiles.c:1752:4: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/pkg/cl/pfiles.c:1722:8: note: c is assigned iraf-2.18.1/pkg/cl/pfiles.c:1752:4: note: c is overwritten iraf-2.18.1/pkg/ecl/eparam.c:2179:17: portability: Undefined behaviour, pointer arithmetic 'lbuf-1' is out of bounds. [pointerOutOfBounds] iraf-2.18.1/pkg/cl/pfiles.c:1497:17: style: Local variable 'len' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/cl/pfiles.c:1140:6: note: Shadowed declaration iraf-2.18.1/pkg/cl/pfiles.c:1497:17: note: Shadow variable iraf-2.18.1/pkg/cl/pfiles.c:98:28: style: Parameter 'ltp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/pfiles.c:375:10: style: Variable 'lenoff' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/pfiles.c:387:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/pfiles.c:561:20: style: Variable 'qq' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/pfiles.c:731:8: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/pfiles.c:756:11: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/pfiles.c:759:11: style: Parameter 'extn' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/pfiles.c:784:16: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/pfiles.c:809:11: style: Parameter 'timecode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/cl/pfiles.c:866:10: style: Variable 'lenoff' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/pfiles.c:867:16: style: Variable 'pval' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/pfiles.c:1043:10: style: Variable 'lenoff' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/pfiles.c:1055:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/pfiles.c:1211:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/cl/pfiles.c:1593:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/eparam.c:812:22: style: Redundant condition: The condition '*s != '\0'' is redundant since '*s == '*'' is sufficient. [redundantCondition] iraf-2.18.1/pkg/ecl/eparam.c:384:10: warning: %d in format string (no. 1) requires 'int' but the argument type is 'param *'. [invalidPrintfArgType_sint] iraf-2.18.1/pkg/ecl/eparam.c:505:9: style: Local variable 'col' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/eparam.c:70:12: note: Shadowed declaration iraf-2.18.1/pkg/ecl/eparam.c:505:9: note: Shadow variable iraf-2.18.1/pkg/ecl/eparam.c:721:7: style: Local variable 'message' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/eparam.c:819:13: note: Shadowed declaration iraf-2.18.1/pkg/ecl/eparam.c:721:7: note: Shadow variable iraf-2.18.1/pkg/ecl/eparam.c:2156:19: style: Local variable 'line' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/eparam.c:69:12: note: Shadowed declaration iraf-2.18.1/pkg/ecl/eparam.c:2156:19: note: Shadow variable iraf-2.18.1/pkg/ecl/eparam.c:114:9: style: Parameter 'pset' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/eparam.c:308:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/eparam.c:345:11: style: Variable 'plen' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/eparam.c:530:21: style: Variable 'ltp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/eparam.c:720:8: style: Variable 'errstr' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/eparam.c:825:9: style: Parameter 'errstr' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/eparam.c:828:8: style: Variable 'range' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/eparam.c:893:22: style: Variable 'otop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/eparam.c:1004:9: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/eparam.c:1815:27: style: Variable 'errfmt' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/eparam.c:2021:9: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/eparam.c:1731:27: style: Variable 'n' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/pkg/ecl/opcodes.c:518:9: warning: Either the condition 'pp==NULL' is redundant or there is possible null pointer dereference: pp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/opcodes.c:510:13: note: Assuming that condition 'pp==NULL' is not redundant iraf-2.18.1/pkg/ecl/opcodes.c:518:9: note: Null pointer dereference iraf-2.18.1/pkg/ecl/opcodes.c:731:2: warning: Either the condition 'pp==NULL' is redundant or there is possible null pointer dereference: pp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/opcodes.c:725:13: note: Assuming that condition 'pp==NULL' is not redundant iraf-2.18.1/pkg/ecl/opcodes.c:731:2: note: Null pointer dereference iraf-2.18.1/pkg/ecl/opcodes.c:271:14: style: Local variable 'pc' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/mem.h:101:13: note: Shadowed declaration iraf-2.18.1/pkg/ecl/opcodes.c:271:14: note: Shadow variable iraf-2.18.1/pkg/ecl/opcodes.c:410:14: style: Local variable 'pc' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/mem.h:101:13: note: Shadowed declaration iraf-2.18.1/pkg/ecl/opcodes.c:410:14: note: Shadow variable iraf-2.18.1/pkg/ecl/opcodes.c:610:6: style: Local variable 'nargs' shadows outer function [shadowFunction] iraf-2.18.1/pkg/ecl/proto.h:87:12: note: Shadowed declaration iraf-2.18.1/pkg/ecl/opcodes.c:610:6: note: Shadow variable iraf-2.18.1/pkg/ecl/opcodes.c:1056:6: style: Local variable 'nargs' shadows outer function [shadowFunction] iraf-2.18.1/pkg/ecl/proto.h:87:12: note: Shadowed declaration iraf-2.18.1/pkg/ecl/opcodes.c:1056:6: note: Shadow variable iraf-2.18.1/pkg/ecl/opcodes.c:1101:6: style: Local variable 'nargs' shadows outer function [shadowFunction] iraf-2.18.1/pkg/ecl/proto.h:87:12: note: Shadowed declaration iraf-2.18.1/pkg/ecl/opcodes.c:1101:6: note: Shadow variable iraf-2.18.1/pkg/ecl/opcodes.c:98:15: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_add' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1329:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:98:15: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:154:16: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/opcodes.c:188:16: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/opcodes.c:217:15: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_and' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1335:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:217:15: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:228:16: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/opcodes.c:269:16: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_biff' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1338:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:269:16: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:293:18: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_chsign' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1342:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:293:18: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:302:18: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_concat' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1343:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:302:18: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:310:15: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_div' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1346:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:310:15: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:316:17: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_doend' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1348:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:316:17: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:383:14: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_eq' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1349:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:383:14: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:391:16: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_exec' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1350:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:391:16: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:399:14: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_ge' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1354:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:399:14: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:408:18: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_dogoto' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1355:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:408:18: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:419:14: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_gt' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1358:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:419:14: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:494:23: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_indirposset' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1361:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:494:23: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:537:20: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_indxincr' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1362:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:537:20: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:621:14: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_le' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1366:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:621:14: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:629:14: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_lt' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1367:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:629:14: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:637:15: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_mul' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1368:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:637:15: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:663:14: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_ne' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1371:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:663:14: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:671:15: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_not' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1372:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:671:15: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:679:14: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_or' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1373:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:679:14: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:701:21: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_posargset' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1376:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:701:21: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:738:17: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_dopow' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1377:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:738:17: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:750:19: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_doprint' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1378:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:750:19: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:798:7: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/opcodes.c:864:16: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/opcodes.c:897:16: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/opcodes.c:968:21: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_doaddpipe' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1331:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:968:21: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:974:16: style: Variable 'ltp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/opcodes.c:1024:19: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_rmpipes' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1385:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:1024:19: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:1031:20: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_doreturn' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1386:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:1031:20: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:1042:18: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_doscan' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1388:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:1042:18: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:1087:19: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_dofscan' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1352:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:1087:19: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:1144:15: style: Parameter 'argp' can be declared as pointer to const. However it seems that 'o_sub' is a callback function, if 'argp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/pkg/ecl/opcodes.c:1390:10: note: You might need to cast the function pointer here iraf-2.18.1/pkg/ecl/opcodes.c:1144:15: note: Parameter 'argp' can be declared as pointer to const iraf-2.18.1/pkg/ecl/opcodes.c:1180:14: style: Variable 'jmpdelta' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/param.c:94:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/param.c:188:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/param.c:592:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/param.c:720:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pname [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/param.c:770:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/param.c:791:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/param.c:878:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/param.c:957:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/param.c:1250:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/gram.c:580:10: warning: Either the condition 'nltask>=256' is redundant or the array 'list[256]' is accessed at index 256, which is out of bounds. [arrayIndexOutOfBoundsCond] iraf-2.18.1/pkg/ecl/gram.c:576:17: note: Assuming that condition 'nltask>=256' is not redundant iraf-2.18.1/pkg/ecl/gram.c:580:10: note: Array index out of bounds iraf-2.18.1/pkg/ecl/gram.c:664:10: warning: Either the condition 'npts>3' is redundant or the array 'pts[3]' is accessed at index 4, which is out of bounds. [arrayIndexOutOfBoundsCond] iraf-2.18.1/pkg/ecl/gram.c:661:16: note: Assuming that condition 'npts>3' is not redundant iraf-2.18.1/pkg/ecl/gram.c:664:10: note: Array index out of bounds iraf-2.18.1/pkg/ecl/gram.c:742:12: warning: Either the condition 'kentry==-2' is redundant or the array 'fctbl[12]' is accessed at index -2, which is out of bounds. [negativeIndex] iraf-2.18.1/pkg/ecl/gram.c:739:18: note: Assuming that condition 'kentry==-2' is not redundant iraf-2.18.1/pkg/ecl/gram.c:742:12: note: Negative array index iraf-2.18.1/pkg/ecl/gram.c:839:12: warning: Either the condition 'op_index==-2' is redundant or the array 'optbl[63]' is accessed at index -2, which is out of bounds. [negativeIndex] iraf-2.18.1/pkg/ecl/gram.c:836:15: note: Assuming that condition 'op_index==-2' is not redundant iraf-2.18.1/pkg/ecl/gram.c:839:12: note: Negative array index iraf-2.18.1/pkg/ecl/gram.c:1119:32: warning: Either the condition '(pipe=--nextpipe)<0' is redundant or the array 'pipetable[20]' is accessed at index -1, which is out of bounds. [negativeIndex] iraf-2.18.1/pkg/ecl/gram.c:1117:27: note: Assuming that condition '(pipe=--nextpipe)<0' is not redundant iraf-2.18.1/pkg/ecl/gram.c:1119:32: note: Negative array index iraf-2.18.1/pkg/ecl/gram.c:152:29: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/gram.c:415:14: style: Variable 'len' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/gram.c:415:20: style: Variable 'off' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/gram.c:526:27: style: Parameter 'ltp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/gram.c:561:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/gram.c:722:14: style: Variable 'fctbl' can be declared as const array [constVariable] iraf-2.18.1/pkg/ecl/gram.c:755:47: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/gram.c:793:8: style: Variable 'trim' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/gram.c:813:13: style: Variable 'optbl' can be declared as const array [constVariable] iraf-2.18.1/pkg/ecl/gram.c:1132:8: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/gram.c:1363:27: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/prcache.c:131:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EA_ERROR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/prcache.c:216:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/prcache.c:304:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/prcache.c:378:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/prcache.c:427:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/prcache.c:445:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/prcache.c:604:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_STATUS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/prcache.c:629:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_STATUS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/stack.c:73:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/stack.c:114:25: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/stack.c:165:10: error: Uninitialized variable: junk [legacyUninitvar] iraf-2.18.1/pkg/ecl/scan.c:59:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/scan.c:205:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/scan.c:341:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/prcache.c:139:36: warning:inconclusive: Possible null pointer dereference: t_gr [nullPointer] iraf-2.18.1/pkg/ecl/prcache.c:381:35: note: Calling function 'pr_connect', 8th argument '0' value is 0 iraf-2.18.1/pkg/ecl/prcache.c:139:36: note: Null pointer dereference iraf-2.18.1/pkg/ecl/prcache.c:140:36: warning:inconclusive: Possible null pointer dereference: t_im [nullPointer] iraf-2.18.1/pkg/ecl/prcache.c:381:37: note: Calling function 'pr_connect', 9th argument '0' value is 0 iraf-2.18.1/pkg/ecl/prcache.c:140:36: note: Null pointer dereference iraf-2.18.1/pkg/ecl/prcache.c:141:36: warning:inconclusive: Possible null pointer dereference: t_pl [nullPointer] iraf-2.18.1/pkg/ecl/prcache.c:381:39: note: Calling function 'pr_connect', 10th argument '0' value is 0 iraf-2.18.1/pkg/ecl/prcache.c:141:36: note: Null pointer dereference iraf-2.18.1/pkg/ecl/prcache.c:349:20: style: Parameter 'process' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/prcache.c:539:22: style: Parameter 'pname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/task.c:65:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/task.c:139:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/task.c:168:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/task.c:252:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/task.c:272:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/task.c:308:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/task.c:331:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/pfiles.c:163:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/pfiles.c:337:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/pfiles.c:460:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/pfiles.c:604:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/pfiles.c:672:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/pfiles.c:762:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/unop.c:49:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/pfiles.c:814:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/pfiles.c:907:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/pfiles.c:1156:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/pfiles.c:1604:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/pfiles.c:1629:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/pfiles.c:1841:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/pfiles.c:1919:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/xtools/gammln.c:14:23: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/xtools/gammln.c:19:25: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/task.c:233:16: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/task.c:287:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/task.c:329:16: style: Parameter 'task_spec' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/task.c:382:15: style: Variable 'lastask' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/gio/fonts/mkfont.c:50:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/atoi.c:24:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/atoi.c:19:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/libc/atol.c:25:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/atol.c:19:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/scan.c:294:10: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] iraf-2.18.1/pkg/ecl/scan.c:202:6: style: Local variable 'nscan_val' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/scan.c:31:12: note: Shadowed declaration iraf-2.18.1/pkg/ecl/scan.c:202:6: note: Shadow variable iraf-2.18.1/pkg/ecl/scan.c:57:27: style: Parameter 'source' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/scan.c:200:17: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/scan.c:200:42: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/scan.c:333:15: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/libc/calloc.c:23:39: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/callocate.c:19:46: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/cclose.c:19:22: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/ccnvtime.c:20:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/ccnvdate.c:20:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cdelete.c:16:33: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/cenvget.c:130:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_COMMAND [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cenvget.c:143:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_COMMAND [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cerrget.c:19:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cfchdir.c:15:35: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/cfinfo.c:22:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cfilbuf.c:24:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _FIPC [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cflsbuf.c:32:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Memc [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/modes.c:656:11: warning: Either the condition '(fp=fopen(bqfile,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/modes.c:766:33: note: Assuming that condition '(fp=fopen(bqfile,"w"))==NULL' is not redundant iraf-2.18.1/pkg/ecl/modes.c:772:14: note: Calling function 'pquery', 2nd argument 'fp' value is 0 iraf-2.18.1/pkg/ecl/modes.c:656:11: note: Null pointer dereference iraf-2.18.1/pkg/ecl/modes.c:733:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] iraf-2.18.1/pkg/ecl/modes.c:364:21: note: Assuming allocation function fails iraf-2.18.1/pkg/ecl/modes.c:364:21: note: Calling function 'pquery', 2nd argument 'fdopen(fd,"a")' value is 0 iraf-2.18.1/pkg/ecl/modes.c:733:11: note: Null pointer dereference iraf-2.18.1/pkg/ecl/modes.c:773:10: warning: Either the condition '(fp=fopen(bqfile,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/modes.c:766:33: note: Assuming that condition '(fp=fopen(bqfile,"w"))==NULL' is not redundant iraf-2.18.1/pkg/ecl/modes.c:773:10: note: Null pointer dereference iraf-2.18.1/pkg/ecl/modes.c:795:37: warning: Either the condition '(in=fopen(qrfile,"r"))==NULL' is redundant or there is possible null pointer dereference: in. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/modes.c:792:33: note: Assuming that condition '(in=fopen(qrfile,"r"))==NULL' is not redundant iraf-2.18.1/pkg/ecl/modes.c:795:37: note: Null pointer dereference iraf-2.18.1/pkg/ecl/modes.c:796:10: warning: Either the condition '(in=fopen(qrfile,"r"))==NULL' is redundant or there is possible null pointer dereference: in. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/modes.c:792:33: note: Assuming that condition '(in=fopen(qrfile,"r"))==NULL' is not redundant iraf-2.18.1/pkg/ecl/modes.c:796:10: note: Null pointer dereference iraf-2.18.1/pkg/ecl/modes.c:833:21: warning: Either the condition '(fp=fopen(bqfile,"r"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/modes.c:827:33: note: Assuming that condition '(fp=fopen(bqfile,"r"))==NULL' is not redundant iraf-2.18.1/pkg/ecl/modes.c:833:21: note: Null pointer dereference iraf-2.18.1/pkg/ecl/modes.c:848:19: warning: Either the condition '(fp=fopen(qrtemp,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/modes.c:846:33: note: Assuming that condition '(fp=fopen(qrtemp,"w"))==NULL' is not redundant iraf-2.18.1/pkg/ecl/modes.c:848:19: note: Null pointer dereference iraf-2.18.1/pkg/ecl/modes.c:849:10: warning: Either the condition '(fp=fopen(qrtemp,"w"))==NULL' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/modes.c:846:33: note: Assuming that condition '(fp=fopen(qrtemp,"w"))==NULL' is not redundant iraf-2.18.1/pkg/ecl/modes.c:849:10: note: Null pointer dereference iraf-2.18.1/sys/libc/cfmapfn.c:21:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cfmkdir.c:17:34: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/cfnextn.c:19:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/modes.c:272:70: style: Variable 'query_status' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/modes.c:1047:26: style: Parameter 'tp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/modes.c:1050:17: style: Variable 'name' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/modes.c:1112:18: style: Variable 'name' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/libc/cfnldir.c:19:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/pkg/ecl/modes.c:827:19: warning: Uninitialized variable: bqfile [uninitvar] iraf-2.18.1/pkg/ecl/modes.c:821:28: note: Assuming condition is true iraf-2.18.1/pkg/ecl/modes.c:827:19: note: Uninitialized variable: bqfile iraf-2.18.1/sys/libc/cfnroot.c:18:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cfpath.c:33:6: error: There is an unknown macro here somewhere. Configuration is required. If c_strpak is a macro then please configure it. [unknownMacro] iraf-2.18.1/sys/libc/cfredir.c:25:58: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/cgetuid.c:18:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cimaccess.c:24:60: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/ckimapc.c:20:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cimdrcur.c:26:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/clexnum.c:35:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cmktemp.c:25:48: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/clexnum.c:33:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/libc/cndopen.c:21:54: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/copen.c:22:60: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/cnote.c:25:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TYPE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/coscmd.c:24:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cpoll.c:33:36: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/cprcon.c:66:71: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/cprdet.c:53:67: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/cprintf.c:17:34: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/crcursor.c:19:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/crdukey.c:18:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/crename.c:22:52: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/cread.c:39:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TYPE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/creopen.c:22:54: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/csalloc.c:46:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TY_CHAR [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cseek.c:38:37: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/csalloc.c:49:11: style: Redundant initialization for 'x_nchars'. The initialized value is overwritten before it is read. [redundantInitialization] iraf-2.18.1/sys/libc/csalloc.c:46:16: note: x_nchars is initialized iraf-2.18.1/sys/libc/csalloc.c:49:11: note: x_nchars is overwritten iraf-2.18.1/sys/libc/cstropen.c:22:53: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/csppstr.c:24:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_COMMAND [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/csppstr.c:22:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/libc/cstrupk.c:34:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCHAR [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cstrpak.c:27:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCHAR [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cttset.c:20:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_COMMAND [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cttset.c:81:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cstrupk.c:25:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/libc/cstrpak.c:22:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/libc/cttyodes.c:85:50: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/cttyputs.c:25:60: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/cungetc.c:24:30: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/cungetl.c:27:63: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/cvfnbrk.c:23:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cwrite.c:27:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TYPE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/cxgmes.c:26:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/eprintf.c:20:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/fclose.c:19:22: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/fflush.c:20:22: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/fdopen.c:22:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_MODE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/fdopen.c:19:9: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/libc/fgets.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/fopen.c:57:62: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/fputs.c:20:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/fread.c:35:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/freadline.c:25:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/fread.c:31:9: style: Redundant initialization for 'fd'. The initialized value is overwritten before it is read. [redundantInitialization] iraf-2.18.1/sys/libc/fread.c:27:10: note: fd is initialized iraf-2.18.1/sys/libc/fread.c:31:9: note: fd is overwritten iraf-2.18.1/sys/libc/fread.c:40:10: style: Redundant initialization for 'op'. The initialized value is overwritten before it is read. [redundantInitialization] iraf-2.18.1/sys/libc/fread.c:28:11: note: op is initialized iraf-2.18.1/sys/libc/fread.c:40:10: note: op is overwritten iraf-2.18.1/sys/libc/fgets.c:21:30: style: Variable 'lastch' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/sys/libc/free.c:18:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TY_CHAR [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/freopen.c:32:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEXT_FILE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/freopen.c:17:9: style: Parameter 'modestr' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/libc/fseek.c:43:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_TYPE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/fwrite.c:29:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/gets.c:18:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/getw.c:27:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _FEOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/malloc.c:20:45: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/mktemp.c:19:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/perror.c:32:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/perror.c:25:9: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/libc/puts.c:18:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/printf.c:38:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/printf.c:76:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_COMMAND [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/realloc.c:24:46: error: syntax error [syntaxError] iraf-2.18.1/sys/gio/fonts/mkfont.c:90:5: style: Variable 'y' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/sys/gio/fonts/mkfont.c:84:9: note: y is assigned iraf-2.18.1/sys/gio/fonts/mkfont.c:90:5: note: y is overwritten iraf-2.18.1/sys/gio/fonts/mkfont.c:44:13: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/gio/fonts/mkfont.c:44:18: style: Variable 'data' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/gio/fonts/mkfont.c:109:10: style: Parameter 'idxtab' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/gio/fonts/mkfont.c:131:10: style: Parameter 'wtab' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/gio/fonts/mkfont.c:153:10: style: Parameter 'strtab' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/gio/fonts/mkfont.c:41:16: style: Variable 'i' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/sys/gio/fonts/mkfont.c:59:16: style: Variable 'data' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/sys/gio/fonts/mkfont.c:43:19: style: Unused variable: xspace [unusedVariable] iraf-2.18.1/sys/gio/fonts/mkfont.c:43:27: style: Unused variable: yspace [unusedVariable] iraf-2.18.1/sys/libc/setbuf.c:22:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/setbuf.c:42:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_BUFSIZE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/setbuf.c:62:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_BUFSIZE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/spf.c:37:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEW_FILE [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/sprintf.c:26:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_COMMAND [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/stgio.c:35:43: error: syntax error [syntaxError] iraf-2.18.1/sys/libc/system.c:23:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/sprintf.c:24:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/libc/ungetc.c:25:30: error: syntax error [syntaxError] iraf-2.18.1/sys/osb/abs.c:12:13: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/aclrb.c:14:24: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/and.c:11:13: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/and.c:11:22: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/and.c:20:15: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/and.c:20:26: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/and.c:29:14: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/and.c:29:24: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bitfields.c:45:10: style: Parameter 'ival' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bitfields.c:47:9: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bitfields.c:48:9: style: Parameter 'nbits' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bitfields.c:64:10: style: Parameter 'wordp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bitfields.c:65:9: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bitfields.c:66:9: style: Parameter 'nbits' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bswap2.c:15:11: style: Parameter 'aoff' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bswap2.c:17:11: style: Parameter 'boff' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bswap2.c:18:11: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bswap2.c:21:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/osb/bswap4.c:15:11: style: Parameter 'aoff' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bswap4.c:17:11: style: Parameter 'boff' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bswap4.c:18:11: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bswap4.c:21:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/libc/scanf.c:84:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/scanf.c:175:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/scanf.c:335:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/scanf.c:469:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/scanf.c:520:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/libc/printf.c:65:9: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/libc/printf.c:216:8: style: Parameter 'prec' can be declared as const array [constParameter] iraf-2.18.1/sys/osb/bswap8.c:15:11: style: Parameter 'aoff' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bswap8.c:17:11: style: Parameter 'boff' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bswap8.c:18:11: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bswap8.c:21:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/osb/bytmov.c:19:9: style: Parameter 'aoff' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bytmov.c:21:9: style: Parameter 'boff' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/bytmov.c:22:9: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/d1mach.c:29:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/osb/d1mach.c:26:9: style: Parameter 'i' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/chrpak.c:15:26: style: Parameter 'a_off' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/chrpak.c:15:50: style: Parameter 'b_off' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/chrpak.c:15:63: style: Parameter 'nchars' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/chrpak.c:17:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/osb/chrupk.c:14:26: style: Parameter 'a_off' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/chrupk.c:14:49: style: Parameter 'b_off' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/chrupk.c:14:62: style: Parameter 'nchars' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/chrupk.c:16:26: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/osb/i64to32.c:14:34: style: Parameter 'nelems' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/iand32.c:5:15: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/iand32.c:5:24: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/i32to64.c:13:34: style: Parameter 'nelems' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/imul32.c:11:15: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/imul32.c:11:24: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/ipak16.c:8:33: style: Parameter 'nelems' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/ipak32.c:11:33: style: Parameter 'nelems' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/iscl32.c:18:11: style: Parameter 'npix' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/iscl32.c:19:14: style: Parameter 'bscale' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/iscl32.c:20:14: style: Parameter 'bzero' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/iscl64.c:18:9: style: Parameter 'npix' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/iscl64.c:19:12: style: Parameter 'bscale' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/iscl64.c:20:12: style: Parameter 'bzero' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/not.c:11:13: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/iupk32.c:15:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XINT [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/osb/not.c:20:15: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/not.c:29:14: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/iupk16.c:12:33: style: Parameter 'nelems' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/iupk16.c:16:9: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/osb/iupk32.c:12:33: style: Parameter 'nelems' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/iupk32.c:16:8: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/osb/r1mach.c:29:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/osb/or.c:11:12: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/or.c:11:21: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/or.c:20:14: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/or.c:20:25: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/or.c:29:13: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/or.c:29:23: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/r1mach.c:26:9: style: Parameter 'i' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/strpak.c:26:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XEOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/osb/shift.c:19:9: style: Parameter 'a_a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/shift.c:20:9: style: Parameter 'a_bits' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/shift.c:31:11: style: Parameter 'a_a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/shift.c:32:11: style: Parameter 'a_bits' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/shift.c:43:10: style: Parameter 'a_a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/shift.c:44:10: style: Parameter 'a_bits' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/strpak.c:20:45: style: Parameter 'maxch' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/strpak.c:22:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/osb/strupk.c:32:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XEOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/osb/strsum.c:76:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XEOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/sys/vops/ak/aclrc.c:16:9: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/vops/ak/aclrd.c:16:9: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/vops/ak/aclri.c:16:9: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/vops/ak/aclrl.c:16:9: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/vops/ak/aclrr.c:16:9: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/vops/ak/aclrs.c:16:9: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/vops/lz/amovc.c:17:9: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/vops/lz/amovd.c:17:9: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/vops/lz/amovi.c:17:9: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/vops/lz/amovl.c:17:9: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/strsum.c:62:29: style: Parameter 'length' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/strsum.c:62:43: style: Parameter 'maxch' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/osb/strsum.c:65:19: style: Variable 'iarray' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/osb/strsum.c:70:22: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/vops/lz/amovr.c:17:9: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/vops/lz/amovs.c:17:9: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/bootlib/osaccess.c:17:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/oschdir.c:14:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/osclose.c:18:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BINARY_FILE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/oscmd.c:13:15: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/bootlib/oscreatedir.c:16:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/oscrfile.c:18:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEW_FILE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/envinit.c:27:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/envinit.c:98:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/envinit.c:142:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/osdir.c:19:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/osdir.c:52:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/osdir.c:17:19: style: Parameter 'dirname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/bootlib/osfcopy.c:23:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/osfdate.c:16:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/osfiletype.c:96:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEXT_FILE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/osfiletype.c:73:22: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/bootlib/osfiletype.c:75:8: style: Variable 'extn' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/bootlib/osfcopy.c:20:43: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/boot/bootlib/osfn2vfn.c:37:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/osfn2vfn.c:34:11: style: Parameter 'osfn' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/bootlib/osfpathname.c:17:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/osgetenv.c:14:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/osgetenv.c:106:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/osgetenv.c:17:14: style: Variable 'errmsg' can be declared as const array [constVariable] iraf-2.18.1/unix/boot/bootlib/osopen.c:19:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BINARY_FILE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/osputenv.c:38:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/ossettime.c:22:10: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] iraf-2.18.1/unix/boot/bootlib/osstrpak.c:26:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/osstrpak.c:19:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/bootlib/osstrupk.c:33:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCHAR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/osstrupk.c:24:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/bootlib/ossubdir.c:16:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/ossymlink.c:14:9: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/bootlib/ossysfile.c:48:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/ostime.c:45:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] iraf-2.18.1/unix/boot/bootlib/ostime.c:70:7: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] iraf-2.18.1/unix/boot/bootlib/ostime.c:67:13: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/bootlib/oswrite.c:24:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BINARY_FILE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/envinit.c:25:19: style: Parameter 'pkg' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/bootlib/envinit.c:98:30: style: Variable 'hlib' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/bootlib/envinit.c:137:16: style: Parameter 'osfn' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/bootlib/tape.c:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/tape.c:143:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/tape.c:177:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/tape.c:206:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/bootlib/vfn2osfn.c:102:3: error: There is an unknown macro here somewhere. Configuration is required. If iferr is a macro then please configure it. [unknownMacro] iraf-2.18.1/unix/boot/bootlib/oswrite.c:18:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/bootlib/oswrite.c:19:23: style: Variable 'otop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/param.c:481:10: style: Variable '*bp' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/pkg/ecl/param.c:479:14: note: *bp is assigned iraf-2.18.1/pkg/ecl/param.c:481:10: note: *bp is overwritten iraf-2.18.1/pkg/ecl/param.c:847:11: style: Local variable 'i' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/param.c:817:22: note: Shadowed declaration iraf-2.18.1/pkg/ecl/param.c:847:11: note: Shadow variable iraf-2.18.1/pkg/ecl/param.c:647:25: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/param.c:768:15: style: Parameter 'param_spec' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/param.c:1057:13: style: Variable 'lenoff' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/param.c:1128:42: style: Variable 'p_i' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/param.c:1129:14: style: Variable 'p_r' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/param.c:1201:23: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/param.c:1246:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/param.c:1322:16: style: Variable 'poff' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/param.c:1384:9: style: Variable 'len' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/generic/generic.c:91:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:237:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:301:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:369:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:400:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:461:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:493:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:541:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:595:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:617:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:634:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:670:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:738:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:777:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:805:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XUBYTE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/generic/generic.c:854:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/fdcache.c:109:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/fdcache.c:182:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/bootlib/tape.c:39:17: style: struct member 'mtpos::filno' is never used. [unusedStructMember] iraf-2.18.1/unix/boot/bootlib/tape.c:40:17: style: struct member 'mtpos::recno' is never used. [unusedStructMember] iraf-2.18.1/unix/boot/bootlib/tape.c:41:17: style: struct member 'mtpos::nfiles' is never used. [unusedStructMember] iraf-2.18.1/unix/boot/bootlib/tape.c:42:17: style: struct member 'mtpos::tapeused' is never used. [unusedStructMember] iraf-2.18.1/unix/boot/mkpkg/char.c:33:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/char.c:150:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/char.c:225:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/char.c:247:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/char.c:343:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/fncache.c:127:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/fncache.c:200:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/fncache.c:221:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/generic/generic.c:93:8: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/generic/generic.c:884:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/host.c:92:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/host.c:244:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/host.c:278:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/host.c:350:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/host.c:466:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/host.c:490:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/host.c:530:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/host.c:594:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/host.c:628:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/host.c:750:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/host.c:783:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/main.c:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/main.c:306:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/main.c:321:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/main.c:342:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/pkg.c:31:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/pkg.c:99:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/pkg.c:409:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/pkg.c:462:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/pkg.c:493:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/pkg.c:588:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/pkg.c:646:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/pkg.c:707:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fname [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/pkg.c:767:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/pkg.c:794:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/pkg.c:832:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/main.c:155:17: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] iraf-2.18.1/unix/boot/mkpkg/main.c:237:11: style: The if condition is the same as the previous if condition [duplicateCondition] iraf-2.18.1/unix/boot/mkpkg/main.c:229:11: note: First condition iraf-2.18.1/unix/boot/mkpkg/main.c:237:11: note: Second condition iraf-2.18.1/unix/boot/mkpkg/main.c:245:11: style: The if condition is the same as the previous if condition [duplicateCondition] iraf-2.18.1/unix/boot/mkpkg/main.c:237:11: note: First condition iraf-2.18.1/unix/boot/mkpkg/main.c:245:11: note: Second condition iraf-2.18.1/unix/boot/mkpkg/main.c:308:2: warning: sprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] iraf-2.18.1/unix/boot/mkpkg/main.c:164:12: style: Local variable 'ip' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/mkpkg/main.c:77:16: note: Shadowed declaration iraf-2.18.1/unix/boot/mkpkg/main.c:164:12: note: Shadow variable iraf-2.18.1/unix/boot/mkpkg/main.c:164:17: style: Local variable 'op' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/mkpkg/main.c:77:21: note: Shadowed declaration iraf-2.18.1/unix/boot/mkpkg/main.c:164:17: note: Shadow variable iraf-2.18.1/unix/boot/mkpkg/main.c:193:12: style: Local variable 'ip' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/mkpkg/main.c:77:16: note: Shadowed declaration iraf-2.18.1/unix/boot/mkpkg/main.c:193:12: note: Shadow variable iraf-2.18.1/unix/boot/mkpkg/main.c:219:13: style: Local variable 'i' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/mkpkg/main.c:76:37: note: Shadowed declaration iraf-2.18.1/unix/boot/mkpkg/main.c:219:13: note: Shadow variable iraf-2.18.1/unix/boot/mkpkg/main.c:262:15: style: Local variable 'ip' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/mkpkg/main.c:77:16: note: Shadowed declaration iraf-2.18.1/unix/boot/mkpkg/main.c:262:15: note: Shadow variable iraf-2.18.1/unix/boot/mkpkg/main.c:262:20: style: Local variable 'op' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/mkpkg/main.c:77:21: note: Shadowed declaration iraf-2.18.1/unix/boot/mkpkg/main.c:262:20: note: Shadow variable iraf-2.18.1/unix/boot/mkpkg/main.c:283:12: style: Local variable 'ip' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/mkpkg/main.c:77:16: note: Shadowed declaration iraf-2.18.1/unix/boot/mkpkg/main.c:283:12: note: Shadow variable iraf-2.18.1/unix/boot/mkpkg/main.c:283:17: style: Local variable 'op' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/mkpkg/main.c:77:21: note: Shadowed declaration iraf-2.18.1/unix/boot/mkpkg/main.c:283:17: note: Shadow variable iraf-2.18.1/unix/boot/mkpkg/main.c:283:12: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/main.c:304:14: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/main.c:304:25: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/main.c:319:15: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/main.c:319:26: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/main.c:340:15: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/main.c:340:26: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/scanlib.c:62:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/scanlib.c:254:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fname [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/scanlib.c:275:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/scanlib.c:337:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/host.c:577:6: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] iraf-2.18.1/unix/boot/mkpkg/host.c:533:6: error: Resource leak: in [resourceLeak] iraf-2.18.1/unix/boot/mkpkg/host.c:538:6: error: Resource leak: out [resourceLeak] iraf-2.18.1/unix/boot/mkpkg/host.c:785:28: style: Variable '*op' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/boot/mkpkg/host.c:783:7: note: *op is assigned iraf-2.18.1/unix/boot/mkpkg/host.c:785:28: note: *op is overwritten iraf-2.18.1/unix/boot/mkpkg/host.c:89:6: style: Local variable 'exit_status' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/mkpkg/extern.h:16:12: note: Shadowed declaration iraf-2.18.1/unix/boot/mkpkg/host.c:89:6: note: Shadow variable iraf-2.18.1/unix/boot/mkpkg/host.c:85:13: style: Parameter 'xflags' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/host.c:246:8: style: Variable 'libpath' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/host.c:424:12: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/host.c:461:12: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/host.c:519:12: style: Parameter 'new' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/host.c:662:27: style: Variable 'otop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/host.c:715:27: style: Variable 'otop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/host.c:749:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/host.c:776:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/char.c:82:18: style: Obsolescent function 'index' called. It is recommended to use 'strchr' instead. [prohibitedindexCalled] iraf-2.18.1/unix/boot/mkpkg/host.c:135:15: style: Variable 'exit_status' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/boot/mkpkg/host.c:201:15: style: Variable 'exit_status' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/boot/mkpkg/char.c:297:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/char.c:293:43: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/char.c:293:14: note: Assignment 'pb=cx->pb=(struct pushback*)malloc(sizeof(struct pushback))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/char.c:297:2: note: Null pointer dereference iraf-2.18.1/unix/boot/mkpkg/char.c:298:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/char.c:293:43: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/char.c:293:14: note: Assignment 'pb=cx->pb=(struct pushback*)malloc(sizeof(struct pushback))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/char.c:298:2: note: Null pointer dereference iraf-2.18.1/unix/boot/mkpkg/char.c:298:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/char.c:293:43: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/char.c:293:14: note: Assignment 'pb=cx->pb=(struct pushback*)malloc(sizeof(struct pushback))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/char.c:298:13: note: Null pointer dereference iraf-2.18.1/unix/boot/mkpkg/char.c:299:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/char.c:293:43: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/char.c:293:14: note: Assignment 'pb=cx->pb=(struct pushback*)malloc(sizeof(struct pushback))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/char.c:299:2: note: Null pointer dereference iraf-2.18.1/unix/boot/mkpkg/char.c:299:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/char.c:293:43: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/char.c:293:14: note: Assignment 'pb=cx->pb=(struct pushback*)malloc(sizeof(struct pushback))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/char.c:299:13: note: Null pointer dereference iraf-2.18.1/unix/boot/mkpkg/char.c:300:2: warning: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/char.c:293:43: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/char.c:293:14: note: Assignment 'pb=cx->pb=(struct pushback*)malloc(sizeof(struct pushback))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/char.c:300:2: note: Null pointer dereference iraf-2.18.1/unix/boot/mkpkg/char.c:60:7: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] iraf-2.18.1/unix/boot/mkpkg/char.c:89:11: style: Local variable 'ch' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/mkpkg/char.c:31:15: note: Shadowed declaration iraf-2.18.1/unix/boot/mkpkg/char.c:89:11: note: Shadow variable iraf-2.18.1/unix/boot/mkpkg/char.c:240:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/char.c:240:27: style: Variable 'otop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/char.c:329:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/libc/scanf.c:288:19: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/sys/libc/scanf.c:331:12: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/sys/libc/scanf.c:257:9: style: Variable 'ch' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/sys/libc/scanf.c:260:9: style: Variable 'ch' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/boot/mkpkg/sflist.c:92:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/sflist.c:252:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/sflist.c:282:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/scanlib.c:41:7: style: struct member 'dbentry::fdate' is never used. [unusedStructMember] iraf-2.18.1/unix/boot/mkpkg/scanlib.c:42:6: style: struct member 'dbentry::keylen' is never used. [unusedStructMember] iraf-2.18.1/unix/boot/rmbin/rmbin.c:52:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/rmbin/rmbin.c:133:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/rmbin/rmbin.c:228:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/rmbin/rmbin.c:258:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/rmfiles/rmfiles.c:54:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/rmfiles/rmfiles.c:131:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/rmfiles/rmfiles.c:279:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/rmfiles/rmfiles.c:378:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/sflist.c:90:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/sflist.c:90:27: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/sflist.c:295:18: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/sflist.c:298:31: style: Variable 'sf_top' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/rmfiles/rmfiles.c:242:14: error: Array 'extnlist[128]' accessed at index 128, which is out of bounds. [arrayIndexOutOfBounds] iraf-2.18.1/unix/boot/rmfiles/rmfiles.c:230:27: note: Assuming that condition 'nextn<128' is not redundant iraf-2.18.1/unix/boot/rmfiles/rmfiles.c:242:14: note: Array index out of bounds iraf-2.18.1/unix/boot/rmfiles/rmfiles.c:55:15: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/rmfiles/rmfiles.c:274:12: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/rmfiles/rmfiles.c:366:22: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/rmfiles/rmfiles.c:368:8: style: Variable 'extn' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/rmbin/rmbin.c:130:11: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/rmbin/rmbin.c:215:22: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/rmbin/rmbin.c:217:8: style: Variable 'extn' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/rmbin/rmbin.c:254:12: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/rmbin/rmbin.c:255:12: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/rpp/ratlibc/cant.c:12:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/rpp/ratlibc/cant.c:9:18: style: Parameter 'rname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/rpp/ratlibc/getarg.c:7:14: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/rpp/ratlibc/getarg.c:7:33: style: Parameter 'maxsiz' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/rpp/ratlibc/getarg.c:11:17: style: Variable 't' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/rpp/ratlibc/getlin.c:7:27: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/rpp/ratlibc/initst.c:16:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/rpp/ratlibc/open.c:9:26: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/rpp/ratlibc/putch.c:6:18: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/rpp/ratlibc/putch.c:6:27: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/rtar/rtar.c:249:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/rtar/rtar.c:438:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/rtar/rtar.c:593:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRECTORY_FILE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/rtar/rtar.c:645:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/rtar/rtar.c:691:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DIRECTORY_FILE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/rtar/rtar.c:744:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BINARY_FILE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/rtar/rtar.c:795:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCHAR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/rpp/ratlibc/putlin.c:6:20: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/rpp/ratlibc/putlin.c:6:32: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_COMMAND [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:182:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:244:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:313:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_COMMAND [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:523:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:543:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:559:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:592:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/rpp/ratlibc/remark.c:18:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:644:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:656:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:712:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:738:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_COMMAND [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:820:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:868:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:958:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:996:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:1034:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:1062:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:1086:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:1111:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:1145:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:1186:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:1226:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:1261:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:1296:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_COMMAND [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:1352:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:1383:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:1429:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:1455:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:1508:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/rpp/ratlibc/remark.c:11:18: style: Variable 'strin' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/decl.c:104:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/decl.c:219:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TY_CHAR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/decl.c:369:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/rtar/rtar.c:450:3: warning: %o in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] iraf-2.18.1/unix/boot/rtar/rtar.c:480:2: warning: %o in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] iraf-2.18.1/unix/boot/rtar/rtar.c:481:2: warning: %o in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] iraf-2.18.1/unix/boot/rtar/rtar.c:482:2: warning: %o in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] iraf-2.18.1/unix/boot/rtar/rtar.c:483:2: warning: %lo in format string (no. 1) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] iraf-2.18.1/unix/boot/rtar/rtar.c:661:9: style: Variable 'fd' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/boot/rtar/rtar.c:654:9: note: fd is assigned iraf-2.18.1/unix/boot/rtar/rtar.c:661:9: note: fd is overwritten iraf-2.18.1/unix/boot/rtar/rtar.c:504:20: style:inconclusive: Function 'cchksum' argument 2 names different: declaration 'nbyte' definition 'nbytes'. [funcArgNamesDifferent] iraf-2.18.1/unix/boot/rtar/rtar.c:147:54: note: Function 'cchksum' argument 2 names different: declaration 'nbyte' definition 'nbytes'. iraf-2.18.1/unix/boot/rtar/rtar.c:504:20: note: Function 'cchksum' argument 2 names different: declaration 'nbyte' definition 'nbytes'. iraf-2.18.1/unix/boot/rtar/rtar.c:736:6: style: Local variable 'nblocks' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/rtar/rtar.c:136:12: note: Shadowed declaration iraf-2.18.1/unix/boot/rtar/rtar.c:736:6: note: Shadow variable iraf-2.18.1/unix/boot/rtar/rtar.c:554:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] iraf-2.18.1/unix/boot/rtar/rtar.c:169:8: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/rtar/rtar.c:398:17: style: Variable 'fn' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/rtar/rtar.c:398:22: style: Variable 'ln' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/rtar/rtar.c:503:20: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/rtar/rtar.c:541:30: style: Parameter 'fh' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/rtar/rtar.c:546:8: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/rtar/rtar.c:586:17: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/rtar/rtar.c:731:21: style: Parameter 'fh' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/rtar/rtar.c:822:21: style: Parameter 'fh' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/rtar/rtar.c:83:7: style: union member 'hblock::dummy' is never used. [unusedStructMember] iraf-2.18.1/unix/boot/rtar/rtar.c:108:7: style: struct member 'fheader::chksum' is never used. [unusedStructMember] iraf-2.18.1/unix/boot/spp/xc.c:207:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xc.c:985:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xc.c:1005:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xc.c:1117:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xc.c:1155:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xc.c:1265:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xc.c:1313:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:297:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:331:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable strname [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:419:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:504:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:758:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:795:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:840:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:919:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:959:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:977:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1002:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1065:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1099:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1151:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1194:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1300:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1361:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1483:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1540:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1589:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1603:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1631:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1693:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable strp [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/decl.c:95:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/xpp/decl.c:293:26: style: Variable 'top' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/decl.c:380:20: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/xpp/decl.c:409:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/xpp/decl.c:439:11: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/xpp/decl.c:443:26: style: Variable 'top' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/decl.c:530:10: warning: Uninitialized variable: tokstr [uninitvar] iraf-2.18.1/unix/boot/spp/xpp/decl.c:159:27: note: Calling function 'd_gettok', 1st argument 'tokstr' value is iraf-2.18.1/unix/boot/spp/xpp/decl.c:530:10: note: Uninitialized variable: tokstr iraf-2.18.1/unix/boot/spp/xpp/xppmain.c:51:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OSOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppmain.c:190:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppmain.c:206:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/spp/xpp/xppmain.c:47:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/xppmain.c:137:17: style: Variable 'osfn' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/xppmain.c:187:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/xppmain.c:207:8: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/wtar/wtar.c:150:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/wtar/wtar.c:256:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/wtar/wtar.c:331:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/wtar/wtar.c:469:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/wtar/wtar.c:553:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/wtar/wtar.c:637:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/wtar/wtar.c:680:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FI_DIRECTORY [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/wtar/wtar.c:706:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/wtar/wtar.c:371:19: style: Local variable 'fi' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/wtar/wtar.c:322:16: note: Shadowed declaration iraf-2.18.1/unix/boot/wtar/wtar.c:371:19: note: Shadow variable iraf-2.18.1/unix/boot/wtar/wtar.c:676:15: style: Local variable 'in' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/wtar/wtar.c:110:5: note: Shadowed declaration iraf-2.18.1/unix/boot/wtar/wtar.c:676:15: note: Shadow variable iraf-2.18.1/unix/boot/wtar/wtar.c:515:45: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] iraf-2.18.1/unix/boot/wtar/wtar.c:319:11: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/wtar/wtar.c:409:30: style: Parameter 'fh' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/wtar/wtar.c:413:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/wtar/wtar.c:482:20: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/wtar/wtar.c:502:30: style: Parameter 'fh' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/wtar/wtar.c:507:8: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/wtar/wtar.c:539:21: style: Parameter 'fh' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/pkg.c:511:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ncx [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:34: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:8: note: Assignment 'ncx=(struct context*)malloc(sizeof(struct context))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/pkg.c:511:3: note: Null pointer dereference iraf-2.18.1/unix/boot/mkpkg/pkg.c:513:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ncx [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:34: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:8: note: Assignment 'ncx=(struct context*)malloc(sizeof(struct context))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/pkg.c:513:2: note: Null pointer dereference iraf-2.18.1/unix/boot/mkpkg/pkg.c:514:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ncx [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:34: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:8: note: Assignment 'ncx=(struct context*)malloc(sizeof(struct context))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/pkg.c:514:2: note: Null pointer dereference iraf-2.18.1/unix/boot/mkpkg/pkg.c:515:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ncx [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:34: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:8: note: Assignment 'ncx=(struct context*)malloc(sizeof(struct context))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/pkg.c:515:2: note: Null pointer dereference iraf-2.18.1/unix/boot/mkpkg/pkg.c:516:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ncx [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:34: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:8: note: Assignment 'ncx=(struct context*)malloc(sizeof(struct context))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/pkg.c:516:2: note: Null pointer dereference iraf-2.18.1/unix/boot/mkpkg/pkg.c:517:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ncx [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:34: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:8: note: Assignment 'ncx=(struct context*)malloc(sizeof(struct context))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/pkg.c:517:2: note: Null pointer dereference iraf-2.18.1/unix/boot/mkpkg/pkg.c:518:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ncx [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:34: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:8: note: Assignment 'ncx=(struct context*)malloc(sizeof(struct context))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/pkg.c:518:2: note: Null pointer dereference iraf-2.18.1/unix/boot/mkpkg/pkg.c:519:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ncx [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:34: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:8: note: Assignment 'ncx=(struct context*)malloc(sizeof(struct context))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/pkg.c:519:2: note: Null pointer dereference iraf-2.18.1/unix/boot/mkpkg/pkg.c:520:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ncx [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:34: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/pkg.c:507:8: note: Assignment 'ncx=(struct context*)malloc(sizeof(struct context))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/pkg.c:520:2: note: Null pointer dereference iraf-2.18.1/unix/boot/wtar/wtar.c:75:7: style: struct member 'fheader::chksum' is never used. [unusedStructMember] iraf-2.18.1/unix/boot/mkpkg/pkg.c:312:10: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/pkg.c:450:17: style: Variable 'delim' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/pkg.c:530:13: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/pkg.c:808:9: style: Parameter 'mkpkgfile' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/pkg.c:899:23: warning: Uninitialized variable: prev [uninitvar] iraf-2.18.1/unix/boot/mkpkg/pkg.c:852:9: note: Assignment 'prev=word1', assigned value is iraf-2.18.1/unix/boot/mkpkg/pkg.c:859:45: note: Assuming condition is false iraf-2.18.1/unix/boot/mkpkg/pkg.c:899:23: note: Uninitialized variable: prev iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:582:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:590:4: note: Found duplicate branches for 'if' and 'else'. iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:582:9: note: Found duplicate branches for 'if' and 'else'. iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:332:22: style: Local variable 'op' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:100:7: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:332:22: note: Shadow variable iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:416:22: style: Local variable 'op' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:100:7: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:416:22: note: Shadow variable iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:503:22: style: Local variable 'op' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:100:7: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:503:22: note: Shadow variable iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:944:21: style: Local variable 'op' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:100:7: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:944:21: note: Shadow variable iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1210:7: style: Local variable 'i' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1168:6: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1210:7: note: Shadow variable iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1230:7: style: Local variable 'i' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1168:6: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1230:7: note: Shadow variable iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1402:18: style: Local variable 'ip' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1336:21: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1402:18: note: Shadow variable iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1402:23: style: Local variable 'op' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:100:7: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1402:23: note: Shadow variable iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1403:7: style: Local variable 'ch' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1336:16: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1403:7: note: Shadow variable iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1482:17: style: Local variable 'op' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:100:7: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1482:17: note: Shadow variable iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1537:17: style: Local variable 'op' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:100:7: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1537:17: note: Shadow variable iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:332:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:416:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:479:27: style: Parameter 'strname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:503:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:839:21: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1001:24: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1092:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1289:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1290:15: style: Variable 'name' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1336:21: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1402:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1537:22: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1587:27: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1601:17: style: Parameter 'warnmsg' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/xpp/xppcode.c:1661:8: style: Variable 'cc' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/pfiles.c:128:14: warning: Either the condition '(pfp=pfileread(NULL,pfilepath,0))==NULL' is redundant or there is possible null pointer dereference: pfp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/pfiles.c:126:49: note: Assuming that condition '(pfp=pfileread(NULL,pfilepath,0))==NULL' is not redundant iraf-2.18.1/pkg/ecl/pfiles.c:128:14: note: Null pointer dereference iraf-2.18.1/pkg/ecl/pfiles.c:293:11: warning: Either the condition '(pfp=pfileread(ltp,pkg_pfile,0))==NULL' is redundant or there is possible null pointer dereference: pfp. [nullPointerRedundantCheck] iraf-2.18.1/pkg/ecl/pfiles.c:290:45: note: Assuming that condition '(pfp=pfileread(ltp,pkg_pfile,0))==NULL' is not redundant iraf-2.18.1/pkg/ecl/pfiles.c:293:11: note: Null pointer dereference iraf-2.18.1/pkg/ecl/pfiles.c:1752:4: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/pkg/ecl/pfiles.c:1722:8: note: c is assigned iraf-2.18.1/pkg/ecl/pfiles.c:1752:4: note: c is overwritten iraf-2.18.1/pkg/ecl/pfiles.c:1497:17: style: Local variable 'len' shadows outer variable [shadowVariable] iraf-2.18.1/pkg/ecl/pfiles.c:1140:6: note: Shadowed declaration iraf-2.18.1/pkg/ecl/pfiles.c:1497:17: note: Shadow variable iraf-2.18.1/pkg/ecl/pfiles.c:98:28: style: Parameter 'ltp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/pfiles.c:375:10: style: Variable 'lenoff' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/pfiles.c:387:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/pfiles.c:561:20: style: Variable 'qq' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/pfiles.c:731:8: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/pfiles.c:756:11: style: Parameter 'dir' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/pfiles.c:759:11: style: Parameter 'extn' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/pfiles.c:784:16: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/pfiles.c:809:11: style: Parameter 'timecode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/pkg/ecl/pfiles.c:866:10: style: Variable 'lenoff' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/pfiles.c:867:16: style: Variable 'pval' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/pfiles.c:1043:10: style: Variable 'lenoff' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/pfiles.c:1055:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/pfiles.c:1211:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/pkg/ecl/pfiles.c:1593:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y1.c:124:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y1.c:290:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y1.c:469:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y1.c:523:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y1.c:553:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y2.c:220:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y2.c:1109:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y2.c:1280:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y2.c:1371:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y2.c:1492:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y3.c:192:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y3.c:570:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y4.c:197:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y4.c:421:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdPTR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y4.c:484:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y4.c:74:11: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] iraf-2.18.1/unix/boot/xyacc/y4.c:183:29: style: Condition 'adb>1' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/boot/xyacc/y4.c:195:13: style: Condition 'adb>2' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/boot/xyacc/y4.c:273:10: style: Condition 'adb>1' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/boot/xyacc/y4.c:336:15: style: Condition 'adb>1' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/boot/xyacc/y4.c:366:10: style: Condition 'adb>1' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/boot/xyacc/y4.c:87:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pgo [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/xyacc/y4.c:73:26: note: Assuming allocation function fails iraf-2.18.1/unix/boot/xyacc/y4.c:73:11: note: Assignment 'pgo=(int*)malloc(sizeof(int)*size)', assigned value is 0 iraf-2.18.1/unix/boot/xyacc/y4.c:78:42: note: Assuming condition is false iraf-2.18.1/unix/boot/xyacc/y4.c:87:5: note: Null pointer dereference iraf-2.18.1/unix/boot/xyacc/y4.c:70:23: style: Variable 'q' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y4.c:214:23: style: Variable 'q2' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y4.c:288:35: style: Variable 'q2' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y4.c:453:14: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/xyacc/y4.c:453:22: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/xyacc/y4.c:501:17: style: Variable 'actbase' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y3.c:190:6: style: Condition 'pkdebug' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/boot/xyacc/y3.c:207:6: style: Condition 'pkdebug' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/boot/xyacc/y3.c:305:9: style: Condition 'g2debug' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/boot/xyacc/y3.c:152:10: style: Variable 'q' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y3.c:275:15: style: Variable 'q' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y3.c:464:25: style: Variable 'qq' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y3.c:512:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/xyacc/y3.c:521:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/xyacc/y3.c:521:23: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/backspac.c:18:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/mkpkg/tok.c:624:6: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iraf-2.18.1/unix/boot/mkpkg/tok.c:723:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] iraf-2.18.1/unix/boot/mkpkg/tok.c:295:10: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] iraf-2.18.1/unix/f2c/libf2c/arithchk.c:162:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/arithchk.c:201:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/c_abs.c:13:23: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/c_cos.c:14:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:317:8: style: Variable 'key' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:410:14: style: Variable 'valstr' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:587:9: style: Parameter 'program' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:640:16: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:741:8: style: Variable 's_xflags' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:873:8: style: Variable 'lflags' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:1144:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:1244:9: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:1249:22: style: Variable 'otop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:1417:17: style: Variable 'otop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:1480:31: style: Variable 'stop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:1482:8: style: Variable 'symbol' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:1506:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/c_div.c:12:33: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/c_div.c:12:45: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/mkpkg/tok.c:624:9: style: Variable 'cx' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/boot/mkpkg/tok.c:723:5: style: Variable 'cx' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/f2c/libf2c/c_exp.c:14:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/c_log.c:14:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/c_sin.c:14:33: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/c_sqrt.c:15:34: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/arithchk.c:215:7: style: Condition 'Ldef' is always true [knownConditionTrueFalse] iraf-2.18.1/unix/f2c/libf2c/arithchk.c:207:10: note: Assignment 'Ldef=1', assigned value is 1 iraf-2.18.1/unix/f2c/libf2c/arithchk.c:215:7: note: Condition 'Ldef' is always true iraf-2.18.1/unix/f2c/libf2c/arithchk.c:167:4: style: Variable 't' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/f2c/libf2c/arithchk.c:163:4: note: t is assigned iraf-2.18.1/unix/f2c/libf2c/arithchk.c:167:4: note: t is overwritten iraf-2.18.1/unix/f2c/libf2c/arithchk.c:188:9: style: Variable 'a' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/arithchk.c:69:10: style: struct member 'Anonymous1::d' is never used. [unusedStructMember] iraf-2.18.1/unix/f2c/libf2c/arithchk.c:70:8: style: struct member 'Anonymous1::L' is never used. [unusedStructMember] iraf-2.18.1/unix/f2c/libf2c/arithchk.c:96:10: style: struct member 'Anonymous3::d' is never used. [unusedStructMember] iraf-2.18.1/unix/f2c/libf2c/arithchk.c:97:7: style: struct member 'Anonymous3::L' is never used. [unusedStructMember] iraf-2.18.1/unix/f2c/libf2c/arithchk.c:167:4: style: Variable 't' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/f2c/libf2c/arithchk.c:190:9: style: Unused variable: sa [unusedVariable] iraf-2.18.1/unix/f2c/libf2c/arithchk.c:190:13: style: Unused variable: sb [unusedVariable] iraf-2.18.1/unix/f2c/libf2c/d_acos.c:12:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_asin.c:12:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_atan.c:12:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_atn2.c:12:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_atn2.c:12:42: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_cnjg.c:10:41: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_cos.c:12:26: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_cosh.c:12:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_dim.c:9:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_dim.c:9:41: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_exp.c:12:26: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_imag.c:9:30: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_int.c:12:26: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_lg10.c:14:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_log.c:12:26: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_mod.c:20:26: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_mod.c:20:41: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_nint.c:12:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_prod.c:9:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_prod.c:9:30: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_sign.c:9:42: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_sin.c:12:26: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_sinh.c:12:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_sqrt.c:12:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_tan.c:12:26: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/d_tanh.c:12:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/derf_.c:11:26: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/derfc_.c:13:27: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/dfe.c:24:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/dfe.c:58:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/due.c:19:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/dfe.c:82:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/due.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/dfe.c:106:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/due.c:55:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/dfe.c:128:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/due.c:64:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/ef1asc_.c:17:32: style: Parameter 'la' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/endfile.c:41:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/endfile.c:155:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/erf_.c:15:17: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/erfc_.c:15:18: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/endfile.c:79:15: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/exit_.c:30:16: style: Parameter 'rc' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/f77_aloc.c:36:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/err.c:159:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/err.c:186:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/err.c:224:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/err.c:267:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/err.c:289:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/ftell64_.c:16:17: warning: Either the condition 'Unit<0' is redundant or the array 'f__units[0]' is accessed at index -1, which is out of bounds. [negativeIndex] iraf-2.18.1/unix/f2c/libf2c/ftell64_.c:14:29: note: Assuming that condition 'Unit<0' is not redundant iraf-2.18.1/unix/f2c/libf2c/ftell64_.c:16:17: note: Negative array index iraf-2.18.1/unix/f2c/libf2c/ftell64_.c:11:30: style: Parameter 'who' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/ftell64_.c:34:34: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/ftell64_.c:34:51: style: Parameter 'whence' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/ftell64_.c:40:13: style: Variable 'wohin' can be declared as const array [constVariable] iraf-2.18.1/unix/f2c/libf2c/err.c:220:7: error: Return value of allocation function 'freopen' is not stored. [leakReturnValNotUsed] iraf-2.18.1/unix/f2c/libf2c/err.c:222:7: error: Return value of allocation function 'freopen' is not stored. [leakReturnValNotUsed] iraf-2.18.1/unix/boot/xyacc/y1.c:734:9: style: Condition '!indebug' is always true [knownConditionTrueFalse] iraf-2.18.1/unix/boot/xyacc/y1.c:834:9: style: Condition 'pidebug' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/boot/xyacc/y1.c:997:6: style: Condition 'gsdebug' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/boot/xyacc/y1.c:1125:9: style: Condition 'cldebug' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/f2c/libf2c/ftell_.c:16:17: warning: Either the condition 'Unit<0' is redundant or the array 'f__units[0]' is accessed at index -1, which is out of bounds. [negativeIndex] iraf-2.18.1/unix/f2c/libf2c/ftell_.c:14:29: note: Assuming that condition 'Unit<0' is not redundant iraf-2.18.1/unix/f2c/libf2c/ftell_.c:16:17: note: Negative array index iraf-2.18.1/unix/boot/xyacc/y1.c:1231:5: error: Common realloc mistake: 'wsets' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/boot/xyacc/y1.c:1253:5: error: Common realloc mistake: 'pstate' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/boot/xyacc/y1.c:1255:5: error: Common realloc mistake: 'mstates' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/boot/xyacc/y1.c:1256:5: error: Common realloc mistake: 'defact' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/boot/xyacc/y1.c:1257:5: error: Common realloc mistake: 'tystate' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/boot/xyacc/y1.c:1258:5: error: Common realloc mistake: 'indgo' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/boot/xyacc/y1.c:198:2: warning: If memory allocation fails, then there is a possible null pointer dereference: lkst [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/xyacc/y1.c:196:32: note: Assuming allocation function fails iraf-2.18.1/unix/boot/xyacc/y1.c:196:12: note: Assignment 'lkst=(struct LOOKSETS*)malloc(sizeof(struct LOOKSETS)*(nnontersz*16+1))', assigned value is 0 iraf-2.18.1/unix/boot/xyacc/y1.c:198:2: note: Null pointer dereference iraf-2.18.1/unix/boot/xyacc/y1.c:210:2: warning: If memory allocation fails, then there is a possible null pointer dereference: wsets [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/xyacc/y1.c:208:29: note: Assuming allocation function fails iraf-2.18.1/unix/boot/xyacc/y1.c:208:13: note: Assignment 'wsets=(struct WSET*)malloc(sizeof(struct WSET)*(nnontersz+1))', assigned value is 0 iraf-2.18.1/unix/boot/xyacc/y1.c:210:2: note: Null pointer dereference iraf-2.18.1/unix/f2c/libf2c/ftell_.c:34:32: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/ftell_.c:34:49: style: Parameter 'whence' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/ftell_.c:40:13: style: Variable 'wohin' can be declared as const array [constVariable] iraf-2.18.1/unix/f2c/libf2c/fmt.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/fmt.c:58:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/fmt.c:429:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable op [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/boot/xyacc/y1.c:357:24: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/xyacc/y1.c:403:19: style: Variable 'sarrbase' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y1.c:588:24: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/xyacc/y1.c:604:13: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y1.c:751:34: style: Variable 'q2' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y1.c:1021:10: style: Variable 'pi' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y1.c:1023:11: style: Variable 'q' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y1.c:1144:13: style: Variable 'w' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y1.c:1145:10: style: Variable 'u' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y1.c:1173:22: style: Variable 'lookbase' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/getarg_.c:17:22: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/xyacc/y1.c:708:7: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 707. [shiftTooManyBitsSigned] iraf-2.18.1/unix/boot/xyacc/y1.c:707:10: note: Assuming that condition 'ch<010000' is not redundant iraf-2.18.1/unix/boot/xyacc/y1.c:708:7: note: Shift iraf-2.18.1/unix/boot/xyacc/y1.c:1073:8: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 1072. [shiftTooManyBitsSigned] iraf-2.18.1/unix/boot/xyacc/y1.c:1072:11: note: Assuming that condition 'ch<010000' is not redundant iraf-2.18.1/unix/boot/xyacc/y1.c:1073:8: note: Shift iraf-2.18.1/unix/boot/xyacc/y1.c:1025:14: style: Variable 'idx1' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/f2c/libf2c/getenv_.c:31:15: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/getenv_.c:34:18: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/h_dim.c:9:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/h_dim.c:9:39: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/h_dnnt.c:12:29: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/h_indx.c:13:7: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/h_indx.c:13:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/h_indx.c:13:15: style: Variable 'bend' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/h_len.c:9:22: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/h_mod.c:9:23: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/h_mod.c:9:33: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/h_nint.c:12:23: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/h_sign.c:9:40: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/i_dim.c:9:24: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/i_dim.c:9:36: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/i_dnnt.c:12:28: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/i_len.c:9:21: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/i_indx.c:13:7: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/i_indx.c:13:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/i_indx.c:13:15: style: Variable 'bend' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/i_mod.c:9:24: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/i_mod.c:9:36: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/i_nint.c:12:22: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/i_sign.c:9:37: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/iio.c:16:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/iio.c:63:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/iio.c:94:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f__doned [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/iio.c:126:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable f__doned [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/iio.c:146:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/fmt.c:74:11: style: Local variable 'f__cnt' shadows outer variable [shadowVariable] iraf-2.18.1/unix/f2c/libf2c/fmt.c:384:5: note: Shadowed declaration iraf-2.18.1/unix/f2c/libf2c/fmt.c:74:11: note: Shadow variable iraf-2.18.1/unix/f2c/libf2c/fmt.c:423:24: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/main.c:58:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Use_Sigarg [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/main.c:65:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Use_Sigarg [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/main.c:72:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Use_Sigarg [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/main.c:80:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Use_Sigarg [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/main.c:86:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Use_Sigarg [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/main.c:93:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Use_Sigarg [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/main.c:123:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/main.c:136:1: warning: Return value of function atexit() is not used. [ignoredReturnValue] iraf-2.18.1/unix/f2c/libf2c/open.c:146:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/lwrite.c:57:8: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/lwrite.c:57:13: style: Variable 'pe' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/lwrite.c:180:22: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/lwrite.c:246:17: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/lwrite.c:253:8: style: Variable 'xx' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/lwrite.c:254:14: style: Variable 'yy' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/lread.c:86:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/lread.c:97:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/lread.c:214:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l_ungetc [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/lread.c:276:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l_ungetc [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/lread.c:290:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l_ungetc [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/lread.c:359:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l_ungetc [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/lread.c:387:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/lread.c:442:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/lread.c:521:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l_ungetc [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/lread.c:637:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/lread.c:662:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/lread.c:796:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/pow_ci.c:11:34: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/pow_dd.c:12:27: style: Parameter 'ap' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/pow_dd.c:12:43: style: Parameter 'bp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/pow_di.c:9:27: style: Parameter 'ap' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/pow_di.c:9:40: style: Parameter 'bp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/pow_hh.c:9:27: style: Parameter 'ap' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/pow_hh.c:9:41: style: Parameter 'bp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/pow_ii.c:9:25: style: Parameter 'ap' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/pow_ii.c:9:38: style: Parameter 'bp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/pow_qq.c:9:25: style: Parameter 'ap' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/pow_qq.c:9:38: style: Parameter 'bp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/pow_ri.c:9:21: style: Parameter 'ap' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/pow_ri.c:9:34: style: Parameter 'bp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/pow_zz.c:13:46: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/pow_zz.c:13:64: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/open.c:51:23: style: Variable 'te' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/open.c:137:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/open.c:253:9: style: Variable 's' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/f2c/libf2c/pow_zi.c:11:58: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/qbitbits.c:26:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ulongint [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/r_asin.c:12:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_acos.c:12:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_atan.c:12:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_atn2.c:12:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_atn2.c:12:30: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_cnjg.c:9:34: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_cos.c:12:20: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_cosh.c:12:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_dim.c:9:20: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_dim.c:9:29: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_exp.c:12:20: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_imag.c:9:24: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_int.c:12:20: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_lg10.c:14:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_log.c:12:20: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_mod.c:20:20: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_mod.c:20:29: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_nint.c:12:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_sign.c:9:30: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_sin.c:12:20: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_sinh.c:12:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_sqrt.c:12:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_tan.c:12:20: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/r_tanh.c:12:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/rewind.c:14:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rsfe.c:14:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rsfe.c:25:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rsfe.c:73:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rsli.c:25:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rsli.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rsli.c:61:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l_ungetc [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rdfmt.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rdfmt.c:154:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable integer [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rdfmt.c:214:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rdfmt.c:375:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rdfmt.c:478:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rdfmt.c:534:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rsli.c:58:23: style: Variable 'f__recpos' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/f2c/libf2c/rsli.c:57:12: note: f__recpos is assigned iraf-2.18.1/unix/f2c/libf2c/rsli.c:58:23: note: f__recpos is overwritten iraf-2.18.1/unix/f2c/libf2c/rsli.c:33:28: style: Parameter 'f' can be declared as pointer to const. However it seems that 'i_ungetc' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/unix/f2c/libf2c/rsli.c:61:13: note: You might need to cast the function pointer here iraf-2.18.1/unix/f2c/libf2c/rsli.c:33:28: note: Parameter 'f' can be declared as pointer to const iraf-2.18.1/unix/f2c/libf2c/lread.c:370:4: style: Redundant assignment of 'f' to itself. [selfAssignment] iraf-2.18.1/unix/f2c/libf2c/lread.c:122:22: style: Variable 'spe' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/lread.c:122:28: style: Variable 'sp1' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/lread.c:381:12: style: Variable 'se' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/lread.c:382:14: style: Variable 'what' can be declared as const array [constVariable] iraf-2.18.1/unix/f2c/libf2c/lread.c:487:14: style: Variable 'rafail' can be declared as const array [constVariable] iraf-2.18.1/unix/f2c/libf2c/lread.c:651:16: style: Parameter 'number' can be declared as pointer to const. However it seems that 'l_read' is a callback function, if 'number' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/unix/f2c/libf2c/lread.c:791:15: note: You might need to cast the function pointer here iraf-2.18.1/unix/f2c/libf2c/lread.c:651:16: note: Parameter 'number' can be declared as pointer to const iraf-2.18.1/unix/f2c/libf2c/lread.c:370:4: style: Variable 'f' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/f2c/libf2c/s_cat.c:35:37: style: Parameter 'rnp' can be declared as const array [constParameter] iraf-2.18.1/unix/f2c/libf2c/s_cat.c:35:52: style: Parameter 'np' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/s_cmp.c:14:29: style: Variable 'aend' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/s_cmp.c:14:40: style: Variable 'bend' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/s_copy.c:20:24: style: Variable 'bend' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/s_paus.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Use_Sigarg [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/s_paus.c:42:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/s_paus.c:61:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/s_rnge.c:19:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/s_paus.c:58:14: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/s_rnge.c:14:22: style: Parameter 'varn' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/s_rnge.c:14:49: style: Parameter 'procn' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/s_stop.c:27:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rsne.c:184:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rsne.c:225:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rsne.c:328:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/rsne.c:606:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/s_stop.c:20:18: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/sfe.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/sig_die.c:26:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/sfe.c:27:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/signal_.c:11:18: style: Parameter 'sigp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/signbit.c:11:21: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/sue.c:20:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/sue.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/sue.c:65:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/system_.c:21:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/uio.c:19:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/uio.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/uio.c:12:15: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/uio.c:34:23: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/uninit.c:69:22: style: Variable 'lxe' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/rdfmt.c:30:22: style: Variable 'se' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/rdfmt.c:238:22: style: Variable 'spe' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/rdfmt.c:238:28: style: Variable 'sp1' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/rdfmt.c:464:19: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/wref.c:46:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/wref.c:214:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/wsfe.c:62:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/wrtfmt.c:24:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/wrtfmt.c:134:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable integer [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/wrtfmt.c:162:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable integer [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/wrtfmt.c:275:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/wrtfmt.c:312:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/wrtfmt.c:355:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/wsle.c:24:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_wSL [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/wsne.c:24:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x_wSL [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/libf2c/wref.c:212:43: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y2.c:922:23: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] iraf-2.18.1/unix/f2c/libf2c/xwsne.c:27:12: style: Variable 'nl' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/z_abs.c:11:29: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/z_cos.c:12:45: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/xyacc/y2.c:197:5: error: Common realloc mistake: 'parser' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/boot/xyacc/y2.c:1761:5: error: Common realloc mistake: 'tokname' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/boot/xyacc/y2.c:1775:5: error: Common realloc mistake: 'prdptr' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/boot/xyacc/y2.c:1777:5: error: Common realloc mistake: 'levprd' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/boot/xyacc/y2.c:1778:5: error: Common realloc mistake: 'had_act' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/boot/xyacc/y2.c:1811:5: error: Common realloc mistake: 'tokset' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/boot/xyacc/y2.c:1812:5: error: Common realloc mistake: 'toklev' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/boot/xyacc/y2.c:1871:2: error: Common realloc mistake: 'temp1' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/boot/xyacc/y2.c:197:39: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: parser [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/xyacc/y2.c:196:21: note: Assuming allocation function fails iraf-2.18.1/unix/boot/xyacc/y2.c:196:21: note: Assignment 'parser=strdup(os_getenv("iraf"))', assigned value is 0 iraf-2.18.1/unix/boot/xyacc/y2.c:197:39: note: Null pointer dereference iraf-2.18.1/unix/boot/xyacc/y2.c:249:19: warning: If memory allocation fails, then there is a possible null pointer dereference: cp [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/xyacc/y2.c:248:27: note: Assuming allocation function fails iraf-2.18.1/unix/boot/xyacc/y2.c:248:11: note: Assignment 'cp=(char*)malloc(strlen(optarg)+sizeof("/yaccpar")+1)', assigned value is 0 iraf-2.18.1/unix/boot/xyacc/y2.c:249:19: note: Null pointer dereference iraf-2.18.1/unix/boot/xyacc/y2.c:250:23: warning: If memory allocation fails, then there is a possible null pointer dereference: cp [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/xyacc/y2.c:248:27: note: Assuming allocation function fails iraf-2.18.1/unix/boot/xyacc/y2.c:248:11: note: Assignment 'cp=(char*)malloc(strlen(optarg)+sizeof("/yaccpar")+1)', assigned value is 0 iraf-2.18.1/unix/boot/xyacc/y2.c:249:18: note: Assignment 'cp=strcpy(cp,optarg)', assigned value is 0 iraf-2.18.1/unix/boot/xyacc/y2.c:250:23: note: Null pointer dereference iraf-2.18.1/unix/f2c/libf2c/z_div.c:11:45: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/z_div.c:11:63: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/z_exp.c:12:45: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/xyacc/y2.c:188:11: style: Variable 'file_prefix' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y2.c:801:24: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/xyacc/y2.c:1566:16: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/xyacc/y2.c:1595:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y2.c:1608:15: style: Variable 'textbase' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y2.c:1641:11: style: Variable 'rhs' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/xyacc/y2.c:1850:17: style: Variable 'membase' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/z_sin.c:12:45: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/z_log.c:43:15: style: Parameter 'a' can be declared as pointer to const. However it seems that 'diff1' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/unix/f2c/libf2c/z_log.c:98:11: note: You might need to cast the function pointer here iraf-2.18.1/unix/f2c/libf2c/z_log.c:43:15: note: Parameter 'a' can be declared as pointer to const iraf-2.18.1/unix/f2c/libf2c/z_log.c:43:26: style: Parameter 'b' can be declared as pointer to const. However it seems that 'diff1' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/unix/f2c/libf2c/z_log.c:98:11: note: You might need to cast the function pointer here iraf-2.18.1/unix/f2c/libf2c/z_log.c:43:26: note: Parameter 'b' can be declared as pointer to const iraf-2.18.1/unix/f2c/libf2c/z_log.c:53:45: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/z_sqrt.c:13:46: style: Parameter 'z' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/xc.c:1198:3: warning: Return value of function freopen() is not used. [ignoredReturnValue] iraf-2.18.1/unix/boot/spp/xc.c:1200:3: warning: Return value of function freopen() is not used. [ignoredReturnValue] iraf-2.18.1/unix/boot/spp/xc.c:746:6: error: Return value of allocation function 'mkstemp' is not stored. [leakReturnValNotUsed] iraf-2.18.1/unix/f2c/libf2c/wrtfmt.c:77:21: style: Variable 'se' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/wrtfmt.c:129:13: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/wrtfmt.c:157:14: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/wrtfmt.c:228:13: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/wrtfmt.c:302:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/xc.c:257:12: style: Local variable 's' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xc.c:191:19: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xc.c:257:12: note: Shadow variable iraf-2.18.1/unix/boot/spp/xc.c:258:22: style: Local variable 'ip' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xc.c:191:14: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xc.c:258:22: note: Shadow variable iraf-2.18.1/unix/boot/spp/xc.c:494:9: style: Local variable 'ip' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xc.c:191:14: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xc.c:494:9: note: Shadow variable iraf-2.18.1/unix/boot/spp/xc.c:552:12: style: Local variable 'ip' shadows outer variable [shadowVariable] iraf-2.18.1/unix/boot/spp/xc.c:191:14: note: Shadowed declaration iraf-2.18.1/unix/boot/spp/xc.c:552:12: note: Shadow variable iraf-2.18.1/unix/boot/spp/xc.c:257:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xc.c:494:9: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xc.c:552:22: style: Variable 'vp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xc.c:1001:18: style: Parameter 'cmd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/xc.c:1001:29: style: Parameter 'arglist' can be declared as const array [constParameter] iraf-2.18.1/unix/boot/spp/xc.c:1073:22: style: Variable 'dot' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xc.c:1149:8: style: Variable 'inname' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xc.c:1149:17: style: Variable 'outname' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/boot/spp/xc.c:1298:17: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/xc.c:1298:27: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/boot/spp/xc.c:1311:14: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:32:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:59:12: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:94:12: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:108:12: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:123:11: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:178:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:178:24: style: Parameter 'n' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:194:13: style: Parameter 't' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:212:16: style: Parameter 't' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:212:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:227:14: style: Parameter 't' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:243:16: style: Parameter 'thing' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:243:29: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:313:12: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:329:13: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/error.c:342:14: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/rsne.c:79:15: style: Parameter 'ht' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/libf2c/rsne.c:84:8: style: Variable 's0' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/rsne.c:179:17: style: Variable 'se' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/libf2c/rsne.c:307:14: style: Variable 'where' can be declared as const array [constVariable] iraf-2.18.1/unix/f2c/libf2c/rsne.c:310:11: style: Variable 'v' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/exec.c:322:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/cds.c:42:11: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/data.c:106:9: style: Variable 'neltp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/data.c:259:26: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/data.c:261:15: style: Variable 'last_varname' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/data.c:388:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/data.c:445:16: style: Parameter 'varname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/gram.c:890:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yys [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:363:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:387:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:412:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:467:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:501:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:554:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:651:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:781:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:833:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:875:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:920:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:948:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:1008:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:2221:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:2267:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:2365:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:2421:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/formatdata.c:499:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/init.c:308:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/exec.c:595:10: style: Condition 'onetripflag' is always true [knownConditionTrueFalse] iraf-2.18.1/unix/f2c/src/exec.c:788:8: style: Variable 'fs' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/gram.c:871:1: warning: Label 'yyerrlab' is not used. Should this be a 'case' of the enclosing switch()? [unusedLabelSwitch] iraf-2.18.1/unix/f2c/src/intr.c:855:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable atype [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/io.c:720:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/lex.c:334:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/lex.c:421:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/lex.c:527:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLABEL [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/lex.c:767:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/lex.c:1062:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/lex.c:1217:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUNKNOWN [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/lex.c:1291:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUNKNOWN [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/lex.c:1365:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHEXCON [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/lex.c:1422:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHOLLERITH [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/intr.c:663:23: style: Variable 'q' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/f2c/src/intr.c:661:6: note: q is assigned iraf-2.18.1/unix/f2c/src/intr.c:663:23: note: q is overwritten iraf-2.18.1/unix/f2c/src/intr.c:763:22: style: Variable 'q' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/f2c/src/intr.c:749:7: note: q is assigned iraf-2.18.1/unix/f2c/src/intr.c:763:22: note: q is overwritten iraf-2.18.1/unix/f2c/src/intr.c:763:22: style: Variable 'q' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/f2c/src/intr.c:750:11: note: q is assigned iraf-2.18.1/unix/f2c/src/intr.c:763:22: note: q is overwritten iraf-2.18.1/unix/f2c/src/intr.c:904:22: style: Variable 'q' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/f2c/src/intr.c:899:6: note: q is assigned iraf-2.18.1/unix/f2c/src/intr.c:904:22: note: q is overwritten iraf-2.18.1/unix/f2c/src/intr.c:904:22: style: Variable 'q' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/f2c/src/intr.c:901:6: note: q is assigned iraf-2.18.1/unix/f2c/src/intr.c:904:22: note: q is overwritten iraf-2.18.1/unix/f2c/src/intr.c:624:13: style: Variable 't_pref' can be declared as const array [constVariable] iraf-2.18.1/unix/f2c/src/formatdata.c:64:12: warning: Either the condition '(sortfp=fopen(sortfname,textread))==NULL' is redundant or there is possible null pointer dereference: sortfp. [nullPointerRedundantCheck] iraf-2.18.1/unix/f2c/src/formatdata.c:60:47: note: Assuming that condition '(sortfp=fopen(sortfname,textread))==NULL' is not redundant iraf-2.18.1/unix/f2c/src/formatdata.c:64:12: note: Null pointer dereference iraf-2.18.1/unix/f2c/src/formatdata.c:815:15: warning: Either the condition 'var==(struct AddrblockAddrp)NULL' is redundant or there is possible null pointer dereference: var. [nullPointerRedundantCheck] iraf-2.18.1/unix/f2c/src/formatdata.c:811:10: note: Assuming that condition 'var==(struct AddrblockAddrp)NULL' is not redundant iraf-2.18.1/unix/f2c/src/formatdata.c:815:15: note: Null pointer dereference iraf-2.18.1/unix/f2c/src/formatdata.c:805:30: style: Local variable 'hashtab' shadows outer variable [shadowVariable] iraf-2.18.1/unix/f2c/src/defs.h:358:26: note: Shadowed declaration iraf-2.18.1/unix/f2c/src/formatdata.c:805:30: note: Shadow variable iraf-2.18.1/unix/f2c/src/formatdata.c:805:40: style: Local variable 'lasthash' shadows outer variable [shadowVariable] iraf-2.18.1/unix/f2c/src/defs.h:359:26: note: Shadowed declaration iraf-2.18.1/unix/f2c/src/formatdata.c:805:40: note: Shadow variable iraf-2.18.1/unix/f2c/src/formatdata.c:969:19: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] iraf-2.18.1/unix/f2c/src/formatdata.c:970:22: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] iraf-2.18.1/unix/f2c/src/formatdata.c:265:34: style: Parameter 'varname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/formatdata.c:280:16: style: Variable 'e1' can be declared as const array [constVariable] iraf-2.18.1/unix/f2c/src/main.c:469:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/main.c:575:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/main.c:791:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/malloc.c:158:15: error: Dereferencing 'f' after it is deallocated / released [deallocuse] iraf-2.18.1/unix/f2c/src/malloc.c:163:13: error: Dereferencing 'f' after it is deallocated / released [deallocuse] iraf-2.18.1/unix/f2c/src/malloc.c:110:8: style: Variable 'pn' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/malloc.c:110:13: style: Variable 'qn' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/main.c:801:3: warning: Either the condition 'p!=NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] iraf-2.18.1/unix/f2c/src/main.c:791:6: note: Assuming that condition 'p!=NULL' is not redundant iraf-2.18.1/unix/f2c/src/main.c:801:3: note: Null pointer dereference iraf-2.18.1/unix/f2c/src/main.c:421:23: style: Variable 'ee' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/main.c:423:13: style: Variable 'ae' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/main.c:544:17: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/main.c:769:21: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/main.c:788:21: style: Parameter 'what' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/mem.c:120:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/memset.c:39:8: style: Variable 'se' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/memset.c:51:24: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/memset.c:54:18: style: Variable 'se' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/memset.c:68:8: style: Variable 'se' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/mem.c:43:15: style: Variable 'last' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/mem.c:146:22: style: Variable 'se' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/mem.c:177:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/mem.c:214:18: style: Parameter 'pfx' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/mem.c:233:32: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/mem.c:233:42: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/io.c:324:17: style: Variable 'sc' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/io.c:428:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/io.c:895:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/io.c:1394:10: style: Variable 'comm' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/misc.c:970:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/format.c:1240:7: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] iraf-2.18.1/unix/f2c/src/format.c:2318:9: portability: %llx in format string (no. 1) requires 'unsigned long long *' but the argument type is 'Llong * {aka signed long long *}'. [invalidScanfArgType_int] iraf-2.18.1/unix/f2c/src/format.c:2419:6: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] iraf-2.18.1/unix/f2c/src/format.c:1720:10: warning: Either the condition 'Var==(struct AddrblockAddrp)NULL' is redundant or there is possible null pointer dereference: Var. [nullPointerRedundantCheck] iraf-2.18.1/unix/f2c/src/format.c:1713:14: note: Assuming that condition 'Var==(struct AddrblockAddrp)NULL' is not redundant iraf-2.18.1/unix/f2c/src/format.c:1711:12: note: Assignment to 'Var=(struct AddrblockAddrp)this_var->datap' iraf-2.18.1/unix/f2c/src/format.c:1711:10: note: Var is assigned '(struct AddrblockAddrp)this_var->datap' here. iraf-2.18.1/unix/f2c/src/format.c:1720:10: note: Null pointer dereference iraf-2.18.1/unix/f2c/src/format.c:91:11: style: Local variable 'infile' shadows outer variable [shadowVariable] iraf-2.18.1/unix/f2c/src/defs.h:52:14: note: Shadowed declaration iraf-2.18.1/unix/f2c/src/format.c:91:11: note: Shadow variable iraf-2.18.1/unix/f2c/src/format.c:1640:30: style: Local variable 'hashtab' shadows outer variable [shadowVariable] iraf-2.18.1/unix/f2c/src/defs.h:358:26: note: Shadowed declaration iraf-2.18.1/unix/f2c/src/format.c:1640:30: note: Shadow variable iraf-2.18.1/unix/f2c/src/format.c:1811:10: style: Local variable 'procclass' shadows outer variable [shadowVariable] iraf-2.18.1/unix/f2c/src/defs.h:142:12: note: Shadowed declaration iraf-2.18.1/unix/f2c/src/format.c:1811:10: note: Shadow variable iraf-2.18.1/unix/f2c/src/format.c:2118:16: style: Local variable 'nequiv' shadows outer variable [shadowVariable] iraf-2.18.1/unix/f2c/src/defs.h:190:12: note: Shadowed declaration iraf-2.18.1/unix/f2c/src/format.c:2118:16: note: Shadow variable iraf-2.18.1/unix/f2c/src/format.c:2217:9: style: Local variable 'token' shadows outer variable [shadowVariable] iraf-2.18.1/unix/f2c/src/defs.h:76:14: note: Shadowed declaration iraf-2.18.1/unix/f2c/src/format.c:2217:9: note: Shadow variable iraf-2.18.1/unix/f2c/src/format.c:439:25: style: Variable 'lastlit' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/format.c:496:24: style: Variable 'L' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/format.c:497:11: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/format.c:1065:12: style: Variable 'at' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/format.c:1314:26: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/format.c:1377:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/format.c:1983:11: style: Variable 'E' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/format.c:1984:22: style: Variable 'eb' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/format.c:2119:30: style: Variable 'lasteqv' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/misc.c:1274:3: error: Resource leak: f [resourceLeak] iraf-2.18.1/unix/f2c/src/misc.c:833:21: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/f2c/src/misc.c:830:4: note: p is assigned iraf-2.18.1/unix/f2c/src/misc.c:833:21: note: p is overwritten iraf-2.18.1/unix/f2c/src/misc.c:108:36: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/misc.c:123:36: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/misc.c:123:54: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/misc.c:149:17: style: Variable 'aend' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/misc.c:149:24: style: Variable 'bend' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/misc.c:315:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/misc.c:356:19: style: Variable 's0' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/misc.c:551:14: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/misc.c:551:23: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/misc.c:721:40: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/misc.c:1015:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/misc.c:1191:17: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/misc.c:1262:14: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/misc.c:1262:27: style: Parameter 'bname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/misc.c:1266:14: style: Variable 'couldnt' can be declared as const array [constVariable] iraf-2.18.1/unix/f2c/src/misc.c:1331:25: style: Parameter 's0' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/misc.c:702:8: style: Variable 'q' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/f2c/src/names.c:624:9: warning: Either the condition 'var==(struct NameblockNamep)NULL' is redundant or there is possible null pointer dereference: var. [nullPointerRedundantCheck] iraf-2.18.1/unix/f2c/src/names.c:618:10: note: Assuming that condition 'var==(struct NameblockNamep)NULL' is not redundant iraf-2.18.1/unix/f2c/src/names.c:624:9: note: Null pointer dereference iraf-2.18.1/unix/f2c/src/names.c:764:12: warning: Either the condition '!of' is redundant or there is possible null pointer dereference: of. [nullPointerRedundantCheck] iraf-2.18.1/unix/f2c/src/names.c:761:9: note: Assuming that condition '!of' is not redundant iraf-2.18.1/unix/f2c/src/names.c:764:12: note: Null pointer dereference iraf-2.18.1/unix/f2c/src/names.c:451:32: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] iraf-2.18.1/unix/f2c/src/names.c:143:8: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/names.c:143:25: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/names.c:211:32: style: Parameter 'addrp' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/names.c:247:8: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/names.c:345:28: style: Variable 'lastlit' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/names.c:675:15: style: Variable 'Lfmt' can be declared as const array [constVariable] iraf-2.18.1/unix/f2c/src/names.c:697:11: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/parse_args.c:149:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/parse_args.c:222:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/parse_args.c:482:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/p1output.c:166:9: style: Variable 'vleng' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/p1output.c:169:8: style: Variable 'cds0' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/p1output.c:169:15: style: Variable 'cds1' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/p1output.c:606:24: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/p1output.c:687:35: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/p1output.c:724:32: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/p1output.c:739:46: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/p1output.c:676:9: style: union member 'dL::d' is never used. [unusedStructMember] iraf-2.18.1/unix/f2c/src/p1output.c:677:7: style: union member 'dL::L' is never used. [unusedStructMember] iraf-2.18.1/unix/f2c/src/parse_args.c:126:9: style: Condition 'result' is always true [knownConditionTrueFalse] iraf-2.18.1/unix/f2c/src/parse_args.c:120:25: note: Calling function 'arg_verify' returns 1 iraf-2.18.1/unix/f2c/src/parse_args.c:120:25: note: Assignment 'result=arg_verify(argv,table,entries)', assigned value is 1 iraf-2.18.1/unix/f2c/src/parse_args.c:126:9: note: Condition 'result' is always true iraf-2.18.1/unix/f2c/src/parse_args.c:497:9: style: Condition 'L!=*(short*)store' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/f2c/src/parse_args.c:495:5: note: L is assigned 'atol(str)' here. iraf-2.18.1/unix/f2c/src/parse_args.c:496:21: note: Assignment '*(short*)store=(short)L', assigned value is symbolic=L iraf-2.18.1/unix/f2c/src/parse_args.c:497:9: note: Condition 'L!=*(short*)store' is always false iraf-2.18.1/unix/f2c/src/parse_args.c:508:9: style: Condition 'L!=*(int*)store' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/f2c/src/parse_args.c:506:5: note: L is assigned 'atol(str)' here. iraf-2.18.1/unix/f2c/src/parse_args.c:507:19: note: Assignment '*(int*)store=(int)L', assigned value is symbolic=L iraf-2.18.1/unix/f2c/src/parse_args.c:508:9: note: Condition 'L!=*(int*)store' is always false iraf-2.18.1/unix/f2c/src/parse_args.c:131:11: warning: Either the condition 'argv' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] iraf-2.18.1/unix/f2c/src/parse_args.c:115:9: note: Assuming that condition 'argv' is not redundant iraf-2.18.1/unix/f2c/src/parse_args.c:131:11: note: Null pointer addition iraf-2.18.1/unix/f2c/src/parse_args.c:521:5: portability: Casting between char * * and float * which have an incompatible binary data representation. [invalidPointerCast] iraf-2.18.1/unix/f2c/src/parse_args.c:525:5: portability: Casting between char * * and double * which have an incompatible binary data representation. [invalidPointerCast] iraf-2.18.1/unix/f2c/src/parse_args.c:211:11: style: Local variable 'this_program' shadows outer variable [shadowVariable] iraf-2.18.1/unix/f2c/src/parse_args.c:91:14: note: Shadowed declaration iraf-2.18.1/unix/f2c/src/parse_args.c:211:11: note: Shadow variable iraf-2.18.1/unix/f2c/src/parse_args.c:211:11: style: Variable 'this_program' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/parse_args.c:364:20: style: Variable 'input' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/parse_args.c:364:28: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/parse_args.c:364:37: style: Variable 'string' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/parse_args.c:407:32: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/parse_args.c:469:54: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/parse_args.c:469:68: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/niceprintf.c:229:18: style: Local variable 'c_file' shadows outer variable [shadowVariable] iraf-2.18.1/unix/f2c/src/defs.h:56:14: note: Shadowed declaration iraf-2.18.1/unix/f2c/src/niceprintf.c:229:18: note: Shadow variable iraf-2.18.1/unix/f2c/src/niceprintf.c:53:77: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/niceprintf.c:169:41: style: Parameter 'pointer' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/niceprintf.c:172:26: style: Variable 'se' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/niceprintf.c:172:31: style: Variable 's0' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/niceprintf.c:203:45: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/niceprintf.c:231:20: style: Variable 'Tr' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/niceprintf.c:191:9: warning: Uninitialized variable: s0 [uninitvar] iraf-2.18.1/unix/f2c/src/niceprintf.c:176:16: note: Assuming condition is false iraf-2.18.1/unix/f2c/src/niceprintf.c:191:9: note: Uninitialized variable: s0 iraf-2.18.1/unix/f2c/src/output.c:1708:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:46:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:62:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:86:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:99:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:182:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:235:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:307:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:395:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:542:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:705:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:727:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:744:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:777:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:885:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/put.c:276:25: style: Variable 'lastlit' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/put.c:281:8: style: Variable 'strp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/proc.c:840:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vknownarg [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/expr.c:1174:27: warning: Either the condition 'ep==NULL' is redundant or there is possible null pointer dereference: ep. [nullPointerRedundantCheck] iraf-2.18.1/unix/f2c/src/expr.c:1171:9: note: Assuming that condition 'ep==NULL' is not redundant iraf-2.18.1/unix/f2c/src/expr.c:1174:27: note: Null pointer dereference iraf-2.18.1/unix/f2c/src/lex.c:1060:6: error: Common realloc mistake: 'token' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/f2c/src/expr.c:397:21: style: Variable 'q' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/f2c/src/expr.c:396:4: note: q is assigned iraf-2.18.1/unix/f2c/src/expr.c:397:21: note: q is overwritten iraf-2.18.1/unix/f2c/src/expr.c:1706:28: style: Variable 'badcall' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/f2c/src/expr.c:1701:10: note: badcall is assigned iraf-2.18.1/unix/f2c/src/expr.c:1706:28: note: badcall is overwritten iraf-2.18.1/unix/f2c/src/expr.c:2417:19: style: Variable 'e' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/f2c/src/expr.c:2416:4: note: e is assigned iraf-2.18.1/unix/f2c/src/expr.c:2417:19: note: e is overwritten iraf-2.18.1/unix/f2c/src/lex.c:313:16: style: Variable 'lastslash' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/lex.c:313:32: style: Variable 's0' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/lex.c:418:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/lex.c:592:21: style: Variable 'q' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/lex.c:671:12: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/lex.c:671:21: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/lex.c:671:30: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/lex.c:671:48: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/lex.c:671:66: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/lex.c:726:16: style: Variable 'endcd0' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/lex.c:1286:17: style: Variable 'i' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/lex.c:1287:32: style: Variable 'pend' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/lex.c:1317:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/lex.c:1357:8: style: Variable 'kind' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/lex.c:1406:12: style: Variable 'j' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/expr.c:155:19: style: Variable 's0' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/expr.c:159:15: style: Variable 'kind' can be declared as const array [constVariable] iraf-2.18.1/unix/f2c/src/expr.c:226:23: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/expr.c:434:13: style: Variable 'blksize' can be declared as const array [constVariable] iraf-2.18.1/unix/f2c/src/expr.c:666:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/expr.c:1100:22: style: Variable 'who' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/expr.c:1206:13: style: Variable 'Lq' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/expr.c:1909:9: style: Variable 'neltp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/expr.c:3526:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/expr.c:3698:29: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/expr.c:3698:42: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/expr.c:2197:6: 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] iraf-2.18.1/unix/f2c/src/lex.c:147:7: style: struct member 'Fmtlist::fmtchar' is never used. [unusedStructMember] iraf-2.18.1/unix/f2c/src/lex.c:148:6: style: struct member 'Fmtlist::fmtval' is never used. [unusedStructMember] iraf-2.18.1/unix/f2c/src/sysdeptest.c:18:11: error: Uninitialized variable: buf [uninitvar] iraf-2.18.1/unix/f2c/src/putpcc.c:87:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vtype [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/putpcc.c:1536:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/putpcc.c:2146:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vtype [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/sysdep.c:225:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/sysdep.c:283:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/sysdep.c:304:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/sysdep.c:639:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/sysdep.c:282:6: style: Redundant assignment of 'sig' to itself. [selfAssignment] iraf-2.18.1/unix/f2c/src/sysdep.c:303:6: style: Redundant assignment of 'sig' to itself. [selfAssignment] iraf-2.18.1/unix/f2c/src/sysdep.c:316:6: style: Redundant assignment of 'sig' to itself. [selfAssignment] iraf-2.18.1/unix/f2c/src/sysdep.c:333:6: style: Redundant assignment of 'sig' to itself. [selfAssignment] iraf-2.18.1/unix/f2c/src/sysdep.c:114:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/sysdep.c:352:16: style: Parameter 'pargc' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/sysdep.c:625:26: style: Variable 'xe' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/sysdep.c:282:6: style: Variable 'sig' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/f2c/src/sysdep.c:316:6: style: Variable 'sig' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/f2c/src/sysdep.c:333:6: style: Variable 'sig' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/f2c/src/xsum.c:53:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/xsum.c:220:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/xsum.c:209:7: style: Redundant assignment of 'argc' to itself. [selfAssignment] iraf-2.18.1/unix/f2c/src/xsum.c:70:18: style: Variable 'xe' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/xsum.c:71:14: style: Variable 'crc_table' can be declared as const array [constVariable] iraf-2.18.1/unix/f2c/src/xsum.c:153:27: style: Variable 'be' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/xsum.c:175:15: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/gdev/sgidev/sgi2gif.c:123:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgi2gif.c:388:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgi2gif.c:533:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/pread.c:786:21: style: Condition 'k==j' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/f2c/src/pread.c:83:15: style: Parameter 'tname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/pread.c:83:28: style: Parameter 'option' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/pread.c:96:16: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/pread.c:226:19: style: Variable 't' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/pread.c:229:13: style: Variable 'ae' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/pread.c:301:21: style: Variable 'se' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/pread.c:390:21: style: Variable 'se' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/pread.c:535:21: style: Parameter 'what' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/gdev/sgidev/sgi2gif.c:190:20: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] iraf-2.18.1/unix/gdev/sgidev/sgi2gif.c:163:27: note: Assuming allocation function fails iraf-2.18.1/unix/gdev/sgidev/sgi2gif.c:163:11: note: Assignment 'buffer=(unsigned char*)malloc(len_buf)', assigned value is 0 iraf-2.18.1/unix/gdev/sgidev/sgi2gif.c:190:20: note: Null pointer dereference iraf-2.18.1/unix/f2c/src/pread.c:699:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/pread.c:723:15: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/pread.c:761:20: style: Variable 'te' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/pread.c:842:16: style: Variable 't' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/pread.c:842:20: style: Variable 'te' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/pread.c:955:23: style: Variable 'ee' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2gif.c:99:8: style: Variable 'root' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2gif.c:259:93: style: Parameter 'Red' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/gdev/sgidev/sgi2gif.c:259:103: style: Parameter 'Green' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/gdev/sgidev/sgi2gif.c:259:115: style: Parameter 'Blue' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/gdev/sgidev/sgi2gif.c:164:5: style: Variable 'ip' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/gdev/sgidev/sgi2svg.c:130:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgi2svg.c:235:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/vax.c:483:17: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] iraf-2.18.1/unix/f2c/src/vax.c:500:24: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] iraf-2.18.1/unix/gdev/sgidev/sgi2uapl.c:243:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgi2uapl.c:377:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/vax.c:83:8: style: Variable 'x0' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/vax.c:83:13: style: Variable 'x1' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/vax.c:279:26: style: Parameter 'P' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/gdev/sgidev/sgi2svg.c:92:8: style: Variable 'infile' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2svg.c:182:38: style: Variable 'buftop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2uhpgl.c:72:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgi2uhpgl.c:149:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgi2ueps.c:245:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgi2ueps.c:382:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgi2uhpgl.c:69:9: style: Variable 'infile' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/gdev/sgidev/sgi2uhpgl.c:65:9: note: infile is assigned iraf-2.18.1/unix/gdev/sgidev/sgi2uhpgl.c:69:9: note: infile is overwritten iraf-2.18.1/unix/gdev/sgidev/sgi2uhpgl.c:62:8: style: Variable 'infile' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2uhpgl.c:101:38: style: Variable 'buftop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/output.c:691:6: style: Condition '!e' is always false [knownConditionTrueFalse] iraf-2.18.1/unix/gdev/sgidev/sgi2uhplj.c:127:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/output.c:578:17: style: Local variable 'extsymtab' shadows outer variable [shadowVariable] iraf-2.18.1/unix/f2c/src/defs.h:293:16: note: Shadowed declaration iraf-2.18.1/unix/f2c/src/output.c:578:17: note: Shadow variable iraf-2.18.1/unix/f2c/src/output.c:1433:16: style: Local variable 'tab_size' shadows outer variable [shadowVariable] iraf-2.18.1/unix/f2c/src/output.h:52:12: note: Shadowed declaration iraf-2.18.1/unix/f2c/src/output.c:1433:16: note: Shadow variable iraf-2.18.1/unix/gdev/sgidev/sgi2uapl.c:528:7: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] iraf-2.18.1/unix/gdev/sgidev/sgi2uapl.c:533:26: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] iraf-2.18.1/unix/gdev/sgidev/sgi2uapl.c:533:34: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] iraf-2.18.1/unix/f2c/src/output.c:354:8: style: Variable 's1' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/output.c:354:13: style: Variable 's2' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/output.c:517:32: style: Variable 'ce' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/output.c:549:27: style: Parameter 'ep' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/output.c:733:28: style: Variable 'lastlit' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/output.c:856:34: style: Variable 'litpe' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/output.c:1135:51: style: Parameter 'len' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/output.c:1150:12: style: Variable 'A' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/output.c:1150:16: style: Variable 'Ac' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/output.c:1327:10: style: Variable 'memoffset' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/output.c:1400:26: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/output.c:1434:20: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/output.c:1606:17: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/output.c:1677:50: style: Parameter 'labels' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/output.c:1680:11: style: Variable 's1' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2uapl.c:366:11: style: Local variable 'x' shadows outer variable [shadowVariable] iraf-2.18.1/unix/gdev/sgidev/sgi2uapl.c:304:10: note: Shadowed declaration iraf-2.18.1/unix/gdev/sgidev/sgi2uapl.c:366:11: note: Shadow variable iraf-2.18.1/unix/f2c/src/output.c:1680:16: style: Variable 's2' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2uapl.c:206:8: style: Variable 'infile' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2uapl.c:303:38: style: Variable 'buftop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2uapl.c:485:22: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2uapl.c:523:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2ueps.c:517:40: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] iraf-2.18.1/unix/gdev/sgidev/sgi2ueps.c:517:48: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] iraf-2.18.1/unix/gdev/sgidev/sgi2uhplj.c:174:21: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer1 [nullPointerOutOfMemory] iraf-2.18.1/unix/gdev/sgidev/sgi2uhplj.c:164:36: note: Assuming allocation function fails iraf-2.18.1/unix/gdev/sgidev/sgi2uhplj.c:164:12: note: Assignment 'buffer1=(unsigned char*)malloc(len_buf)', assigned value is 0 iraf-2.18.1/unix/gdev/sgidev/sgi2uhplj.c:174:21: note: Null pointer dereference iraf-2.18.1/unix/gdev/sgidev/sgi2uhplj.c:89:8: style: Variable 'infile' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2uhplj.c:157:26: style: Variable 'bp1' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2ueps.c:371:11: style: Local variable 'x' shadows outer variable [shadowVariable] iraf-2.18.1/unix/gdev/sgidev/sgi2ueps.c:306:10: note: Shadowed declaration iraf-2.18.1/unix/gdev/sgidev/sgi2ueps.c:371:11: note: Shadow variable iraf-2.18.1/unix/gdev/sgidev/sgi2ueps.c:210:8: style: Variable 'infile' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2ueps.c:305:38: style: Variable 'buftop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2ueps.c:474:22: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2uptx.c:34:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgi2xbm.c:97:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgi2uptx.c:38:21: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] iraf-2.18.1/unix/gdev/sgidev/sgi2uptx.c:30:29: note: Assuming allocation function fails iraf-2.18.1/unix/gdev/sgidev/sgi2uptx.c:30:13: note: Assignment 'buffer=(char*)malloc(len_buf)', assigned value is 0 iraf-2.18.1/unix/gdev/sgidev/sgi2uptx.c:38:21: note: Null pointer dereference iraf-2.18.1/unix/gdev/sgidev/sgi2uptx.c:38:41: warning: If resource allocation fails, then there is a possible null pointer dereference: fpi [nullPointerOutOfResources] iraf-2.18.1/unix/gdev/sgidev/sgi2uptx.c:35:19: note: Assuming allocation function fails iraf-2.18.1/unix/gdev/sgidev/sgi2uptx.c:35:19: note: Assignment 'fpi=fopen(argv[index],"r")', assigned value is 0 iraf-2.18.1/unix/gdev/sgidev/sgi2uptx.c:38:41: note: Null pointer dereference iraf-2.18.1/unix/gdev/sgidev/sgi2uptx.c:18:23: style: Parameter 'argv' can be declared as const array [constParameter] iraf-2.18.1/unix/gdev/sgidev/sgi2uqms.c:124:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgi2uqms.c:238:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgiUtil.c:123:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgiUtil.c:27:29: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgiUtil.c:61:29: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2xbm.c:107:20: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] iraf-2.18.1/unix/gdev/sgidev/sgi2xbm.c:89:27: note: Assuming allocation function fails iraf-2.18.1/unix/gdev/sgidev/sgi2xbm.c:89:11: note: Assignment 'buffer=(unsigned char*)malloc(len_buf)', assigned value is 0 iraf-2.18.1/unix/gdev/sgidev/sgi2xbm.c:107:20: note: Null pointer dereference iraf-2.18.1/unix/gdev/sgidev/sgi2xbm.c:65:36: style: Variable 'cnt' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/gdev/sgidev/sgi2uimp.c:138:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgi2uimp.c:321:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgidispatch.c:38:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/alloc.c:69:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DV_ERROR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/alloc.c:107:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DV_ERROR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/alloc.c:169:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DV_ERROR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/gdev/sgidev/sgi2uqms.c:93:8: style: Variable 'infile' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2uqms.c:186:38: style: Variable 'buftop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2uqms.c:282:11: style: Parameter 'opcode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/getproc.c:23:28: warning: If resource allocation fails, then there is a possible null pointer dereference: dirp [nullPointerOutOfResources] iraf-2.18.1/unix/os/getproc.c:22:17: note: Assuming allocation function fails iraf-2.18.1/unix/os/getproc.c:22:17: note: Assignment 'dirp=opendir("/proc")', assigned value is 0 iraf-2.18.1/unix/os/getproc.c:23:28: note: Null pointer dereference iraf-2.18.1/unix/os/getproc.c:17:26: style: Variable 'direntp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/prwait.c:45:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/prwait.c:69:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/prwait.c:122:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/prwait.c:156:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pid [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/prwait.c:181:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPROCS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/prwait.c:155:29: style: Variable 'pr' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/irafpath.c:29:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zalloc.c:58:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zalloc.c:94:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zalloc.c:154:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zalloc.c:107:19: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] iraf-2.18.1/unix/os/zalloc.c:134:16: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] iraf-2.18.1/unix/os/zalloc.c:53:12: style: Parameter 'aliases' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zalloc.c:89:11: style: Parameter 'maxch' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zalloc.c:94:8: style: Variable 'dev' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zalloc.c:95:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zalloc.c:106:29: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zalloc.c:151:9: style: Parameter 'aliases' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/alloc.c:132:21: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] iraf-2.18.1/unix/os/alloc.c:102:21: style: Local variable 'mode' shadows outer variable [shadowVariable] iraf-2.18.1/unix/os/alloc.c:57:5: note: Shadowed declaration iraf-2.18.1/unix/os/alloc.c:102:21: note: Shadow variable iraf-2.18.1/unix/os/alloc.c:207:8: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zawset.c:90:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/irafpath.c:36:18: style: Variable 'irafarch' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2uimp.c:107:8: style: Variable 'infile' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/gdev/sgidev/sgi2uimp.c:200:38: style: Variable 'buftop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zdojmp.c:22:24: style: Variable 'jb' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfacss.c:46:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zawset.c:123:6: style: The if condition is the same as the previous if condition [duplicateCondition] iraf-2.18.1/unix/os/zawset.c:119:6: note: First condition iraf-2.18.1/unix/os/zawset.c:123:6: note: Second condition iraf-2.18.1/unix/os/zfaloc.c:33:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zawset.c:90:6: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iraf-2.18.1/unix/os/zawset.c:90:6: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iraf-2.18.1/unix/os/zawset.c:90:6: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] iraf-2.18.1/unix/os/zawset.c:51:10: style: Variable 'kb_page' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/os/zfchdr.c:26:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfdele.c:20:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfdele.c:16:12: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfchdr.c:25:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfgcwd.c:34:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfgcwd.c:23:11: style: Parameter 'maxch' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfgcwd.c:27:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfinfo.c:30:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gmt [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfinfo.c:84:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] iraf-2.18.1/unix/os/zfinfo.c:30:9: style: Local variable 'gmt_to_lst' shadows outer function [shadowFunction] iraf-2.18.1/unix/os/osproto.h:21:8: note: Shadowed declaration iraf-2.18.1/unix/os/zfinfo.c:30:9: note: Shadow variable iraf-2.18.1/unix/os/zfinfo.c:63:17: style: Variable 'osbits' can be declared as const array [constVariable] iraf-2.18.1/unix/os/zfinfo.c:77:21: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfaloc.c:38:6: error: Resource leak: fd [resourceLeak] iraf-2.18.1/unix/os/zfaloc.c:26:12: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfaloc.c:31:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiobf.c:78:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiobf.c:162:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiobf.c:187:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiobf.c:225:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiobf.c:256:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiobf.c:272:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiolp.c:91:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiolp.c:141:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XEOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiobf.c:63:12: style: Parameter 'osfn' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiobf.c:64:11: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiobf.c:152:15: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiobf.c:176:9: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiobf.c:178:9: style: Parameter 'maxbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiobf.c:179:10: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiobf.c:214:9: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiobf.c:215:10: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiobf.c:216:9: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiobf.c:217:10: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiobf.c:254:15: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiobf.c:270:15: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiobf.c:270:25: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1835:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiomt.c:1841:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiomt.c:1852:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiomt.c:1863:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiomt.c:1873:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiomt.c:1879:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiomt.c:1889:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiomt.c:1827:12: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1828:11: style: Parameter 'acmode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1829:12: style: Parameter 'devcap' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1830:11: style: Parameter 'devpos' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1831:11: style: Parameter 'newfile' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1832:11: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1839:19: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1839:31: style: Parameter 'devpos' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1839:45: style: Parameter 'o_status' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1846:9: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1847:10: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1848:9: style: Parameter 'maxbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1849:10: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1857:9: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1858:10: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1859:9: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1860:10: style: Parameter 'offset' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1868:9: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/proc.c:1244:7: warning: Possible null pointer dereference: lengp [nullPointer] iraf-2.18.1/unix/f2c/src/proc.c:1760:24: note: Calling function 'autovar', 3rd argument '(union Expression*)0' value is 0 iraf-2.18.1/unix/f2c/src/proc.c:1244:7: note: Null pointer dereference iraf-2.18.1/unix/os/zfiomt.c:1869:9: style: Parameter 'devpos' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1870:9: style: Parameter 'o_status' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1877:19: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1877:31: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1877:45: style: Parameter 'lvalue' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1884:12: style: Parameter 'device' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1885:12: style: Parameter 'devcap' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:1886:11: style: Parameter 'o_status' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiomt.c:171:6: style: struct member '_mtpos::filno' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:172:6: style: struct member '_mtpos::recno' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:173:6: style: struct member '_mtpos::nfiles' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:174:6: style: struct member '_mtpos::tapeused' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:175:6: style: struct member '_mtpos::pflags' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:186:8: style: struct member 'mtdev::statusout' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:187:6: style: struct member 'mtdev::blksize' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:188:6: style: struct member 'mtdev::recsize' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:189:6: style: struct member 'mtdev::maxrec' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:190:6: style: struct member 'mtdev::optrec' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:191:6: style: struct member 'mtdev::tapesize' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:192:6: style: struct member 'mtdev::eofsize' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:193:6: style: struct member 'mtdev::gapsize' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:194:6: style: struct member 'mtdev::maxbsf' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:195:7: style: struct member 'mtdev::density' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:196:7: style: struct member 'mtdev::devtype' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:197:7: style: struct member 'mtdev::tapetype' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:198:7: style: struct member 'mtdev::statusdev' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:208:8: style: struct member 'mtdesc::chan' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:209:6: style: struct member 'mtdesc::flags' is never used. [unusedStructMember] iraf-2.18.1/unix/f2c/src/proc.c:905:7: style: Redundant assignment of 'type' to itself. [selfAssignment] iraf-2.18.1/unix/os/zfiomt.c:210:6: style: struct member 'mtdesc::acmode' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:211:6: style: struct member 'mtdesc::errcnt' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:212:6: style: struct member 'mtdesc::nbytes' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:213:6: style: struct member 'mtdesc::tbytes' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:214:6: style: struct member 'mtdesc::mtrew' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:215:6: style: struct member 'mtdesc::mtbsr' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:215:13: style: struct member 'mtdesc::mtfsr' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:216:6: style: struct member 'mtdesc::mtbsf' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:216:13: style: struct member 'mtdesc::mtfsf' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:217:8: style: struct member 'mtdesc::mtioctop' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:218:16: style: struct member 'mtdesc::mtpos' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:219:15: style: struct member 'mtdesc::mtdev' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:220:7: style: struct member 'mtdesc::iodev' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:221:7: style: struct member 'mtdesc::nr_device' is never used. [unusedStructMember] iraf-2.18.1/unix/os/zfiomt.c:222:7: style: struct member 'mtdesc::rw_device' is never used. [unusedStructMember] iraf-2.18.1/unix/f2c/src/proc.c:69:12: style: Variable 'at' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/proc.c:107:45: style: Parameter 's' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/proc.c:489:14: style: Variable 'already' can be declared as const array [constVariable] iraf-2.18.1/unix/f2c/src/proc.c:918:18: style: Variable 'nelt' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/proc.c:1693:12: style: Variable 'q0' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiolp.c:77:12: style: Parameter 'printer' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiolp.c:142:27: style: Variable 'f' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/proc.c:1320:55: warning: Uninitialized variable: leng [uninitvar] iraf-2.18.1/unix/f2c/src/proc.c:1299:9: note: Assuming condition is false iraf-2.18.1/unix/f2c/src/proc.c:1320:55: note: Uninitialized variable: leng iraf-2.18.1/unix/f2c/src/proc.c:905:7: style: Variable 'type' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/os/zfiopl.c:84:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YES [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiopl.c:133:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiopl.c:276:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiopr.c:69:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiopr.c:187:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiopr.c:233:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiopr.c:373:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCHAR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiopr.c:429:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiopr.c:452:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_OPTBUFSIZE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiopr.c:126:18: warning: Return value of function dup() is not used. [ignoredReturnValue] iraf-2.18.1/unix/os/zfiopr.c:127:18: warning: Return value of function dup() is not used. [ignoredReturnValue] iraf-2.18.1/unix/os/zfiopr.c:183:15: style: Parameter 'pid' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiopr.c:217:9: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiopr.c:243:30: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiopr.c:352:11: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiopr.c:354:11: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiopr.c:370:13: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiopr.c:427:15: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiopr.c:442:9: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiopl.c:71:12: style: Parameter 'plotter' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiopl.c:134:27: style: Variable 'f' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiosf.c:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiond.c:184:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiond.c:632:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiond.c:675:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiond.c:739:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiond.c:824:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiond.c:849:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ND_OPTBUFSIZE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioty.c:33:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioty.c:28:12: style: Parameter 'osfn' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zflink.c:28:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zflink.c:44:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zflink.c:21:12: style: Parameter 'path1' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zflink.c:22:12: style: Parameter 'path2' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zflink.c:38:12: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfmkcp.c:42:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiotx.c:148:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable U_STDIN [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiotx.c:236:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiotx.c:272:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiotx.c:298:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiotx.c:469:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfmkcp.c:53:6: error: Resource leak: fd [resourceLeak] iraf-2.18.1/unix/os/zfiotx.c:492:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiotx.c:596:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiotx.c:665:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiotx.c:705:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiotx.c:775:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiotx.c:828:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICRNL [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiotx.c:852:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSADRAIN [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfmkdr.c:23:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfmkdr.c:24:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfnbrk.c:46:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:207:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:887:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXOFILES [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:923:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sigterm [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:983:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sigterm [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:1042:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:1058:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:1073:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:1096:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KS_OPTBUFSIZE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:1127:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:1177:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:1228:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:1250:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:1398:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:1620:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:1640:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:1797:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfioks.c:1908:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfnbrk.c:41:9: style: Variable 'root_offset' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfnbrk.c:41:23: style: Variable 'extn_offset' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfpath.c:27:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/putpcc.c:1703:12: warning: Either the condition 'p==(struct ExprblockExprp)NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] iraf-2.18.1/unix/f2c/src/putpcc.c:1709:11: note: Assuming that condition 'p==(struct ExprblockExprp)NULL' is not redundant iraf-2.18.1/unix/f2c/src/putpcc.c:1703:12: note: Null pointer dereference iraf-2.18.1/unix/f2c/src/putpcc.c:1705:17: warning: Either the condition 'p==(struct ExprblockExprp)NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] iraf-2.18.1/unix/f2c/src/putpcc.c:1709:11: note: Assuming that condition 'p==(struct ExprblockExprp)NULL' is not redundant iraf-2.18.1/unix/f2c/src/putpcc.c:1705:17: note: Null pointer dereference iraf-2.18.1/unix/f2c/src/putpcc.c:1716:8: warning: Either the condition 'p==(struct ExprblockExprp)NULL' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] iraf-2.18.1/unix/f2c/src/putpcc.c:1709:11: note: Assuming that condition 'p==(struct ExprblockExprp)NULL' is not redundant iraf-2.18.1/unix/f2c/src/putpcc.c:1716:8: note: Null pointer dereference iraf-2.18.1/unix/f2c/src/putpcc.c:1833:6: warning: Either the condition 'q==(union Expression*)0' is redundant or there is possible null pointer dereference: q. [nullPointerRedundantCheck] iraf-2.18.1/unix/f2c/src/putpcc.c:1827:8: note: Assuming that condition 'q==(union Expression*)0' is not redundant iraf-2.18.1/unix/f2c/src/putpcc.c:1826:6: note: Assignment to 'q=(union Expression*)(cp->datap)' iraf-2.18.1/unix/f2c/src/putpcc.c:1826:4: note: q is assigned '(union Expression*)(cp->datap)' here. iraf-2.18.1/unix/f2c/src/putpcc.c:1833:6: note: Null pointer dereference iraf-2.18.1/unix/os/zfpath.c:24:17: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/putpcc.c:689:24: style: Variable 'q' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/f2c/src/putpcc.c:688:7: note: q is assigned iraf-2.18.1/unix/f2c/src/putpcc.c:689:24: note: q is overwritten iraf-2.18.1/unix/f2c/src/putpcc.c:963:23: style: Variable 'e' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/f2c/src/putpcc.c:962:6: note: e is assigned iraf-2.18.1/unix/f2c/src/putpcc.c:963:23: note: e is overwritten iraf-2.18.1/unix/f2c/src/putpcc.c:1931:6: style: Variable 'd' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/f2c/src/putpcc.c:1927:5: note: d is assigned iraf-2.18.1/unix/f2c/src/putpcc.c:1931:6: note: d is overwritten iraf-2.18.1/unix/f2c/src/putpcc.c:1363:22: style: Variable 'ae' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/putpcc.c:1385:32: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/putpcc.c:1385:66: style: Parameter 'here' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/putpcc.c:1385:78: style: Parameter 'prev' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/putpcc.c:1403:22: style: Parameter 'at' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/f2c/src/putpcc.c:1436:37: style: Variable 'te' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfpoll.c:47:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_POLL_FD [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/f2c/src/putpcc.c:1993:8: style: Variable 'what' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/f2c/src/putpcc.c:2166:13: style: Variable 'we' can be declared as const array [constVariable] iraf-2.18.1/unix/f2c/src/putpcc.c:694:14: 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] iraf-2.18.1/unix/f2c/src/putpcc.c:703:8: 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] iraf-2.18.1/unix/os/zfacss.c:33:11: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfacss.c:34:12: style: Parameter 'type' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfacss.c:38:14: style: Variable 'modebits' can be declared as const array [constVariable] iraf-2.18.1/unix/os/zfacss.c:39:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfpoll.c:41:9: style: Parameter 'nfds' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfpoll.c:42:9: style: Parameter 'timeout' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfprot.c:37:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfprot.c:93:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfrmdr.c:23:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfprot.c:32:11: style: Parameter 'action' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfrmdr.c:24:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfrnam.c:24:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QUERY_PROTECTION [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfsubd.c:31:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfutim.c:39:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfutim.c:55:6: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] iraf-2.18.1/unix/os/zfutim.c:27:12: style: Parameter 'atime' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfutim.c:28:12: style: Parameter 'mtime' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfxdir.c:49:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XEOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfxdir.c:21:10: style: Parameter 'maxch' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfsubd.c:24:10: style: Parameter 'maxch' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfsubd.c:34:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zgcmdl.c:84:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zghost.c:20:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_FNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zghost.c:17:11: style: Parameter 'maxch' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zgcmdl.c:32:11: style: Parameter 'maxch' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zgcmdl.c:36:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zgmtco.c:35:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zgtpid.c:19:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zgtime.c:29:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gmt [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zgtime.c:29:9: style: Local variable 'gmt_to_lst' shadows outer function [shadowFunction] iraf-2.18.1/unix/os/osproto.h:21:8: note: Shadowed declaration iraf-2.18.1/unix/os/zgtime.c:29:9: note: Shadow variable iraf-2.18.1/unix/os/zintpr.c:25:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zgtenv.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zgtenv.c:94:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_tmpdir [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zgtenv.c:140:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zintpr.c:20:9: style: Parameter 'pid' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zlocpr.c:24:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zlocva.c:25:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiotx.c:716:7: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] iraf-2.18.1/unix/os/zfiotx.c:718:7: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] iraf-2.18.1/unix/os/zfiotx.c:720:6: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] iraf-2.18.1/unix/os/zfiotx.c:722:7: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] iraf-2.18.1/unix/os/zmaloc.c:33:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zfiotx.c:110:11: style: Parameter 'osfn' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiotx.c:111:10: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiotx.c:119:8: style: Variable 'fmode' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiotx.c:234:15: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiotx.c:284:37: style: Parameter 'maxchars' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiotx.c:467:15: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiotx.c:484:9: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiotx.c:486:9: style: Parameter 'nchars' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiotx.c:594:15: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiotx.c:594:26: style: Parameter 'znottx_offset' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiotx.c:653:9: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiotx.c:654:9: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiotx.c:847:27: style: Variable 'port' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiotx.c:870:18: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zmaloc.c:22:9: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zgtenv.c:157:6: error: Memory leak: lbuf [memleak] iraf-2.18.1/unix/os/zgtenv.c:98:3: error: Common realloc mistake: 'ip' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/os/zgtenv.c:107:6: error: Common realloc mistake: 'ip' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/os/zgtenv.c:114:3: error: Common realloc mistake: 'ip' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/os/zgtenv.c:97:10: warning: If memory allocation fails, then there is a possible null pointer dereference: ip [nullPointerOutOfMemory] iraf-2.18.1/unix/os/zgtenv.c:96:17: note: Assuming allocation function fails iraf-2.18.1/unix/os/zgtenv.c:96:17: note: Assignment 'ip=strdup(ip)', assigned value is 0 iraf-2.18.1/unix/os/zgtenv.c:97:10: note: Null pointer dereference iraf-2.18.1/unix/os/zgtenv.c:97:20: warning: If memory allocation fails, then there is a possible null pointer dereference: ip [nullPointerOutOfMemory] iraf-2.18.1/unix/os/zgtenv.c:96:17: note: Assuming allocation function fails iraf-2.18.1/unix/os/zgtenv.c:96:17: note: Assignment 'ip=strdup(ip)', assigned value is 0 iraf-2.18.1/unix/os/zgtenv.c:97:20: note: Null pointer dereference iraf-2.18.1/unix/os/zgtenv.c:107:30: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ip [nullPointerOutOfMemory] iraf-2.18.1/unix/os/zgtenv.c:103:21: note: Assuming allocation function fails iraf-2.18.1/unix/os/zgtenv.c:103:21: note: Assignment 'ip=strdup(ip)', assigned value is 0 iraf-2.18.1/unix/os/zgtenv.c:107:30: note: Null pointer dereference iraf-2.18.1/unix/os/zgtenv.c:155:13: warning: If memory allocation fails, then there is a possible null pointer dereference: lbuf [nullPointerOutOfMemory] iraf-2.18.1/unix/os/zgtenv.c:154:15: note: Assuming allocation function fails iraf-2.18.1/unix/os/zgtenv.c:154:15: note: Assignment 'lbuf=malloc(SZ_LINE+1)', assigned value is 0 iraf-2.18.1/unix/os/zgtenv.c:155:13: note: Null pointer dereference iraf-2.18.1/unix/os/zgtenv.c:28:11: style: Parameter 'maxch' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zgtenv.c:32:8: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zmain.c:67:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCHAR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zgtenv.c:88:21: style: Parameter 'envvar' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zgtenv.c:140:8: style: Variable 'home' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zmfree.c:24:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zmfree.c:36:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zoscmd.c:42:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zopdpr.c:44:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zopdpr.c:162:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zopdpr.c:213:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XYES [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zopdpr.c:242:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERR [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zoscmd.c:80:14: warning: Return value of function dup() is not used. [ignoredReturnValue] iraf-2.18.1/unix/os/zoscmd.c:88:18: warning: Return value of function dup() is not used. [ignoredReturnValue] iraf-2.18.1/unix/os/zoscmd.c:97:18: warning: Return value of function dup() is not used. [ignoredReturnValue] iraf-2.18.1/unix/os/zoscmd.c:103:15: warning: Return value of function dup() is not used. [ignoredReturnValue] iraf-2.18.1/unix/os/zoscmd.c:37:8: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zoscmd.c:37:14: style: Variable 'sout' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zoscmd.c:37:21: style: Variable 'serr' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zopdir.c:60:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_PATHNAME [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zopdir.c:155:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zopdir.c:180:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zfd [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zopdir.c:214:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zpanic.c:52:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_DETACHED [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zpanic.c:90:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SZ_LINE [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zopdpr.c:203:9: style: Parameter 'jobcode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zopdpr.c:204:9: style: Parameter 'killflag' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zopdpr.c:234:9: style: Parameter 'jobcode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zmain.c:139:3: warning: Return value of function freopen() is not used. [ignoredReturnValue] iraf-2.18.1/unix/os/zmain.c:166:7: error: Common realloc mistake: 'irafcmd' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/os/zpanic.c:30:11: style: Parameter 'errcode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zpanic.c:31:12: style: Parameter 'errmsg' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zpanic.c:91:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zmain.c:64:8: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zraloc.c:31:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zttyio.c:18:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zwmsec.c:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zraloc.c:17:9: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zwmsec.c:31:13: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] iraf-2.18.1/unix/os/zwmsec.c:31:43: warning: Either the condition '*msec>(60*60*1000)' is redundant or usleep() argument nr 1 can have invalid value. The value is 3600000000 but the valid values are '0:999999'. [invalidFunctionArg] iraf-2.18.1/unix/os/zwmsec.c:28:12: note: Assuming that condition '*msec>(60*60*1000)' is not redundant iraf-2.18.1/unix/os/zwmsec.c:31:43: note: Invalid argument iraf-2.18.1/unix/os/zwmsec.c:23:15: style: Parameter 'msec' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzepro.c:9:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zxwhen.c:206:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_FIRST_EXCEPTION [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zxwhen.c:267:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zxwhen.c:301:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_FIRST_EXCEPTION [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zxwhen.c:344:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zzexit.c:17:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zzexit.c:14:18: style: Parameter 'code' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzdbg.c:24:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zzdbg.c:33:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zzdbg.c:44:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zzdbg.c:59:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zzdbg.c:74:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zzdbg.c:98:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zzpstr.c:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zzpstr.c:100:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zzpstr.c:159:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zxwhen.c:188:9: style: Parameter 'sig_code' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zxwhen.c:189:9: style: Parameter 'epa' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zxwhen.c:336:11: style: Parameter 'maxch' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zxwhen.c:340:8: style: Variable 'os_errmsg' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zzdbg.c:22:20: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzdbg.c:28:21: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzdbg.c:28:32: style: Parameter 'len' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzdbg.c:40:32: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzdbg.c:55:32: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzdbg.c:55:42: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzdbg.c:57:14: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zzdbg.c:70:43: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzdbg.c:72:14: style: Variable 'c1' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zzdbg.c:72:33: style: Variable 'c2' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zzdbg.c:91:32: style: Parameter 'len' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzdbg.c:105:31: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzdbg.c:108:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zzdbg.c:131:25: style: Parameter 'nelems' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzdbg.c:134:11: style: Variable 'c' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zzdbg.c:143:17: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzdbg.c:143:37: style: Parameter 'nelems' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzdbg.c:146:12: style: Variable 'c' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zzdbg.c:107:24: style: Variable 'j' is assigned a value that is never used. [unreadVariable] iraf-2.18.1/unix/os/zopdir.c:99:8: error: Common realloc mistake: 'soff' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/os/zopdir.c:116:7: error: Common realloc mistake: 'soff' nulled but not freed upon failure [memleakOnRealloc] iraf-2.18.1/unix/os/zzsetk.c:39:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zopdir.c:58:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zopdir.c:153:15: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zopdir.c:174:11: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zopdir.c:176:12: style: Parameter 'maxch' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zopdir.c:182:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zopdir.c:203:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zopdir.c:206:26: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zopdir.c:230:17: style: Parameter 'a' can be declared as pointer to const. However it seems that 'd_compar' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/unix/os/zopdir.c:113:48: note: You might need to cast the function pointer here iraf-2.18.1/unix/os/zopdir.c:230:17: note: Parameter 'a' can be declared as pointer to const iraf-2.18.1/unix/os/zopdir.c:230:26: style: Parameter 'b' can be declared as pointer to const. However it seems that 'd_compar' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] iraf-2.18.1/unix/os/zopdir.c:113:48: note: You might need to cast the function pointer here iraf-2.18.1/unix/os/zopdir.c:230:26: note: Parameter 'b' can be declared as pointer to const iraf-2.18.1/unix/os/zzsetk.c:24:9: style: Parameter 'ospn' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzsetk.c:25:9: style: Parameter 'osbfn' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zzstrt.c:50:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_HOST [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zzstrt.c:88:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XOK [valueFlowBailoutIncompleteVar] iraf-2.18.1/unix/os/zzpstr.c:120:9: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/os/zzpstr.c:107:13: note: status is assigned iraf-2.18.1/unix/os/zzpstr.c:120:9: note: status is overwritten iraf-2.18.1/unix/os/zzpstr.c:120:9: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/os/zzpstr.c:114:13: note: status is assigned iraf-2.18.1/unix/os/zzpstr.c:120:9: note: status is overwritten iraf-2.18.1/unix/os/zzpstr.c:120:9: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] iraf-2.18.1/unix/os/zzpstr.c:118:13: note: status is assigned iraf-2.18.1/unix/os/zzpstr.c:120:9: note: status is overwritten iraf-2.18.1/unix/os/zzpstr.c:62:22: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zzpstr.c:94:22: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zzpstr.c:132:22: style: Variable 'otop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiond.c:212:20: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] iraf-2.18.1/unix/os/zfiond.c:227:20: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] iraf-2.18.1/unix/os/zfiond.c:761:16: style: Local variable 'nbytes' shadows outer argument [shadowArgument] iraf-2.18.1/unix/os/zfiond.c:734:9: note: Shadowed declaration iraf-2.18.1/unix/os/zfiond.c:761:16: note: Shadow variable iraf-2.18.1/unix/os/zfiond.c:169:12: style: Parameter 'pk_osfn' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiond.c:170:11: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiond.c:175:35: style: Variable 's_np' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiond.c:200:19: style: Variable 'sv' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiond.c:201:19: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiond.c:630:15: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiond.c:667:9: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiond.c:669:9: style: Parameter 'maxbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiond.c:676:26: style: Variable 'np' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiond.c:677:17: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiond.c:732:9: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiond.c:734:9: style: Parameter 'nbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiond.c:740:26: style: Variable 'np' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiond.c:742:8: style: Variable 'text' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiond.c:759:19: style: Variable 'ipp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfiond.c:822:15: style: Parameter 'fd' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiond.c:834:25: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfiond.c:883:17: style: Variable 'otop' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfioks.c:455:54: warning: Return value of function dup() is not used. [ignoredReturnValue] iraf-2.18.1/unix/os/zfioks.c:456:54: warning: Return value of function dup() is not used. [ignoredReturnValue] iraf-2.18.1/unix/os/zfioks.c:457:54: warning: Return value of function dup() is not used. [ignoredReturnValue] iraf-2.18.1/unix/os/zfioks.c:795:19: warning: Return value of function dup() is not used. [ignoredReturnValue] iraf-2.18.1/unix/os/zfioks.c:796:19: warning: Return value of function dup() is not used. [ignoredReturnValue] iraf-2.18.1/unix/os/zfioks.c:592:3: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] iraf-2.18.1/unix/os/zfioks.c:619:16: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] iraf-2.18.1/unix/os/zfioks.c:629:3: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] iraf-2.18.1/unix/os/zfioks.c:776:8: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] iraf-2.18.1/unix/os/zfioks.c:1138:16: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] iraf-2.18.1/unix/os/zfioks.c:1215:12: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] iraf-2.18.1/unix/os/zfioks.c:1598:8: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] iraf-2.18.1/unix/os/zfioks.c:1231:17: warning: Either the condition '(t=ks_socket(host,0,port,"connect"))<0' is redundant or write() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] iraf-2.18.1/unix/os/zfioks.c:694:62: note: Assuming that condition '(t=ks_socket(host,0,port,"connect"))<0' is not redundant iraf-2.18.1/unix/os/zfioks.c:815:19: note: Calling function 'ks_puti', 1st argument 't' value is -1 iraf-2.18.1/unix/os/zfioks.c:1231:17: note: Invalid argument iraf-2.18.1/unix/os/zfioks.c:1918:10: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] iraf-2.18.1/unix/os/zfioks.c:1920:9: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] iraf-2.18.1/unix/os/zfioks.c:1922:10: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] iraf-2.18.1/unix/os/zfioks.c:1909:6: error: Resource leak: tty [resourceLeak] iraf-2.18.1/unix/os/zfioks.c:320:21: style: Local variable 'port' shadows outer variable [shadowVariable] iraf-2.18.1/unix/os/zfioks.c:204:18: note: Shadowed declaration iraf-2.18.1/unix/os/zfioks.c:320:21: note: Shadow variable iraf-2.18.1/unix/os/zfioks.c:320:27: style: Local variable 's' shadows outer variable [shadowVariable] iraf-2.18.1/unix/os/zfioks.c:204:51: note: Shadowed declaration iraf-2.18.1/unix/os/zfioks.c:320:27: note: Shadow variable iraf-2.18.1/unix/os/zfioks.c:663:15: style: Local variable 'password' shadows outer variable [shadowVariable] iraf-2.18.1/unix/os/zfioks.c:203:45: note: Shadowed declaration iraf-2.18.1/unix/os/zfioks.c:663:15: note: Shadow variable iraf-2.18.1/unix/os/zfioks.c:665:19: style: Local variable 's' shadows outer variable [shadowVariable] iraf-2.18.1/unix/os/zfioks.c:204:51: note: Shadowed declaration iraf-2.18.1/unix/os/zfioks.c:665:19: note: Shadow variable iraf-2.18.1/unix/os/zfioks.c:792:13: style: Local variable 's' shadows outer variable [shadowVariable] iraf-2.18.1/unix/os/zfioks.c:665:19: note: Shadowed declaration iraf-2.18.1/unix/os/zfioks.c:792:13: note: Shadow variable iraf-2.18.1/unix/os/zfioks.c:1526:14: style: Local variable 'jmpbuf' shadows outer variable [shadowVariable] iraf-2.18.1/unix/os/zfioks.c:160:16: note: Shadowed declaration iraf-2.18.1/unix/os/zfioks.c:1526:14: note: Shadow variable iraf-2.18.1/unix/os/zfioks.c:544:22: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfioks.c:603:23: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfioks.c:659:33: style: Variable 'nretryp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfioks.c:663:15: style: Variable 'password' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfioks.c:910:9: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfioks.c:912:9: style: Parameter 'totbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfioks.c:977:9: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfioks.c:978:10: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfioks.c:979:9: style: Parameter 'totbytes' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfioks.c:1071:15: style: Parameter 'chan' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfioks.c:1086:9: style: Parameter 'param' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfioks.c:1119:18: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfioks.c:1119:53: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfioks.c:1122:18: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfioks.c:1209:27: style: Variable 'sv' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfioks.c:1402:8: style: Variable 'namep' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfioks.c:1402:16: style: Variable 'authp' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfioks.c:1403:19: style: Variable 'np' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfioks.c:1596:26: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] iraf-2.18.1/unix/os/zfioks.c:1901:32: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfioks.c:1901:44: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] iraf-2.18.1/unix/os/zfioks.c:556:37: error: Uninitialized variable: ap [uninitvar] iraf-2.18.1/unix/os/zfioks.c:544:27: note: Assignment 'ap=(unsigned char*)&n_addr', assigned value is iraf-2.18.1/unix/os/zfioks.c:556:37: note: Uninitialized variable: ap diff: 2.17.0 iraf-2.18.1/unix/boot/bootlib/ostime.c:32:6: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] 2.17.0 iraf-2.18.1/unix/boot/bootlib/ostime.c:54:6: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] head iraf-2.18.1/unix/boot/mkpkg/char.c:298:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/char.c:293:43: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/char.c:293:14: note: Assignment 'pb=cx->pb=(struct pushback*)malloc(sizeof(struct pushback))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/char.c:298:13: note: Null pointer dereference head iraf-2.18.1/unix/boot/mkpkg/char.c:299:13: warning: If memory allocation fails, then there is a possible null pointer dereference: pb [nullPointerOutOfMemory] iraf-2.18.1/unix/boot/mkpkg/char.c:293:43: note: Assuming allocation function fails iraf-2.18.1/unix/boot/mkpkg/char.c:293:14: note: Assignment 'pb=cx->pb=(struct pushback*)malloc(sizeof(struct pushback))', assigned value is 0 iraf-2.18.1/unix/boot/mkpkg/char.c:299:13: note: Null pointer dereference 2.17.0 iraf-2.18.1/unix/os/getproc.c:23:20: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head iraf-2.18.1/unix/os/zgtenv.c:97:20: warning: If memory allocation fails, then there is a possible null pointer dereference: ip [nullPointerOutOfMemory] iraf-2.18.1/unix/os/zgtenv.c:96:17: note: Assuming allocation function fails iraf-2.18.1/unix/os/zgtenv.c:96:17: note: Assignment 'ip=strdup(ip)', assigned value is 0 iraf-2.18.1/unix/os/zgtenv.c:97:20: note: Null pointer dereference 2.17.0 iraf-2.18.1/unix/os/zopdir.c:208:12: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] DONE