2025-07-11 07:30 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-data.table/r-cran-data.table_1.17.0+dfsg.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openmp --library=zlib --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 -j3 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 8f3d36a (2025-07-08 11:07:56 +0200) count: 424 419 elapsed-time: 2.3 2.4 head-timing-info: old-timing-info: head results: data.table/src/between.c:13:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/between.c:9:67: style:inconclusive: Function 'between' argument 5 names different: declaration 'NAbounds' definition 'NAboundsArg'. [funcArgNamesDifferent] data.table/src/data.table.h:239:67: note: Function 'between' argument 5 names different: declaration 'NAbounds' definition 'NAboundsArg'. data.table/src/between.c:9:67: note: Function 'between' argument 5 names different: declaration 'NAbounds' definition 'NAboundsArg'. data.table/src/between.c:9:85: style:inconclusive: Function 'between' argument 6 names different: declaration 'check' definition 'checkArg'. [funcArgNamesDifferent] data.table/src/data.table.h:239:82: note: Function 'between' argument 6 names different: declaration 'check' definition 'checkArg'. data.table/src/between.c:9:85: note: Function 'between' argument 6 names different: declaration 'check' definition 'checkArg'. data.table/src/chmatch.c:7:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/bmerge.c:47:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/bmerge.c:244:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/chmatch.c:109:36: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] data.table/src/chmatch.c:99:32: note: Assuming allocation function fails data.table/src/chmatch.c:99:19: note: Assignment 'counts=(int*)calloc(nuniq,sizeof(int))', assigned value is 0 data.table/src/chmatch.c:109:36: note: Null pointer dereference data.table/src/chmatch.c:110:49: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] data.table/src/chmatch.c:99:32: note: Assuming allocation function fails data.table/src/chmatch.c:99:19: note: Assignment 'counts=(int*)calloc(nuniq,sizeof(int))', assigned value is 0 data.table/src/chmatch.c:110:49: note: Null pointer dereference data.table/src/chmatch.c:110:60: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] data.table/src/chmatch.c:99:32: note: Assuming allocation function fails data.table/src/chmatch.c:99:19: note: Assignment 'counts=(int*)calloc(nuniq,sizeof(int))', assigned value is 0 data.table/src/chmatch.c:110:60: note: Null pointer dereference data.table/src/cj.c:11:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/assign.c:7:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/assign.c:34:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NamesSymbol [valueFlowBailoutIncompleteVar] data.table/src/assign.c:112:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/assign.c:142:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] data.table/src/assign.c:145:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] data.table/src/assign.c:154:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/assign.c:222:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_DimSymbol [valueFlowBailoutIncompleteVar] data.table/src/assign.c:251:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/assign.c:292:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/assign.c:313:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] data.table/src/assign.c:342:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/assign.c:766:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/assign.c:1207:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rbyte [valueFlowBailoutIncompleteVar] data.table/src/assign.c:1279:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/assign.c:1297:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/assign.c:1339:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/cj.c:34:19: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:266:7: note: Shadowed declaration data.table/src/cj.c:34:19: note: Shadow variable data.table/src/cj.c:35:18: style: Local variable 'j' shadows outer variable [shadowVariable] data.table/src/cj.c:16:12: note: Shadowed declaration data.table/src/cj.c:35:18: note: Shadow variable data.table/src/cj.c:48:19: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:266:7: note: Shadowed declaration data.table/src/cj.c:48:19: note: Shadow variable data.table/src/cj.c:49:18: style: Local variable 'j' shadows outer variable [shadowVariable] data.table/src/cj.c:16:12: note: Shadowed declaration data.table/src/cj.c:49:18: note: Shadow variable data.table/src/cj.c:62:19: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:266:7: note: Shadowed declaration data.table/src/cj.c:62:19: note: Shadow variable data.table/src/cj.c:63:18: style: Local variable 'j' shadows outer variable [shadowVariable] data.table/src/cj.c:16:12: note: Shadowed declaration data.table/src/cj.c:63:18: note: Shadow variable data.table/src/cj.c:74:18: style: Local variable 'j' shadows outer variable [shadowVariable] data.table/src/cj.c:16:12: note: Shadowed declaration data.table/src/cj.c:74:18: note: Shadow variable data.table/src/cj.c:76:21: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:266:7: note: Shadowed declaration data.table/src/cj.c:76:21: note: Shadow variable data.table/src/cj.c:86:18: style: Local variable 'j' shadows outer variable [shadowVariable] data.table/src/cj.c:16:12: note: Shadowed declaration data.table/src/cj.c:86:18: note: Shadow variable data.table/src/cj.c:88:21: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:266:7: note: Shadowed declaration data.table/src/cj.c:88:21: note: Shadow variable data.table/src/bmerge.c:357:5: style: Same expression on both sides of '<='. [duplicateExpression] data.table/src/coalesce.c:10:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/coalesce.c:9:28: style:inconclusive: Function 'coalesce' argument 2 names different: declaration 'inplace' definition 'inplaceArg'. [funcArgNamesDifferent] data.table/src/data.table.h:242:28: note: Function 'coalesce' argument 2 names different: declaration 'inplace' definition 'inplaceArg'. data.table/src/coalesce.c:9:28: note: Function 'coalesce' argument 2 names different: declaration 'inplace' definition 'inplaceArg'. data.table/src/dogroups.c:57:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/dogroups.c:71:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] data.table/src/dogroups.c:518:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] data.table/src/dogroups.c:555:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/fastmean.c:34:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] data.table/src/fcast.c:12:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/fifelse.c:25:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/assign.c:653:14: warning: If memory allocation fails, then there is a possible null pointer dereference: s4 [nullPointerOutOfMemory] data.table/src/assign.c:649:32: note: Assuming allocation function fails data.table/src/assign.c:649:18: note: Assignment 's4=(char*)malloc(strlen(c1)+3)', assigned value is 0 data.table/src/assign.c:653:14: note: Null pointer dereference data.table/src/fifelse.c:219:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/assign.c:655:14: warning: If memory allocation fails, then there is a possible null pointer dereference: s4 [nullPointerOutOfMemory] data.table/src/assign.c:649:32: note: Assuming allocation function fails data.table/src/assign.c:649:18: note: Assignment 's4=(char*)malloc(strlen(c1)+3)', assigned value is 0 data.table/src/assign.c:655:14: note: Null pointer dereference data.table/src/assign.c:664:16: warning: If memory allocation fails, then there is a possible null pointer dereference: s5 [nullPointerOutOfMemory] data.table/src/assign.c:659:34: note: Assuming allocation function fails data.table/src/assign.c:659:20: note: Assignment 's5=(char*)malloc(strlen(tc2)+5)', assigned value is 0 data.table/src/assign.c:664:16: note: Null pointer dereference data.table/src/assign.c:666:16: warning: If memory allocation fails, then there is a possible null pointer dereference: s5 [nullPointerOutOfMemory] data.table/src/assign.c:659:34: note: Assuming allocation function fails data.table/src/assign.c:659:20: note: Assignment 's5=(char*)malloc(strlen(tc2)+5)', assigned value is 0 data.table/src/assign.c:666:16: note: Null pointer dereference data.table/src/assign.c:667:16: warning: If memory allocation fails, then there is a possible null pointer dereference: s5 [nullPointerOutOfMemory] data.table/src/assign.c:659:34: note: Assuming allocation function fails data.table/src/assign.c:659:20: note: Assignment 's5=(char*)malloc(strlen(tc2)+5)', assigned value is 0 data.table/src/assign.c:667:16: note: Null pointer dereference data.table/src/assign.c:668:22: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: s4 [nullPointerOutOfMemory] data.table/src/assign.c:649:32: note: Assuming allocation function fails data.table/src/assign.c:649:18: note: Assignment 's4=(char*)malloc(strlen(c1)+3)', assigned value is 0 data.table/src/assign.c:668:22: note: Null pointer dereference data.table/src/assign.c:668:26: warning: If memory allocation fails, then there is a possible null pointer dereference: s5 [nullPointerOutOfMemory] data.table/src/assign.c:659:34: note: Assuming allocation function fails data.table/src/assign.c:659:20: note: Assignment 's5=(char*)malloc(strlen(tc2)+5)', assigned value is 0 data.table/src/assign.c:668:26: note: Null pointer dereference data.table/src/assign.c:654:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/assign.c:649:32: note: Assuming allocation function fails data.table/src/assign.c:649:18: note: Assignment 's4=(char*)malloc(strlen(c1)+3)', assigned value is 0 data.table/src/assign.c:654:17: note: Null pointer addition data.table/src/assign.c:665:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/assign.c:659:34: note: Assuming allocation function fails data.table/src/assign.c:659:20: note: Assignment 's5=(char*)malloc(strlen(tc2)+5)', assigned value is 0 data.table/src/assign.c:665:19: note: Null pointer addition data.table/src/dogroups.c:182:16: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] data.table/src/assign.c:874:17: warning: Size of pointer 'temp' used instead of size of its data. [pointerSize] data.table/src/dogroups.c:66:204: style:inconclusive: Function 'dogroups' argument 16 names different: declaration 'verbose' definition 'verboseArg'. [funcArgNamesDifferent] data.table/src/data.table.h:192:31: note: Function 'dogroups' argument 16 names different: declaration 'verbose' definition 'verboseArg'. data.table/src/dogroups.c:66:204: note: Function 'dogroups' argument 16 names different: declaration 'verbose' definition 'verboseArg'. data.table/src/dogroups.c:178:8: style: Local variable 'anyNA' shadows outer function [shadowFunction] data.table/src/data.table.h:324:6: note: Shadowed declaration data.table/src/dogroups.c:178:8: note: Shadow variable data.table/src/dogroups.c:312:11: style: Local variable 'n' shadows outer variable [shadowVariable] data.table/src/dogroups.c:121:37: note: Shadowed declaration data.table/src/dogroups.c:312:11: note: Shadow variable data.table/src/fmelt.c:8:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:18:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:50:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:76:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:110:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:121:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:147:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:165:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:180:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:209:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:223:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:323:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEXPTYPE [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:398:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:453:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:469:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:594:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:696:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:789:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] data.table/src/fifelse.c:114:15: style: Local variable 'na' shadows outer argument [shadowArgument] data.table/src/fifelse.c:9:44: note: Shadowed declaration data.table/src/fifelse.c:114:15: note: Shadow variable data.table/src/fifelse.c:129:15: style: Local variable 'na' shadows outer argument [shadowArgument] data.table/src/fifelse.c:9:44: note: Shadowed declaration data.table/src/fifelse.c:129:15: note: Shadow variable data.table/src/fifelse.c:144:18: style: Local variable 'na' shadows outer argument [shadowArgument] data.table/src/fifelse.c:9:44: note: Shadowed declaration data.table/src/fifelse.c:144:18: note: Shadow variable data.table/src/fifelse.c:158:16: style: Local variable 'na' shadows outer argument [shadowArgument] data.table/src/fifelse.c:9:44: note: Shadowed declaration data.table/src/fifelse.c:158:16: note: Shadow variable data.table/src/fifelse.c:174:20: style: Local variable 'na' shadows outer argument [shadowArgument] data.table/src/fifelse.c:9:44: note: Shadowed declaration data.table/src/fifelse.c:174:20: note: Shadow variable data.table/src/fifelse.c:218:30: style: Variable 'n_this_arg' is assigned a value that is never used. [unreadVariable] data.table/src/fifelse.c:226:46: style: Variable 'idefault' is assigned a value that is never used. [unreadVariable] data.table/src/frank.c:9:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/frank.c:120:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/frank.c:187:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:599:30: style:inconclusive: Boolean expression 'data->lvalues==1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] data.table/src/forder.c:166:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/forder.c:231:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] data.table/src/forder.c:264:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEXP [valueFlowBailoutIncompleteVar] data.table/src/forder.c:284:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEXP [valueFlowBailoutIncompleteVar] data.table/src/forder.c:299:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/forder.c:466:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/forder.c:1371:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/forder.c:1491:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] data.table/src/forder.c:1532:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/forder.c:1541:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/forder.c:1565:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/forder.c:1585:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/forder.c:1599:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/forder.c:1619:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/forder.c:1630:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/forder.c:1652:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:213:9: warning: Identical condition 'is_measure', second condition is always false [identicalConditionAfterEarlyExit] data.table/src/fmelt.c:211:21: note: If condition 'is_measure' is true, the function will return/exit data.table/src/fmelt.c:213:9: note: Testing identical condition 'is_measure' data.table/src/fmelt.c:385:71: style: Parameter 'factorType' can be declared as pointer to const [constParameterPointer] data.table/src/fmelt.c:450:53: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] data.table/src/freadR.c:89:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/freadR.c:229:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/freadR.c:257:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/freadR.c:448:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/freadR.c:551:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/freadR.c:595:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] data.table/src/fread.c:89:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] data.table/src/fread.c:158:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] data.table/src/fread.c:221:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/fread.c:427:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] data.table/src/fread.c:1326:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/freadR.c:630:20: portability: Casting between const char * and double * which have an incompatible binary data representation. [invalidPointerCast] data.table/src/freadR.c:254:27: style:inconclusive: Function 'userOverride' argument 1 names different: declaration 'types' definition 'type'. [funcArgNamesDifferent] data.table/src/fread.h:272:27: note: Function 'userOverride' argument 1 names different: declaration 'types' definition 'type'. data.table/src/freadR.c:254:27: note: Function 'userOverride' argument 1 names different: declaration 'types' definition 'type'. data.table/src/freadR.c:440:27: style:inconclusive: Function 'allocateDT' argument 1 names different: declaration 'types' definition 'typeArg'. [funcArgNamesDifferent] data.table/src/fread.h:318:27: note: Function 'allocateDT' argument 1 names different: declaration 'types' definition 'typeArg'. data.table/src/freadR.c:440:27: note: Function 'allocateDT' argument 1 names different: declaration 'types' definition 'typeArg'. data.table/src/freadR.c:440:44: style:inconclusive: Function 'allocateDT' argument 2 names different: declaration 'sizes' definition 'sizeArg'. [funcArgNamesDifferent] data.table/src/fread.h:318:42: note: Function 'allocateDT' argument 2 names different: declaration 'sizes' definition 'sizeArg'. data.table/src/freadR.c:440:44: note: Function 'allocateDT' argument 2 names different: declaration 'sizes' definition 'sizeArg'. data.table/src/freadR.c:440:57: style:inconclusive: Function 'allocateDT' argument 3 names different: declaration 'ncols' definition 'ncolArg'. [funcArgNamesDifferent] data.table/src/fread.h:318:53: note: Function 'allocateDT' argument 3 names different: declaration 'ncols' definition 'ncolArg'. data.table/src/freadR.c:440:57: note: Function 'allocateDT' argument 3 names different: declaration 'ncols' definition 'ncolArg'. data.table/src/freadR.c:440:84: style:inconclusive: Function 'allocateDT' argument 5 names different: declaration 'nrows' definition 'allocNrow'. [funcArgNamesDifferent] data.table/src/fread.h:319:26: note: Function 'allocateDT' argument 5 names different: declaration 'nrows' definition 'allocNrow'. data.table/src/freadR.c:440:84: note: Function 'allocateDT' argument 5 names different: declaration 'nrows' definition 'allocNrow'. data.table/src/freadR.c:532:26: style:inconclusive: Function 'setFinalNrow' argument 1 names different: declaration 'nrows' definition 'nrow'. [funcArgNamesDifferent] data.table/src/fread.h:365:26: note: Function 'setFinalNrow' argument 1 names different: declaration 'nrows' definition 'nrow'. data.table/src/freadR.c:532:26: note: Function 'setFinalNrow' argument 1 names different: declaration 'nrows' definition 'nrow'. data.table/src/freadR.c:547:39: style:inconclusive: Function 'dropFilledCols' argument 2 names different: declaration 'ndrop' definition 'ndelete'. [funcArgNamesDifferent] data.table/src/fread.h:371:39: note: Function 'dropFilledCols' argument 2 names different: declaration 'ndrop' definition 'ndelete'. data.table/src/freadR.c:547:39: note: Function 'dropFilledCols' argument 2 names different: declaration 'ndrop' definition 'ndelete'. data.table/src/freadR.c:665:19: style:inconclusive: Function 'progress' argument 1 names different: declaration 'percent' definition 'p'. [funcArgNamesDifferent] data.table/src/fread.h:382:19: note: Function 'progress' argument 1 names different: declaration 'percent' definition 'p'. data.table/src/freadR.c:665:19: note: Function 'progress' argument 1 names different: declaration 'percent' definition 'p'. data.table/src/freadR.c:665:26: style:inconclusive: Function 'progress' argument 2 names different: declaration 'ETA' definition 'eta'. [funcArgNamesDifferent] data.table/src/fread.h:382:43: note: Function 'progress' argument 2 names different: declaration 'ETA' definition 'eta'. data.table/src/freadR.c:665:26: note: Function 'progress' argument 2 names different: declaration 'ETA' definition 'eta'. data.table/src/freadR.c:537:15: style: Local variable 'ncol' shadows outer variable [shadowVariable] data.table/src/freadR.c:44:12: note: Shadowed declaration data.table/src/freadR.c:537:15: note: Shadow variable data.table/src/freadR.c:467:32: style: Variable 'rankD' can be declared as pointer to const [constVariablePointer] data.table/src/freadR.c:558:49: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] data.table/src/freadR.c:726:59: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] data.table/src/freadR.c:727:56: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] data.table/src/freadR.c:728:50: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] data.table/src/freadR.c:729:56: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] data.table/src/forder.c:1692:14: style: Expression is always true because 'else if' condition is opposite to previous condition at line 1684. [multiCondition] data.table/src/forder.c:1684:14: note: first condition data.table/src/forder.c:1692:14: note: else if condition is opposite to first condition data.table/src/forder.c:327:13: style: The statement 'if (!anynotascii) anynotascii=true' is logically equivalent to 'anynotascii=true'. [duplicateConditionalAssign] data.table/src/forder.c:328:22: note: Assignment 'anynotascii=true' data.table/src/forder.c:327:13: note: Condition '!anynotascii' is redundant data.table/src/forder.c:424:20: style: Assignment 'u.d=0' is redundant with condition 'u.d==0'. [duplicateConditionalAssign] data.table/src/forder.c:424:12: note: Condition 'u.d==0' data.table/src/forder.c:424:20: note: Assignment 'u.d=0' is redundant data.table/src/forder.c:134:5: error: Common realloc mistake: 'gs' nulled but not freed upon failure [memleakOnRealloc] data.table/src/forder.c:319:9: error: Common realloc mistake: 'ustr' nulled but not freed upon failure [memleakOnRealloc] data.table/src/forder.c:348:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ustr3 [nullPointerOutOfMemory] data.table/src/forder.c:345:33: note: Assuming allocation function fails data.table/src/forder.c:345:19: note: Assignment 'ustr3=(SEXP*)malloc(ustr_n*sizeof(SEXP))', assigned value is 0 data.table/src/forder.c:348:12: note: Null pointer dereference data.table/src/forder.c:352:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ustr3 [nullPointerOutOfMemory] data.table/src/forder.c:345:33: note: Assuming allocation function fails data.table/src/forder.c:345:19: note: Assignment 'ustr3=(SEXP*)malloc(ustr_n*sizeof(SEXP))', assigned value is 0 data.table/src/forder.c:352:16: note: Null pointer dereference data.table/src/forder.c:357:20: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ustr3 [nullPointerOutOfMemory] data.table/src/forder.c:345:33: note: Assuming allocation function fails data.table/src/forder.c:345:19: note: Assignment 'ustr3=(SEXP*)malloc(ustr_n*sizeof(SEXP))', assigned value is 0 data.table/src/forder.c:357:20: note: Null pointer dereference data.table/src/forder.c:368:34: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tl [nullPointerOutOfMemory] data.table/src/forder.c:364:28: note: Assuming allocation function fails data.table/src/forder.c:364:15: note: Assignment 'tl=(int*)malloc(ustr_n*sizeof(int))', assigned value is 0 data.table/src/forder.c:368:34: note: Null pointer dereference data.table/src/forder.c:370:58: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: tl [nullPointerOutOfMemory] data.table/src/forder.c:364:28: note: Assuming allocation function fails data.table/src/forder.c:364:15: note: Assignment 'tl=(int*)malloc(ustr_n*sizeof(int))', assigned value is 0 data.table/src/forder.c:370:58: note: Null pointer dereference data.table/src/forder.c:991:34: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: TMP [nullPointerOutOfMemory] data.table/src/forder.c:985:24: note: Assuming allocation function fails data.table/src/forder.c:985:24: note: Assignment 'TMP=malloc(my_n*sizeof(int))', assigned value is 0 data.table/src/forder.c:991:34: note: Null pointer dereference data.table/src/forder.c:992:42: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: TMP [nullPointerOutOfMemory] data.table/src/forder.c:985:24: note: Assuming allocation function fails data.table/src/forder.c:985:24: note: Assignment 'TMP=malloc(my_n*sizeof(int))', assigned value is 0 data.table/src/forder.c:992:42: note: Null pointer dereference data.table/src/forder.c:995:37: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: (uint8_t*)TMP [nullPointerOutOfMemory] data.table/src/forder.c:985:24: note: Assuming allocation function fails data.table/src/forder.c:985:24: note: Assignment 'TMP=malloc(my_n*sizeof(int))', assigned value is 0 data.table/src/forder.c:995:37: note: Null pointer dereference data.table/src/forder.c:1011:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: my_gs [nullPointerOutOfMemory] data.table/src/forder.c:1008:24: note: Assuming allocation function fails data.table/src/forder.c:1008:24: note: Assignment 'my_gs=malloc(my_n*sizeof(int))', assigned value is 0 data.table/src/forder.c:1011:5: note: Null pointer dereference data.table/src/forder.c:1274:23: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: TMP [nullPointerOutOfMemory] data.table/src/forder.c:1258:22: note: Assuming allocation function fails data.table/src/forder.c:1258:22: note: Assignment 'TMP=malloc(my_n*sizeof(int))', assigned value is 0 data.table/src/forder.c:1274:23: note: Null pointer dereference data.table/src/forder.c:1300:30: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: my_gs [nullPointerOutOfMemory] data.table/src/forder.c:1297:22: note: Assuming allocation function fails data.table/src/forder.c:1297:22: note: Assignment 'my_gs=malloc(ngrp*sizeof(int))', assigned value is 0 data.table/src/forder.c:1300:30: note: Null pointer dereference data.table/src/forder.c:1301:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: my_gs [nullPointerOutOfMemory] data.table/src/forder.c:1297:22: note: Assuming allocation function fails data.table/src/forder.c:1297:22: note: Assignment 'my_gs=malloc(ngrp*sizeof(int))', assigned value is 0 data.table/src/forder.c:1301:3: note: Null pointer dereference data.table/src/forder.c:1246:28: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/forder.c:1241:23: note: Assuming allocation function fails data.table/src/forder.c:1241:23: note: Assignment 'starts=calloc(nBatch*256,sizeof(int))', assigned value is 0 data.table/src/forder.c:1246:28: note: Null pointer addition data.table/src/forder.c:1270:19: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/forder.c:1258:22: note: Assuming allocation function fails data.table/src/forder.c:1258:22: note: Assignment 'TMP=malloc(my_n*sizeof(int))', assigned value is 0 data.table/src/forder.c:1270:19: note: Null pointer addition data.table/src/forder.c:1459:27: portability: Casting between const char * and const double * which have an incompatible binary data representation. [invalidPointerCast] data.table/src/froll.c:23:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/froll.c:57:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] data.table/src/froll.c:146:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] data.table/src/froll.c:232:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/froll.c:260:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] data.table/src/froll.c:344:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] data.table/src/froll.c:416:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/fread.c:762:20: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] data.table/src/fread.c:914:22: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] data.table/src/fread.c:926:15: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] data.table/src/forder.c:985:12: style: Local variable 'TMP' shadows outer variable [shadowVariable] data.table/src/forder.c:43:13: note: Shadowed declaration data.table/src/forder.c:985:12: note: Shadow variable data.table/src/forder.c:1160:17: style: Local variable 'my_n' shadows outer variable [shadowVariable] data.table/src/forder.c:898:13: note: Shadowed declaration data.table/src/forder.c:1160:17: note: Shadow variable data.table/src/forder.c:1258:10: style: Local variable 'TMP' shadows outer variable [shadowVariable] data.table/src/forder.c:43:13: note: Shadowed declaration data.table/src/forder.c:1258:10: note: Shadow variable data.table/src/forder.c:1418:18: style: Local variable 'nrow' shadows outer variable [shadowVariable] data.table/src/forder.c:36:12: note: Shadowed declaration data.table/src/forder.c:1418:18: note: Shadow variable data.table/src/forder.c:1493:13: style: Local variable 'nrow' shadows outer variable [shadowVariable] data.table/src/forder.c:36:12: note: Shadowed declaration data.table/src/forder.c:1493:13: note: Shadow variable data.table/src/forder.c:1544:8: style: Local variable 'key' shadows outer variable [shadowVariable] data.table/src/forder.c:55:18: note: Shadowed declaration data.table/src/forder.c:1544:8: note: Shadow variable data.table/src/forder.c:185:32: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] data.table/src/forder.c:713:16: style: Variable 'xd' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:728:18: style: Variable 'xd' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:834:10: style: Variable 'final_gs' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:1384:12: style: Variable 'xd' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:1389:18: style: Variable 'xd' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:1392:17: style: Variable 'xd' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:1513:13: style: Variable 'xd' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:1533:8: style: Variable 'xp' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:1551:8: style: Variable 'keynamesp' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:1551:40: style: Variable 'colsp' can be declared as pointer to const [constVariablePointer] data.table/src/fread.c:2732:7: style: The if condition is the same as the previous if condition [duplicateCondition] data.table/src/fread.c:2726:7: note: First condition data.table/src/fread.c:2732:7: note: Second condition data.table/src/fread.c:833:14: style: Condition 'ch[0]=='i'' is always false [knownConditionTrueFalse] data.table/src/fread.c:832:12: note: Assuming that condition 'ch[0]=='I'' is not redundant data.table/src/fread.c:833:14: note: Condition 'ch[0]=='i'' is always false data.table/src/fread.c:933:27: style: Condition 'E<1' is always false [knownConditionTrueFalse] data.table/src/fread.c:932:31: note: Assignment 'E=1023+(Eneg?-E:E)-subnormal', assigned value is greater than 1021 data.table/src/fread.c:933:27: note: Condition 'E<1' is always false data.table/src/fread.c:2046:7: error: Common realloc mistake: 'type' nulled but not freed upon failure [memleakOnRealloc] data.table/src/fread.c:2047:7: error: Common realloc mistake: 'tmpType' nulled but not freed upon failure [memleakOnRealloc] data.table/src/fread.c:2526:21: error: Common realloc mistake: 'typeBumpMsg' nulled but not freed upon failure [memleakOnRealloc] data.table/src/fread.c:935:7: portability: Casting from double * to unsigned long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/frollR.c:9:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/frollR.c:40:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/frollR.c:218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/fread.c:1633:7: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] data.table/src/fread.c:1650:12: style: Variable 'pos' is reassigned a value before the old one has been used. [redundantAssignment] data.table/src/fread.c:1637:9: note: pos is assigned data.table/src/fread.c:1650:12: note: pos is overwritten data.table/src/fread.c:2001:6: style: Variable 'ch' is reassigned a value before the old one has been used. [redundantAssignment] data.table/src/fread.c:1830:6: note: ch is assigned data.table/src/fread.c:2001:6: note: ch is overwritten data.table/src/fread.c:2102:13: style: Variable 'estnrow' is reassigned a value before the old one has been used. [redundantAssignment] data.table/src/fread.c:2095:10: note: estnrow is assigned data.table/src/fread.c:2102:13: note: estnrow is overwritten data.table/src/fread.c:1297:29: style:inconclusive: Function 'freadMain' argument 1 names different: declaration 'args' definition '_args'. [funcArgNamesDifferent] data.table/src/fread.h:235:29: note: Function 'freadMain' argument 1 names different: declaration 'args' definition '_args'. data.table/src/fread.c:1297:29: note: Function 'freadMain' argument 1 names different: declaration 'args' definition '_args'. data.table/src/froll.c:42:13: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/froll.c:42:33: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/froll.c:250:13: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/froll.c:250:33: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/froll.c:466:13: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/froll.c:466:33: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/fread.c:414:15: style: Variable 'suffixes' can be declared as const array [constVariable] data.table/src/froll.c:69:21: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/froll.c:61:9: note: Shadowed declaration data.table/src/froll.c:69:21: note: Shadow variable data.table/src/froll.c:118:19: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/froll.c:97:9: note: Shadowed declaration data.table/src/froll.c:118:19: note: Shadow variable data.table/src/froll.c:272:21: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/froll.c:264:9: note: Shadowed declaration data.table/src/froll.c:272:21: note: Shadow variable data.table/src/froll.c:321:19: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/froll.c:300:9: note: Shadowed declaration data.table/src/froll.c:321:19: note: Shadow variable data.table/src/froll.c:413:25: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] data.table/src/fread.c:125:23: style: union member 'Anonymous0::a' is never used. [unusedStructMember] data.table/src/fread.c:315:17: style: Variable 'trash' is not assigned a value. [unassignedVariable] data.table/src/fread.c:2554:75: style: Variable 'tLast' is assigned a value that is never used. [unreadVariable] data.table/src/frollR.c:25:94: style:inconclusive: Function 'frollfunR' argument 8 names different: declaration 'hasNA' definition 'hasna'. [funcArgNamesDifferent] data.table/src/data.table.h:230:94: note: Function 'frollfunR' argument 8 names different: declaration 'hasNA' definition 'hasna'. data.table/src/frollR.c:25:94: note: Function 'frollfunR' argument 8 names different: declaration 'hasNA' definition 'hasna'. data.table/src/frollR.c:167:8: style: Variable 'iik' can be declared as pointer to const [constVariablePointer] data.table/src/frolladaptive.c:19:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/frolladaptive.c:29:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] data.table/src/frolladaptive.c:114:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] data.table/src/frolladaptive.c:214:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/frolladaptive.c:218:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] data.table/src/frolladaptive.c:298:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] data.table/src/fsort.c:118:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/frolladaptive.c:92:24: style: Condition 'i+1>k[i]' is always true [knownConditionTrueFalse] data.table/src/frolladaptive.c:90:17: note: Assuming that condition 'i+1==k[i]' is not redundant data.table/src/frolladaptive.c:92:24: note: Condition 'i+1>k[i]' is always true data.table/src/frolladaptive.c:98:22: style: Condition 'i+1>k[i]' is always true [knownConditionTrueFalse] data.table/src/frolladaptive.c:95:22: note: Assuming that condition 'i+1==k[i]' is not redundant data.table/src/frolladaptive.c:98:22: note: Condition 'i+1>k[i]' is always true data.table/src/frolladaptive.c:281:24: style: Condition 'i+1>k[i]' is always true [knownConditionTrueFalse] data.table/src/frolladaptive.c:279:17: note: Assuming that condition 'i+1==k[i]' is not redundant data.table/src/frolladaptive.c:281:24: note: Condition 'i+1>k[i]' is always true data.table/src/frolladaptive.c:287:22: style: Condition 'i+1>k[i]' is always true [knownConditionTrueFalse] data.table/src/frolladaptive.c:284:22: note: Assuming that condition 'i+1==k[i]' is not redundant data.table/src/frolladaptive.c:287:22: note: Condition 'i+1>k[i]' is always true data.table/src/frolladaptive.c:27:69: style: Parameter 'k' can be declared as pointer to const [constParameterPointer] data.table/src/frolladaptive.c:112:70: style: Parameter 'k' can be declared as pointer to const [constParameterPointer] data.table/src/frolladaptive.c:216:68: style: Parameter 'k' can be declared as pointer to const [constParameterPointer] data.table/src/frolladaptive.c:296:69: style: Parameter 'k' can be declared as pointer to const [constParameterPointer] data.table/src/fsort.c:34:14: portability: Casting from const double * to unsigned long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/fsort.c:37:16: portability: Casting from const double * to unsigned long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/fsort.c:57:19: portability: Casting from const double * to unsigned long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/fsort.c:204:36: portability: Casting from const double * to unsigned long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/fsort.c:225:31: portability: Casting from double * to unsigned long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/fsort.c:229:39: portability: Casting from const double * to unsigned long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/fsort.c:154:12: style:inconclusive: Same expression used in consecutive assignments of 'myMin' and 'myMax'. [duplicateAssignExpression] data.table/src/fsort.c:154:22: note: Same expression used in consecutive assignments of 'myMin' and 'myMax'. data.table/src/fsort.c:154:12: note: Same expression used in consecutive assignments of 'myMin' and 'myMax'. data.table/src/fwrite.c:653:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] data.table/src/fsort.c:48:14: style: Local variable 'tmp' shadows outer variable [shadowVariable] data.table/src/fsort.c:32:17: note: Shadowed declaration data.table/src/fsort.c:48:14: note: Shadow variable data.table/src/fsort.c:187:7: style: Local variable 'shift' shadows outer function [shadowFunction] data.table/src/data.table.h:322:6: note: Shadowed declaration data.table/src/fsort.c:187:7: note: Shadow variable data.table/src/fsort.c:101:51: style: Parameter 'msbCounts' can be declared as pointer to const [constParameterPointer] data.table/src/fsort.c:101:67: style: Parameter 'order' can be declared as pointer to const [constParameterPointer] data.table/src/fwriteR.c:24:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] data.table/src/fwriteR.c:45:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_LevelsSymbol [valueFlowBailoutIncompleteVar] data.table/src/fwriteR.c:53:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/fwriteR.c:79:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/fwriteR.c:102:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/fwriteR.c:189:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/fwriteR.c:85:27: warning: Either the condition 'wf==-2147483648' is redundant or the array 'funs[0]' is accessed at index -2147483648, which is out of bounds. [negativeIndex] data.table/src/fwriteR.c:79:30: note: Assuming that condition 'wf==-2147483648' is not redundant data.table/src/fwriteR.c:85:27: note: Negative array index data.table/src/fwriteR.c:106:29: warning: Either the condition 'wf==-2147483648' is redundant or the array 'writerMaxLen[15]' is accessed at index -2147483648, which is out of bounds. [negativeIndex] data.table/src/fwriteR.c:102:35: note: Assuming that condition 'wf==-2147483648' is not redundant data.table/src/fwriteR.c:106:29: note: Negative array index data.table/src/fwriteR.c:207:16: style: Local variable 'j' shadows outer variable [shadowVariable] data.table/src/fwriteR.c:197:9: note: Shadowed declaration data.table/src/fwriteR.c:207:16: note: Shadow variable data.table/src/idatetime.c:19:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/idatetime.c:130:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/ijoin.c:22:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/ijoin.c:243:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:48:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENVSXP [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:241:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:350:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:586:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:732:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:869:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:929:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:1004:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:1010:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:1016:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:1024:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:1108:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:1112:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] data.table/src/fwrite.c:1003:25: style: Condition '!failed' is always true [knownConditionTrueFalse] data.table/src/fwrite.c:965:9: note: Assuming that condition 'failed' is not redundant data.table/src/fwrite.c:1003:25: note: Condition '!failed' is always true data.table/src/gsumm.c:1116:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:1198:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/fwrite.c:614:3: style:inconclusive: Same expression used in consecutive assignments of 'doQuote' and 'quoteHeaders'. [duplicateAssignExpression] data.table/src/fwrite.c:615:10: note: Same expression used in consecutive assignments of 'doQuote' and 'quoteHeaders'. data.table/src/fwrite.c:614:3: note: Same expression used in consecutive assignments of 'doQuote' and 'quoteHeaders'. data.table/src/fwrite.c:1064:19: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] data.table/src/fwrite.c:1119:13: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] data.table/src/fwrite.c:54:37: style:inconclusive: Function 'write_chars' argument 1 names different: declaration 'source' definition 'x'. [funcArgNamesDifferent] data.table/src/fwrite.h:35:30: note: Function 'write_chars' argument 1 names different: declaration 'source' definition 'x'. data.table/src/fwrite.c:54:37: note: Function 'write_chars' argument 1 names different: declaration 'source' definition 'x'. data.table/src/fwrite.c:54:47: style:inconclusive: Function 'write_chars' argument 2 names different: declaration 'dest' definition 'pch'. [funcArgNamesDifferent] data.table/src/fwrite.h:35:45: note: Function 'write_chars' argument 2 names different: declaration 'dest' definition 'pch'. data.table/src/fwrite.c:54:47: note: Function 'write_chars' argument 2 names different: declaration 'dest' definition 'pch'. data.table/src/fwrite.c:280:18: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/fwrite.c:215:9: note: Shadowed declaration data.table/src/fwrite.c:280:18: note: Shadow variable data.table/src/fwrite.c:881:15: style: Variable 'header' can be declared as pointer to const [constVariablePointer] data.table/src/fwrite.c:385:26: style: Variable 'md' is assigned a value that is never used. [unreadVariable] data.table/src/fwrite.c:391:24: style: Variable 'y' is assigned a value that is never used. [unreadVariable] data.table/src/init.c:167:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/init.c:191:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_FUNC [valueFlowBailoutIncompleteVar] data.table/src/init.c:382:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/init.c:423:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/init.c:255:33: style: Condition '(uint_fast8_t)('0'-'/')!=1' is always false [knownConditionTrueFalse] data.table/src/init.c:257:33: style: Condition '(uint_fast8_t)('/'-'0')<10' is always true [knownConditionTrueFalse] data.table/src/init.c:259:33: style: Condition '(uint_fast8_t)(':'-'9')!=1' is always false [knownConditionTrueFalse] data.table/src/init.c:261:33: style: Condition '(uint_fast8_t)('9'-':')<10' is always true [knownConditionTrueFalse] data.table/src/inrange.c:35:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/nafill.c:43:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/nafill.c:51:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/nafill.c:87:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/nafill.c:107:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/nafill.c:124:8: style: Variable 'icols' can be declared as pointer to const [constVariablePointer] data.table/src/negate.c:4:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/ijoin.c:232:8: style: Local variable 'lookup' shadows outer function [shadowFunction] data.table/src/data.table.h:319:6: note: Shadowed declaration data.table/src/ijoin.c:232:8: note: Shadow variable data.table/src/ijoin.c:13:8: style: Variable 'from' can be declared as pointer to const [constVariablePointer] data.table/src/ijoin.c:14:8: style: Variable 'to' can be declared as pointer to const [constVariablePointer] data.table/src/ijoin.c:229:8: style: Variable 'to' can be declared as pointer to const [constVariablePointer] data.table/src/ijoin.c:230:8: style: Variable 'count' can be declared as pointer to const [constVariablePointer] data.table/src/ijoin.c:373:18: style: Variable 'tmp2' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:506:29: style: Variable 'j' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:506:34: style: Variable 'm' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:559:29: style: Variable 'j' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:559:34: style: Variable 'm' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:621:29: style: Variable 'j' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:621:34: style: Variable 'm' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:708:29: style: Variable 'j' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:708:34: style: Variable 'm' is assigned a value that is never used. [unreadVariable] data.table/src/nqrecreateindices.c:9:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/programming.c:6:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NamesSymbol [valueFlowBailoutIncompleteVar] data.table/src/openmp-utils.c:19:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] data.table/src/openmp-utils.c:78:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/openmp-utils.c:107:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/programming.c:9:10: style: Variable 'imatches' can be declared as pointer to const [constVariablePointer] data.table/src/openmp-utils.c:18:9: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:266:7: note: Shadowed declaration data.table/src/openmp-utils.c:18:9: note: Shadow variable data.table/src/quickselect.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] data.table/src/quickselect.c:64:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] data.table/src/quickselect.c:69:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] data.table/src/reorder.c:33:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/reorder.c:116:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NamesSymbol [valueFlowBailoutIncompleteVar] data.table/src/rbindlist.c:7:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/reorder.c:84:30: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] data.table/src/reorder.c:52:13: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:266:7: note: Shadowed declaration data.table/src/reorder.c:52:13: note: Shadow variable data.table/src/reorder.c:56:12: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/reorder.c:46:7: note: Shadowed declaration data.table/src/reorder.c:56:12: note: Shadow variable data.table/src/reorder.c:68:12: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/reorder.c:46:7: note: Shadowed declaration data.table/src/reorder.c:68:12: note: Shadow variable data.table/src/reorder.c:75:16: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/reorder.c:68:12: note: Shadowed declaration data.table/src/reorder.c:75:16: note: Shadow variable data.table/src/reorder.c:86:16: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/reorder.c:68:12: note: Shadowed declaration data.table/src/reorder.c:86:16: note: Shadow variable data.table/src/reorder.c:93:16: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/reorder.c:68:12: note: Shadowed declaration data.table/src/reorder.c:93:16: note: Shadow variable data.table/src/reorder.c:100:16: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/reorder.c:68:12: note: Shadowed declaration data.table/src/reorder.c:100:16: note: Shadow variable data.table/src/rbindlist.c:95:18: error: Common realloc mistake: 'uniq' nulled but not freed upon failure [memleakOnRealloc] data.table/src/shift.c:11:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_DimSymbol [valueFlowBailoutIncompleteVar] data.table/src/rbindlist.c:453:26: style: Local variable 'k' shadows outer variable [shadowVariable] data.table/src/rbindlist.c:438:20: note: Shadowed declaration data.table/src/rbindlist.c:453:26: note: Shadow variable data.table/src/snprintf.c:247:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:94:28: style: Condition 'batchSize<1' is always false [knownConditionTrueFalse] data.table/src/gsumm.c:89:15: note: Assignment 'batchSize=(1>((nrow-1)/nBatch))?(1):((nrow-1)/nBatch)', assigned value is greater than 0 data.table/src/gsumm.c:94:28: note: Condition 'batchSize<1' is always false data.table/src/gsumm.c:1130:30: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] data.table/src/gsumm.c:1127:26: note: Assuming allocation function fails data.table/src/gsumm.c:1127:26: note: Assignment 's=malloc(ngrp*sizeof(long double))', assigned value is 0 data.table/src/gsumm.c:1130:30: note: Null pointer dereference data.table/src/gsumm.c:130:40: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/gsumm.c:120:25: note: Assuming allocation function fails data.table/src/gsumm.c:120:25: note: Assignment 'counts=calloc(nBatch*highSize,sizeof(int))', assigned value is 0 data.table/src/gsumm.c:130:40: note: Null pointer addition data.table/src/gsumm.c:634:43: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/gsumm.c:628:40: note: Assuming allocation function fails data.table/src/gsumm.c:628:40: note: Assignment 'nna_counts=calloc(ngrp,sizeof(int))', assigned value is 0 data.table/src/gsumm.c:634:43: note: Null pointer addition data.table/src/gsumm.c:692:45: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/gsumm.c:681:42: note: Assuming allocation function fails data.table/src/gsumm.c:681:42: note: Assignment 'nna_counts_r=calloc(ngrp,sizeof(int))', assigned value is 0 data.table/src/gsumm.c:692:45: note: Null pointer addition data.table/src/gsumm.c:261:34: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] data.table/src/snprintf.c:46:17: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:266:7: note: Shadowed declaration data.table/src/snprintf.c:46:17: note: Shadow variable data.table/src/snprintf.c:163:17: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:266:7: note: Shadowed declaration data.table/src/snprintf.c:163:17: note: Shadow variable data.table/src/snprintf.c:52:16: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] data.table/src/gsumm.c:89:15: warning: Either the condition 'nBatch<1' is redundant or there is division by zero at line 89. [zerodivcond] data.table/src/gsumm.c:94:13: note: Assuming that condition 'nBatch<1' is not redundant data.table/src/gsumm.c:89:15: note: Division by zero data.table/src/gsumm.c:116:9: style: Local variable 'nb' shadows outer variable [shadowVariable] data.table/src/gsumm.c:78:7: note: Shadowed declaration data.table/src/gsumm.c:116:9: note: Shadow variable data.table/src/gsumm.c:117:9: style: Local variable 'bitshift' shadows outer variable [shadowVariable] data.table/src/gsumm.c:12:12: note: Shadowed declaration data.table/src/gsumm.c:117:9: note: Shadow variable data.table/src/gsumm.c:118:9: style: Local variable 'highSize' shadows outer variable [shadowVariable] data.table/src/gsumm.c:11:15: note: Shadowed declaration data.table/src/gsumm.c:118:9: note: Shadow variable data.table/src/gsumm.c:120:10: style: Local variable 'counts' shadows outer variable [shadowVariable] data.table/src/gsumm.c:16:13: note: Shadowed declaration data.table/src/gsumm.c:120:10: note: Shadow variable data.table/src/gsumm.c:154:19: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:266:7: note: Shadowed declaration data.table/src/gsumm.c:154:19: note: Shadow variable data.table/src/gsumm.c:360:8: style: Local variable 'anyNA' shadows outer function [shadowFunction] data.table/src/data.table.h:324:6: note: Shadowed declaration data.table/src/gsumm.c:360:8: note: Shadow variable data.table/src/gsumm.c:364:25: style: Local variable 'gx' shadows outer variable [shadowVariable] data.table/src/gsumm.c:13:14: note: Shadowed declaration data.table/src/gsumm.c:364:25: note: Shadow variable data.table/src/gsumm.c:381:23: style: Local variable 'b' shadows outer variable [shadowVariable] data.table/src/gsumm.c:374:18: note: Shadowed declaration data.table/src/gsumm.c:381:23: note: Shadow variable data.table/src/gsumm.c:399:23: style: Local variable 'b' shadows outer variable [shadowVariable] data.table/src/gsumm.c:391:18: note: Shadowed declaration data.table/src/gsumm.c:399:23: note: Shadow variable data.table/src/gsumm.c:415:24: style: Local variable 'ansp' shadows outer variable [shadowVariable] data.table/src/gsumm.c:366:19: note: Shadowed declaration data.table/src/gsumm.c:415:24: note: Shadow variable data.table/src/gsumm.c:440:30: style: Local variable 'gx' shadows outer variable [shadowVariable] data.table/src/gsumm.c:13:14: note: Shadowed declaration data.table/src/gsumm.c:440:30: note: Shadow variable data.table/src/gsumm.c:476:31: style: Local variable 'gx' shadows outer variable [shadowVariable] data.table/src/gsumm.c:13:14: note: Shadowed declaration data.table/src/gsumm.c:476:31: note: Shadow variable data.table/src/gsumm.c:535:30: style: Local variable 'gx' shadows outer variable [shadowVariable] data.table/src/gsumm.c:13:14: note: Shadowed declaration data.table/src/gsumm.c:535:30: note: Shadow variable data.table/src/gsumm.c:594:8: style: Local variable 'anyNA' shadows outer function [shadowFunction] data.table/src/data.table.h:324:6: note: Shadowed declaration data.table/src/gsumm.c:594:8: note: Shadow variable data.table/src/gsumm.c:606:28: style: Local variable 'gx' shadows outer variable [shadowVariable] data.table/src/gsumm.c:13:14: note: Shadowed declaration data.table/src/gsumm.c:606:28: note: Shadow variable data.table/src/gsumm.c:655:30: style: Local variable 'gx' shadows outer variable [shadowVariable] data.table/src/gsumm.c:13:14: note: Shadowed declaration data.table/src/gsumm.c:655:30: note: Shadow variable data.table/src/gsumm.c:926:14: style: Local variable 'issorted' shadows outer function [shadowFunction] data.table/src/data.table.h:307:6: note: Shadowed declaration data.table/src/gsumm.c:926:14: note: Shadow variable data.table/src/gsumm.c:1196:14: style: Local variable 'issorted' shadows outer function [shadowFunction] data.table/src/data.table.h:307:6: note: Shadowed declaration data.table/src/gsumm.c:1196:14: note: Shadow variable data.table/src/gsumm.c:883:14: style: Variable 'xi64' can be declared as pointer to const [constVariablePointer] data.table/src/gsumm.c:900:10: style: Variable 'xi' can be declared as pointer to const [constVariablePointer] data.table/src/gsumm.c:209:85: style: Variable 'started' is assigned a value that is never used. [unreadVariable] data.table/src/subset.c:7:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/subset.c:110:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/subset.c:136:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/subset.c:257:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NamesSymbol [valueFlowBailoutIncompleteVar] data.table/src/subset.c:280:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/subset.c:370:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/transpose.c:12:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/types.c:34:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/types.c:63:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/types.c:7:17: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] data.table/src/uniqlist.c:14:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/uniqlist.c:151:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/uniqlist.c:169:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/uniqlist.c:258:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/uniqlist.c:353:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/subset.c:111:23: style: Local variable 'anyNA' shadows outer function [shadowFunction] data.table/src/data.table.h:324:6: note: Shadowed declaration data.table/src/subset.c:111:23: note: Shadow variable data.table/src/subset.c:285:8: style: Local variable 'anyNA' shadows outer function [shadowFunction] data.table/src/data.table.h:324:6: note: Shadowed declaration data.table/src/subset.c:285:8: note: Shadow variable data.table/src/subset.c:367:8: style: Local variable 'anyNA' shadows outer function [shadowFunction] data.table/src/data.table.h:324:6: note: Shadowed declaration data.table/src/subset.c:367:8: note: Shadow variable data.table/src/subset.c:113:8: style: Variable 'idxp' can be declared as pointer to const [constVariablePointer] data.table/src/utils.c:62:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/utils.c:116:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/utils.c:180:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_ClassSymbol [valueFlowBailoutIncompleteVar] data.table/src/utils.c:217:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/utils.c:312:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] data.table/src/utils.c:316:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/utils.c:331:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] data.table/src/utils.c:341:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRSXP [valueFlowBailoutIncompleteVar] data.table/src/utils.c:352:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_ClassSymbol [valueFlowBailoutIncompleteVar] data.table/src/utils.c:384:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_DimSymbol [valueFlowBailoutIncompleteVar] data.table/src/utils.c:412:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZLIB_VERSION [valueFlowBailoutIncompleteVar] data.table/src/utils.c:430:130: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/vecseq.c:30:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/utils.c:311:16: style:inconclusive: Function 'lock' argument 1 names different: declaration 'x' definition 'DT'. [funcArgNamesDifferent] data.table/src/data.table.h:256:16: note: Function 'lock' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:311:16: note: Function 'lock' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:315:18: style:inconclusive: Function 'unlock' argument 1 names different: declaration 'x' definition 'DT'. [funcArgNamesDifferent] data.table/src/data.table.h:257:18: note: Function 'unlock' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:315:18: note: Function 'unlock' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:319:20: style:inconclusive: Function 'islocked' argument 1 names different: declaration 'x' definition 'DT'. [funcArgNamesDifferent] data.table/src/data.table.h:258:20: note: Function 'islocked' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:319:20: note: Function 'islocked' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:323:21: style:inconclusive: Function 'islockedR' argument 1 names different: declaration 'x' definition 'DT'. [funcArgNamesDifferent] data.table/src/data.table.h:259:21: note: Function 'islockedR' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:323:21: note: Function 'islockedR' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:264:8: style: Local variable 'savetl' shadows outer function [shadowFunction] data.table/src/data.table.h:138:25: note: Shadowed declaration data.table/src/utils.c:264:8: note: Shadow variable data.table/src/utils.c:154:10: style: Variable 'icols' can be declared as pointer to const [constVariablePointer] data.table/src/wrappers.c:19:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] data.table/src/wrappers.c:45:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRSXP [valueFlowBailoutIncompleteVar] data.table/src/wrappers.c:65:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/wrappers.c:76:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/wrappers.c:99:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/wrappers.c:113:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/wrappers.c:133:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/wrappers.c:50:8: style: Variable 'inewx' can be declared as pointer to const [constVariablePointer] data.table/src/uniqlist.c:317:25: portability: Casting from double * to signed long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/uniqlist.c:317:51: portability: Casting from double * to signed long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/uniqlist.c:54:10: style: Local variable 'v' shadows outer variable [shadowVariable] data.table/src/uniqlist.c:23:8: note: Shadowed declaration data.table/src/uniqlist.c:54:10: note: Shadow variable data.table/src/uniqlist.c:22:23: style: Variable 'ulv' can be declared as pointer to const [constVariablePointer] data.table/src/uniqlist.c:55:10: style: Variable 'o' can be declared as pointer to const [constVariablePointer] data.table/src/uniqlist.c:171:8: style: Variable 'icols' can be declared as pointer to const [constVariablePointer] data.table/src/uniqlist.c:201:22: style: Variable 'll' can be declared as pointer to const [constVariablePointer] data.table/src/uniqlist.c:207:21: style: Variable 'pz' can be declared as pointer to const [constVariablePointer] data.table/src/uniqlist.c:220:12: style: Variable 'ijcol' can be declared as pointer to const [constVariablePointer] data.table/src/uniqlist.c:234:18: style: Variable 'lljcol' can be declared as pointer to const [constVariablePointer] data.table/src/uniqlist.c:241:17: style: Variable 'pzjcol' can be declared as pointer to const [constVariablePointer] data.table/src/uniqlist.c:279:30: style: Variable 'igrps' can be declared as pointer to const [constVariablePointer] diff: 2.17.0 data.table/src/assign.c:654:17: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/assign.c:649:32: note: Assuming allocation function fails data.table/src/assign.c:649:18: note: Assignment 's4=(char*)malloc(strlen(c1)+3)', assigned value is 0 data.table/src/assign.c:654:17: note: Null pointer addition head data.table/src/assign.c:654:17: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/assign.c:649:32: note: Assuming allocation function fails data.table/src/assign.c:649:18: note: Assignment 's4=(char*)malloc(strlen(c1)+3)', assigned value is 0 data.table/src/assign.c:654:17: note: Null pointer addition 2.17.0 data.table/src/assign.c:665:19: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/assign.c:659:34: note: Assuming allocation function fails data.table/src/assign.c:659:20: note: Assignment 's5=(char*)malloc(strlen(tc2)+5)', assigned value is 0 data.table/src/assign.c:665:19: note: Null pointer addition head data.table/src/assign.c:665:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/assign.c:659:34: note: Assuming allocation function fails data.table/src/assign.c:659:20: note: Assignment 's5=(char*)malloc(strlen(tc2)+5)', assigned value is 0 data.table/src/assign.c:665:19: note: Null pointer addition head data.table/src/chmatch.c:110:60: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: counts [nullPointerOutOfMemory] data.table/src/chmatch.c:99:32: note: Assuming allocation function fails data.table/src/chmatch.c:99:19: note: Assignment 'counts=(int*)calloc(nuniq,sizeof(int))', assigned value is 0 data.table/src/chmatch.c:110:60: note: Null pointer dereference 2.17.0 data.table/src/forder.c:1246:28: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/forder.c:1241:23: note: Assuming allocation function fails data.table/src/forder.c:1241:23: note: Assignment 'starts=calloc(nBatch*256,sizeof(int))', assigned value is 0 data.table/src/forder.c:1246:28: note: Null pointer addition head data.table/src/forder.c:1246:28: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/forder.c:1241:23: note: Assuming allocation function fails data.table/src/forder.c:1241:23: note: Assignment 'starts=calloc(nBatch*256,sizeof(int))', assigned value is 0 data.table/src/forder.c:1246:28: note: Null pointer addition 2.17.0 data.table/src/forder.c:1270:19: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/forder.c:1258:22: note: Assuming allocation function fails data.table/src/forder.c:1258:22: note: Assignment 'TMP=malloc(my_n*sizeof(int))', assigned value is 0 data.table/src/forder.c:1270:19: note: Null pointer addition head data.table/src/forder.c:1270:19: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/forder.c:1258:22: note: Assuming allocation function fails data.table/src/forder.c:1258:22: note: Assignment 'TMP=malloc(my_n*sizeof(int))', assigned value is 0 data.table/src/forder.c:1270:19: note: Null pointer addition head data.table/src/froll.c:250:33: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head data.table/src/froll.c:42:33: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] head data.table/src/froll.c:466:33: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] 2.17.0 data.table/src/gsumm.c:130:40: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/gsumm.c:120:25: note: Assuming allocation function fails data.table/src/gsumm.c:120:25: note: Assignment 'counts=calloc(nBatch*highSize,sizeof(int))', assigned value is 0 data.table/src/gsumm.c:130:40: note: Null pointer addition head data.table/src/gsumm.c:130:40: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/gsumm.c:120:25: note: Assuming allocation function fails data.table/src/gsumm.c:120:25: note: Assignment 'counts=calloc(nBatch*highSize,sizeof(int))', assigned value is 0 data.table/src/gsumm.c:130:40: note: Null pointer addition 2.17.0 data.table/src/gsumm.c:634:43: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/gsumm.c:628:40: note: Assuming allocation function fails data.table/src/gsumm.c:628:40: note: Assignment 'nna_counts=calloc(ngrp,sizeof(int))', assigned value is 0 data.table/src/gsumm.c:634:43: note: Null pointer addition head data.table/src/gsumm.c:634:43: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/gsumm.c:628:40: note: Assuming allocation function fails data.table/src/gsumm.c:628:40: note: Assignment 'nna_counts=calloc(ngrp,sizeof(int))', assigned value is 0 data.table/src/gsumm.c:634:43: note: Null pointer addition 2.17.0 data.table/src/gsumm.c:692:45: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/gsumm.c:681:42: note: Assuming allocation function fails data.table/src/gsumm.c:681:42: note: Assignment 'nna_counts_r=calloc(ngrp,sizeof(int))', assigned value is 0 data.table/src/gsumm.c:692:45: note: Null pointer addition head data.table/src/gsumm.c:692:45: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] data.table/src/gsumm.c:681:42: note: Assuming allocation function fails data.table/src/gsumm.c:681:42: note: Assignment 'nna_counts_r=calloc(ngrp,sizeof(int))', assigned value is 0 data.table/src/gsumm.c:692:45: note: Null pointer addition head data.table/src/uniqlist.c:317:51: portability: Casting from double * to signed long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] DONE