2025-06-27 20:06 ftp://ftp.de.debian.org/debian/pool/main/g/gsw/gsw_3.6.19.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --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: b6dd286 (2025-06-27 13:53:34 +0200) count: 341 249 elapsed-time: 739.4 767.1 head-timing-info: old-timing-info: head results: gsw-3.6.19/src/method_def_entries.c:7:27: error: syntax error [syntaxError] gsw-3.6.19/src/method_bodies.c:12:42: debug: Function::addArguments found argument 'self' with varid 0. [varid0] gsw-3.6.19/src/method_bodies.c:79:44: debug: Function::addArguments found argument 'self' with varid 0. [varid0] gsw-3.6.19/src/method_bodies.c:156:40: debug: Function::addArguments found argument 'self' with varid 0. [varid0] gsw-3.6.19/src/method_bodies.c:23:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/method_bodies.c:93:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/method_bodies.c:166:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/method_bodies.c:18:13: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] gsw-3.6.19/src/_ufuncs.c:46:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:81:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:155:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:235:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:279:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:320:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:362:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:406:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:451:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:502:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:555:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:607:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:660:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:705:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:751:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSW_INVALID_VALUE [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:981:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyUFunc_None [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/_ufuncs.c:42:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:43:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:45:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:46:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:77:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:77:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:78:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:80:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:80:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:81:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:113:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:113:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:116:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:116:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:151:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:151:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:151:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:152:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:154:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:154:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:154:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:155:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:190:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:190:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:190:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:193:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:193:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:193:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:231:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:231:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:231:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:231:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:232:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:234:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:234:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:234:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:234:75: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:235:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:275:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:275:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:275:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:275:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:275:105: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:276:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:278:27: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:278:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:278:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:278:75: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:278:91: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:279:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:316:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:316:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:317:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:317:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:319:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:319:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:320:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:321:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:358:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:358:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:359:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:359:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:359:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:361:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:361:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:362:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:363:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:364:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:402:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:402:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:402:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:403:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:403:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:405:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:405:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:405:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:406:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:407:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:447:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:447:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:447:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:448:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:448:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:448:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:450:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:450:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:450:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:451:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:452:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:453:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:498:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:498:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:498:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:499:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:499:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:499:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:499:87: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:499:111: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:501:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:501:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:501:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:502:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:503:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:504:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:505:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:506:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:551:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:551:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:551:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:551:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:552:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:552:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:552:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:554:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:554:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:554:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:554:67: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:555:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:556:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:557:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:603:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:603:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:603:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:603:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:603:105: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:604:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:604:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:604:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:606:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:606:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:606:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:606:67: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:606:83: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:607:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:608:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:609:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:656:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:656:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:656:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:656:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:656:105: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:656:128: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:657:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:657:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:659:19: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:659:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:659:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:659:67: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:659:83: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:659:99: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:660:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:661:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:701:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:701:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:702:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:704:75: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:704:91: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:705:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:747:13: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:747:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:747:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:748:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:750:99: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:750:115: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:750:131: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/_ufuncs.c:751:15: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:2231:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4873:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4983:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5019:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5052:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:6623:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable I [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:9731:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] gsw-3.6.19/src/c_gsw/gsw_saar.c:20:17: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_saar.c:48:5: style: Variable 'delj' can be declared as const array [constVariable] gsw-3.6.19/src/c_gsw/gsw_saar.c:172:5: style: Variable 'delj' can be declared as const array [constVariable] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:7380:22: style: Expression 'exp(x) - 1' can be replaced by 'expm1(x)' to avoid loss of precision. [unpreciseMathCall] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:7424:34: style: Condition 'mod_pot_enthalpy_ice>=-5.1e5' is always false [knownConditionTrueFalse] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:7419:25: note: Assignment 'h00=-6.320202333358860e5', assigned value is -632020.233336 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:7422:32: note: Assignment 'mod_pot_enthalpy_ice=((pot_enthalpy_ice)>(h00))?(pot_enthalpy_ice):(h00)', assigned value is -632020.233336 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:7424:34: note: Condition 'mod_pot_enthalpy_ice>=-5.1e5' is always false gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8411:28: style: Condition 'sectnum>0' is always true [knownConditionTrueFalse] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8397:28: note: Assuming that condition 'sectnum==0' is not redundant gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8411:28: note: Condition 'sectnum>0' is always true gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11232:9: style: Condition '!mask' is always true [knownConditionTrueFalse] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11228:9: note: Assuming that condition 'mask' is not redundant gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11232:9: note: Condition '!mask' is always true gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3748:18: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3744:31: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3744:14: note: Assignment 'dp=(double*)malloc(nz*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3748:18: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3750:17: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3744:31: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3744:14: note: Assignment 'dp=(double*)malloc(nz*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3750:17: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3785:17: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3782:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3782:17: note: Assignment 'b=(double*)malloc(3*nz*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3785:17: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3936:17: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3932:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3932:17: note: Assignment 'b=(double*)malloc(4*p_cnt*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3936:17: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4069:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p_i [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4245:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4245:11: note: Assignment 'p_i=(double*)malloc(ni_max*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4249:30: note: Calling function 'refine_grid_for_dh', 5th argument 'p_i' value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4069:5: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4070:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p_indices [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4246:31: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4246:17: note: Assignment 'p_indices=(int*)malloc(nz*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4250:30: note: Calling function 'refine_grid_for_dh', 7th argument 'p_indices' value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4070:5: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4127:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sa_i [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4259:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4259:12: note: Assignment 'sa_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4264:42: note: Calling function 'linear_interp_SA_CT_for_dh', 7th argument 'sa_i' value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4127:5: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4128:5: warning: If memory allocation fails, then there is a possible null pointer dereference: sa_i [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4259:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4259:12: note: Assignment 'sa_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4264:42: note: Calling function 'linear_interp_SA_CT_for_dh', 7th argument 'sa_i' value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4128:5: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4129:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ct_i [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4258:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4258:12: note: Assignment 'ct_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4264:48: note: Calling function 'linear_interp_SA_CT_for_dh', 8th argument 'ct_i' value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4129:5: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4130:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ct_i [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4258:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4258:12: note: Assignment 'ct_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4264:48: note: Calling function 'linear_interp_SA_CT_for_dh', 8th argument 'ct_i' value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4130:5: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4143:9: warning: If memory allocation fails, then there is a possible null pointer dereference: sa_i [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4259:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4259:12: note: Assignment 'sa_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4264:42: note: Calling function 'linear_interp_SA_CT_for_dh', 7th argument 'sa_i' value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4138:19: note: Assuming condition is false gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4143:9: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4144:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ct_i [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4258:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4258:12: note: Assignment 'ct_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4264:48: note: Calling function 'linear_interp_SA_CT_for_dh', 8th argument 'ct_i' value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4138:19: note: Assuming condition is false gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4144:9: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4169:9: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4165:26: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4165:10: note: Assignment 'dp=(double*)malloc((nz-1)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4169:9: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4170:13: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4165:26: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4165:10: note: Assignment 'dp=(double*)malloc((nz-1)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4170:13: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4173:13: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4165:26: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4165:10: note: Assignment 'dp=(double*)malloc((nz-1)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4173:13: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4209:13: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4206:29: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4206:13: note: Assignment 'b=(double*)malloc(nz*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4209:13: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4212:13: warning: If memory allocation fails, then there is a possible null pointer dereference: b_av [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4207:32: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4207:16: note: Assignment 'b_av=(double*)malloc((nz-1)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4212:13: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4212:28: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4206:29: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4206:13: note: Assignment 'b=(double*)malloc(nz*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4212:28: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4212:37: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4206:29: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4206:13: note: Assignment 'b=(double*)malloc(nz*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4212:37: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4218:47: warning: If memory allocation fails, then there is a possible null pointer dereference: b_av [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4207:32: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4207:16: note: Assignment 'b_av=(double*)malloc((nz-1)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4218:47: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4289:9: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4285:25: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4285:9: note: Assignment 'b=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4289:9: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4295:9: warning: If memory allocation fails, then there is a possible null pointer dereference: b_av [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4286:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4286:12: note: Assignment 'b_av=(double*)malloc((n_i-1)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4295:9: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4295:24: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4285:25: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4285:9: note: Assignment 'b=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4295:24: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4295:33: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4285:25: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4285:9: note: Assignment 'b=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4295:33: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4296:9: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4284:26: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4284:10: note: Assignment 'dp=(double*)malloc((n_i-1)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4296:9: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4301:5: warning: If memory allocation fails, then there is a possible null pointer dereference: dh_i [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4283:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4283:12: note: Assignment 'dh_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4301:5: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4303:9: warning: If memory allocation fails, then there is a possible null pointer dereference: dh_i [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4283:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4283:12: note: Assignment 'dh_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4303:9: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4303:19: warning: If memory allocation fails, then there is a possible null pointer dereference: dh_i [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4283:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4283:12: note: Assignment 'dh_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4303:19: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4303:31: warning: If memory allocation fails, then there is a possible null pointer dereference: b_av [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4286:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4286:12: note: Assignment 'b_av=(double*)malloc((n_i-1)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4303:31: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4303:41: warning: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4284:26: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4284:10: note: Assignment 'dp=(double*)malloc((n_i-1)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4303:41: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4309:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dh_i [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4283:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4283:12: note: Assignment 'dh_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4309:14: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4312:25: warning: If memory allocation fails, then there is a possible null pointer dereference: dh_i [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4283:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4283:12: note: Assignment 'dh_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4312:25: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4394:13: warning: If memory allocation fails, then there is a possible null pointer dereference: delta_h [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4388:36: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4388:19: note: Assignment 'delta_h=(double*)malloc(3*np*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4394:13: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4398:49: warning: If memory allocation fails, then there is a possible null pointer dereference: delta_h [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4388:36: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4388:19: note: Assignment 'delta_h=(double*)malloc(3*np*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4398:49: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5680:16: warning: If memory allocation fails, then there is a possible null pointer dereference: in_rng [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5679:33: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5679:18: note: Assignment 'in_rng=(char*)malloc(npi*sizeof(char))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5680:16: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5720:13: warning: If memory allocation fails, then there is a possible null pointer dereference: xxi [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5699:32: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5699:15: note: Assignment 'xxi=(double*)malloc(m*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5720:13: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5722:13: warning: If memory allocation fails, then there is a possible null pointer dereference: xxi [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5699:32: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5699:15: note: Assignment 'xxi=(double*)malloc(m*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5722:13: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5722:25: warning: If memory allocation fails, then there is a possible null pointer dereference: xi [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5696:30: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5696:13: note: Assignment 'xi=(double*)malloc(n*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5722:25: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5722:28: warning: If memory allocation fails, then there is a possible null pointer dereference: k [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5697:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5697:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5722:28: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8255:18: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dp [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8253:31: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8253:14: note: Assignment 'dp=(double*)malloc(mp*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8255:18: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8265:16: warning: If memory allocation fails, then there is a possible null pointer dereference: shallow [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8262:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8262:19: note: Assignment 'shallow=(char*)malloc(3*mp_i*sizeof(char))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8265:16: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8289:13: warning: If memory allocation fails, then there is a possible null pointer dereference: ip [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8287:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8287:14: note: Assignment 'ip=(int*)malloc((mp+mp_i)*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8289:13: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11045:16: warning: If memory allocation fails, then there is a possible null pointer dereference: in_rng [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11044:33: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11044:18: note: Assignment 'in_rng=(char*)malloc(nxi*sizeof(char))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11045:16: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11084:13: warning: If memory allocation fails, then there is a possible null pointer dereference: xxi [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11063:32: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11063:15: note: Assignment 'xxi=(double*)malloc(m*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11084:13: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11086:13: warning: If memory allocation fails, then there is a possible null pointer dereference: xxi [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11063:32: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11063:15: note: Assignment 'xxi=(double*)malloc(m*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11086:13: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11086:25: warning: If memory allocation fails, then there is a possible null pointer dereference: xi [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11060:31: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11060:14: note: Assignment 'xi=(double*)malloc(n*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11086:25: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11086:28: warning: If memory allocation fails, then there is a possible null pointer dereference: k [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11061:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11061:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11086:28: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11137:16: warning: If memory allocation fails, then there is a possible null pointer dereference: in_rng [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11136:33: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11136:18: note: Assignment 'in_rng=(char*)malloc(nxi*sizeof(char))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11137:16: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11186:17: warning: If memory allocation fails, then there is a possible null pointer dereference: xxi [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11156:32: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11156:15: note: Assignment 'xxi=(double*)malloc(m*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11186:17: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11187:25: warning: If memory allocation fails, then there is a possible null pointer dereference: xi [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11153:31: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11153:14: note: Assignment 'xi=(double*)malloc(n*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11187:25: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11191:18: warning: If memory allocation fails, then there is a possible null pointer dereference: j [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11157:27: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11157:13: note: Assignment 'j=(int*)malloc(2*m*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11191:18: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11193:15: warning: If memory allocation fails, then there is a possible null pointer dereference: k [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11193:15: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11259:9: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11334:25: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11334:9: note: Assignment 'd=(double*)calloc(n,sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11335:33: note: Calling function 'pchip_derivs', 4th argument 'd' value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11259:9: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11259:16: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11334:25: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11334:9: note: Assignment 'd=(double*)calloc(n,sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11335:33: note: Calling function 'pchip_derivs', 4th argument 'd' value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11259:16: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11427:17: warning: If memory allocation fails, then there is a possible null pointer dereference: di [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11425:29: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11425:18: note: Assignment 'di=(struct DI*)malloc(nx*sizeof(struct DI))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11427:17: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11427:27: warning: If memory allocation fails, then there is a possible null pointer dereference: rarray [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11153:31: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11153:14: note: Assignment 'xi=(double*)malloc(n*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11185:28: note: Calling function 'gsw_util_sort_real', 1st argument 'xi' value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11427:27: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11428:17: warning: If memory allocation fails, then there is a possible null pointer dereference: di [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11425:29: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11425:18: note: Assignment 'di=(struct DI*)malloc(nx*sizeof(struct DI))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11428:17: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11430:15: warning: If memory allocation fails, then there is a possible null pointer dereference: di [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11425:29: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11425:18: note: Assignment 'di=(struct DI*)malloc(nx*sizeof(struct DI))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11430:15: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11432:17: warning: If memory allocation fails, then there is a possible null pointer dereference: iarray [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11185:35: note: Calling function 'gsw_util_sort_real', 3rd argument 'k' value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11432:17: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11432:29: warning: If memory allocation fails, then there is a possible null pointer dereference: di [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11425:29: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11425:18: note: Assignment 'di=(struct DI*)malloc(nx*sizeof(struct DI))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11432:29: note: Null pointer dereference gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3783:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3782:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3782:17: note: Assignment 'b=(double*)malloc(3*nz*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3783:21: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3817:28: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3816:41: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3816:24: note: Assignment 'sa_i=(double*)malloc(2*(nz+1)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3817:28: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3922:28: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3921:41: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3921:24: note: Assignment 'sa_i=(double*)malloc(2*p_cnt*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3922:28: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3929:43: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3921:41: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3921:24: note: Assignment 'sa_i=(double*)malloc(2*p_cnt*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3929:43: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3933:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3932:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3932:17: note: Assignment 'b=(double*)malloc(4*p_cnt*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3933:21: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4389:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4388:36: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4388:19: note: Assignment 'delta_h=(double*)malloc(3*np*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4389:25: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5697:54: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5697:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5697:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5697:54: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5700:55: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5700:27: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5700:13: note: Assignment 'j=(int*)malloc(2*m*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5700:55: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8263:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8262:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8262:19: note: Assignment 'shallow=(char*)malloc(3*mp_i*sizeof(char))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8263:26: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8287:63: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8287:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8287:14: note: Assignment 'ip=(int*)malloc((mp+mp_i)*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8287:63: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8294:34: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8293:37: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8293:23: note: Assignment 'ip_ishallow=(int*)malloc((nshallow+ncentral+ndeep)*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8294:34: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8296:32: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8295:39: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8295:22: note: Assignment 'ip_shallow=(double*)malloc(2*(nshallow+ncentral+ndeep)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8296:32: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8373:65: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8373:30: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8373:16: note: Assignment 'ip_1=(int*)malloc(4*nsect*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8373:65: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8377:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8377:25: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8378:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8378:25: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8379:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8379:25: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8380:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8380:25: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8381:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8381:25: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8382:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8382:25: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8383:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8383:25: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8384:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8384:25: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8385:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8385:25: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8386:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8386:25: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11061:54: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11061:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11061:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11061:54: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11064:55: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11064:27: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11064:13: note: Assignment 'j=(int*)malloc(2*m*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11064:55: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:54: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:54: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11157:55: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11157:27: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11157:13: note: Assignment 'j=(int*)malloc(2*m*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11157:55: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11187:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11156:32: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11156:15: note: Assignment 'xxi=(double*)malloc(m*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11187:20: note: Null pointer addition gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4152:9: style:inconclusive: Function 'gsw_geo_strf_dyn_height_1' argument 5 names different: declaration 'n_levels' definition 'nz'. [funcArgNamesDifferent] gsw-3.6.19/src/c_gsw/gswteos-10.h:132:51: note: Function 'gsw_geo_strf_dyn_height_1' argument 5 names different: declaration 'n_levels' definition 'nz'. gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4152:9: note: Function 'gsw_geo_strf_dyn_height_1' argument 5 names different: declaration 'n_levels' definition 'nz'. gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4327:9: style:inconclusive: Function 'gsw_geo_strf_dyn_height' argument 5 names different: declaration 'n_levels' definition 'nz'. [funcArgNamesDifferent] gsw-3.6.19/src/c_gsw/gswteos-10.h:130:35: note: Function 'gsw_geo_strf_dyn_height' argument 5 names different: declaration 'n_levels' definition 'nz'. gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4327:9: note: Function 'gsw_geo_strf_dyn_height' argument 5 names different: declaration 'n_levels' definition 'nz'. gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:82:25: style: Parameter 'input_data' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:153:22: style: Parameter 'data_in' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4059:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4120:47: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4120:59: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4120:71: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4121:13: style: Parameter 'p_i' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4376:36: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4376:48: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5400:36: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5400:48: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5400:60: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5661:33: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5661:45: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5661:57: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5662:17: style: Parameter 'p_i' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:6422:22: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:6422:34: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:6422:46: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:6422:57: style: Parameter 'lat' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8357:28: style: Parameter 'ip_sect' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8357:42: style: Parameter 'ip_isect' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8357:60: style: Parameter 'p_i' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8600:72: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8601:17: style: Parameter 't' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:10947:28: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:10947:40: style: Parameter 'ct' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:10947:52: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:10989:23: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11023:39: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11023:47: style: Parameter 'iy' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11023:68: style: Parameter 'x_i' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11114:59: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11115:17: style: Parameter 'x_i' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11248:33: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11248:44: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11323:35: style: Parameter 'xi' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11405:18: style: Variable 'A' can be declared as pointer to const [constVariablePointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11406:18: style: Variable 'B' can be declared as pointer to const [constVariablePointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11422:28: style: Parameter 'rarray' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11450:38: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8183:27: error: Uninitialized variable: v_sa_sa [uninitvar] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8183:48: error: Uninitialized variable: v_sa [uninitvar] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8186:26: error: Uninitialized variable: v_sa_h [uninitvar] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8186:51: error: Uninitialized variable: v_h [uninitvar] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8189:25: error: Uninitialized variable: v_h_h [uninitvar] diff: head gsw-3.6.19/src/_ufuncs.c:113:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:116:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:151:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:151:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:154:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:154:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:190:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:190:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:193:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:193:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:231:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:231:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:231:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:234:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:234:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:234:75: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:275:105: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:275:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:275:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:275:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:278:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:278:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:278:75: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:278:91: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:316:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:317:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:319:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:358:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:359:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:359:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:361:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:402:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:402:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:403:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:405:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:405:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:447:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:447:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:448:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:448:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:450:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:450:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:498:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:498:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:499:111: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:499:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:499:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:499:87: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:501:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:501:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:551:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:551:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:551:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:552:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:552:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:554:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:554:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:554:67: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:603:105: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:603:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:603:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:603:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:604:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:604:63: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:606:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:606:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:606:67: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:606:83: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:656:105: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:656:128: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:656:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:656:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:656:82: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:657:39: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:659:35: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:659:51: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:659:67: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:659:83: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:659:99: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:701:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:704:91: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:747:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:747:59: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:750:115: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:750:131: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:77:36: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] head gsw-3.6.19/src/_ufuncs.c:80:43: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11061:54: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11061:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11061:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11061:54: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11061:54: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11061:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11061:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11061:54: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11064:55: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11064:27: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11064:13: note: Assignment 'j=(int*)malloc(2*m*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11064:55: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11064:55: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11064:27: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11064:13: note: Assignment 'j=(int*)malloc(2*m*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11064:55: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:54: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:54: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:54: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11154:54: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11157:55: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11157:27: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11157:13: note: Assignment 'j=(int*)malloc(2*m*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11157:55: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11157:55: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11157:27: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11157:13: note: Assignment 'j=(int*)malloc(2*m*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11157:55: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11187:20: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11156:32: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11156:15: note: Assignment 'xxi=(double*)malloc(m*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11187:20: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11187:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11156:32: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11156:15: note: Assignment 'xxi=(double*)malloc(m*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11187:20: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11259:16: warning: If memory allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11334:25: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11334:9: note: Assignment 'd=(double*)calloc(n,sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11335:33: note: Calling function 'pchip_derivs', 4th argument 'd' value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:11259:16: note: Null pointer dereference 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3783:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3782:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3782:17: note: Assignment 'b=(double*)malloc(3*nz*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3783:21: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3783:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3782:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3782:17: note: Assignment 'b=(double*)malloc(3*nz*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3783:21: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3817:28: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3816:41: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3816:24: note: Assignment 'sa_i=(double*)malloc(2*(nz+1)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3817:28: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3817:28: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3816:41: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3816:24: note: Assignment 'sa_i=(double*)malloc(2*(nz+1)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3817:28: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3922:28: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3921:41: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3921:24: note: Assignment 'sa_i=(double*)malloc(2*p_cnt*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3922:28: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3922:28: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3921:41: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3921:24: note: Assignment 'sa_i=(double*)malloc(2*p_cnt*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3922:28: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3929:43: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3921:41: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3921:24: note: Assignment 'sa_i=(double*)malloc(2*p_cnt*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3929:43: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3929:43: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3921:41: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3921:24: note: Assignment 'sa_i=(double*)malloc(2*p_cnt*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3929:43: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3933:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3932:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3932:17: note: Assignment 'b=(double*)malloc(4*p_cnt*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3933:21: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3933:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3932:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3932:17: note: Assignment 'b=(double*)malloc(4*p_cnt*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:3933:21: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4212:37: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4206:29: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4206:13: note: Assignment 'b=(double*)malloc(nz*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4212:37: note: Null pointer dereference head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4295:33: warning: If memory allocation fails, then there is a possible null pointer dereference: b [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4285:25: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4285:9: note: Assignment 'b=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4295:33: note: Null pointer dereference head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4303:19: warning: If memory allocation fails, then there is a possible null pointer dereference: dh_i [nullPointerOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4283:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4283:12: note: Assignment 'dh_i=(double*)malloc(n_i*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4303:19: note: Null pointer dereference 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4389:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4388:36: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4388:19: note: Assignment 'delta_h=(double*)malloc(3*np*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4389:25: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4389:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4388:36: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4388:19: note: Assignment 'delta_h=(double*)malloc(3*np*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:4389:25: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5697:54: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5697:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5697:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5697:54: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5697:54: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5697:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5697:14: note: Assignment 'k=(int*)malloc(3*n*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5697:54: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5700:55: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5700:27: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5700:13: note: Assignment 'j=(int*)malloc(2*m*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5700:55: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5700:55: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5700:27: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5700:13: note: Assignment 'j=(int*)malloc(2*m*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:5700:55: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:7424:34: style: Condition 'mod_pot_enthalpy_ice>=-5.1e5' is always false [knownConditionTrueFalse] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:7419:25: note: Assignment 'h00=-6.320202333358860e5', assigned value is -632020.233336 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:7422:32: note: Assignment 'mod_pot_enthalpy_ice=((pot_enthalpy_ice)>(h00))?(pot_enthalpy_ice):(h00)', assigned value is -632020.233336 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:7424:34: note: Condition 'mod_pot_enthalpy_ice>=-5.1e5' is always false 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8263:26: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8262:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8262:19: note: Assignment 'shallow=(char*)malloc(3*mp_i*sizeof(char))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8263:26: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8263:26: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8262:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8262:19: note: Assignment 'shallow=(char*)malloc(3*mp_i*sizeof(char))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8263:26: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8287:63: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8287:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8287:14: note: Assignment 'ip=(int*)malloc((mp+mp_i)*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8287:63: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8287:63: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8287:28: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8287:14: note: Assignment 'ip=(int*)malloc((mp+mp_i)*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8287:63: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8294:34: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8293:37: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8293:23: note: Assignment 'ip_ishallow=(int*)malloc((nshallow+ncentral+ndeep)*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8294:34: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8294:34: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8293:37: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8293:23: note: Assignment 'ip_ishallow=(int*)malloc((nshallow+ncentral+ndeep)*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8294:34: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8296:32: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8295:39: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8295:22: note: Assignment 'ip_shallow=(double*)malloc(2*(nshallow+ncentral+ndeep)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8296:32: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8296:32: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8295:39: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8295:22: note: Assignment 'ip_shallow=(double*)malloc(2*(nshallow+ncentral+ndeep)*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8296:32: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8373:65: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8373:30: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8373:16: note: Assignment 'ip_1=(int*)malloc(4*nsect*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8373:65: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8373:65: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8373:30: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8373:16: note: Assignment 'ip_1=(int*)malloc(4*nsect*sizeof(int))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8373:65: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8377:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8377:25: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8377:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8377:25: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8378:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8378:25: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8378:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8378:25: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8379:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8379:25: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8379:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8379:25: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8380:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8380:25: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8380:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8380:25: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8381:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8381:25: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8381:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8381:25: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8382:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8382:25: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8382:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8382:25: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8383:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8383:25: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8383:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8383:25: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8384:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8384:25: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8384:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8384:25: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8385:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8385:25: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8385:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8385:25: note: Null pointer addition 2.17.0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8386:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8386:25: note: Null pointer addition head gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8386:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:34: note: Assuming allocation function fails gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8376:17: note: Assignment 'ct_12=(double*)malloc(12*nsect*sizeof(double))', assigned value is 0 gsw-3.6.19/src/c_gsw/gsw_oceanographic_toolbox.c:8386:25: note: Null pointer addition DONE