2024-04-21 17:24 ftp://ftp.de.debian.org/debian/pool/main/r/r-cran-data.table/r-cran-data.table_1.14.10+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 -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-20-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.14.0 head-info: ea2e716 (2024-04-21 15:59:20 +0200) count: 359 359 elapsed-time: 4.6 4.7 head-timing-info: old-timing-info: head results: data.table/src/chmatch.c:10:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYMSXP [valueFlowBailoutIncompleteVar] data.table/src/between.c:7:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/cj.c:5:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/cj.c:28:19: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:249:7: note: Shadowed declaration data.table/src/cj.c:28:19: note: Shadow variable data.table/src/cj.c:29:18: style: Local variable 'j' shadows outer variable [shadowVariable] data.table/src/cj.c:10:12: note: Shadowed declaration data.table/src/cj.c:29:18: note: Shadow variable data.table/src/cj.c:42:19: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:249:7: note: Shadowed declaration data.table/src/cj.c:42:19: note: Shadow variable data.table/src/cj.c:43:18: style: Local variable 'j' shadows outer variable [shadowVariable] data.table/src/cj.c:10:12: note: Shadowed declaration data.table/src/cj.c:43:18: note: Shadow variable data.table/src/cj.c:56:19: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:249:7: note: Shadowed declaration data.table/src/cj.c:56:19: note: Shadow variable data.table/src/cj.c:57:18: style: Local variable 'j' shadows outer variable [shadowVariable] data.table/src/cj.c:10:12: note: Shadowed declaration data.table/src/cj.c:57:18: note: Shadow variable data.table/src/cj.c:68:18: style: Local variable 'j' shadows outer variable [shadowVariable] data.table/src/cj.c:10:12: note: Shadowed declaration data.table/src/cj.c:68:18: note: Shadow variable data.table/src/cj.c:70:21: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:249:7: note: Shadowed declaration data.table/src/cj.c:70:21: note: Shadow variable data.table/src/cj.c:80:18: style: Local variable 'j' shadows outer variable [shadowVariable] data.table/src/cj.c:10:12: note: Shadowed declaration data.table/src/cj.c:80:18: note: Shadow variable data.table/src/cj.c:82:21: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:249:7: note: Shadowed declaration data.table/src/cj.c:82:21: note: Shadow variable data.table/src/coalesce.c:4:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/assign.c:19:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/assign.c:33:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NamesSymbol [valueFlowBailoutIncompleteVar] data.table/src/assign.c:111:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/assign.c:141:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] data.table/src/assign.c:144: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:210:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/assign.c:271:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] data.table/src/assign.c:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/assign.c:712:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/assign.c:1077:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Rbyte [valueFlowBailoutIncompleteVar] data.table/src/assign.c:1147:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEXP [valueFlowBailoutIncompleteVar] data.table/src/assign.c:1163:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEXP [valueFlowBailoutIncompleteVar] data.table/src/assign.c:1202:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/coalesce.c:3:28: style:inconclusive: Function 'coalesce' argument 2 names different: declaration 'inplace' definition 'inplaceArg'. [funcArgNamesDifferent] data.table/src/data.table.h:228:28: note: Function 'coalesce' argument 2 names different: declaration 'inplace' definition 'inplaceArg'. data.table/src/coalesce.c:3:28: note: Function 'coalesce' argument 2 names different: declaration 'inplace' definition 'inplaceArg'. data.table/src/bmerge.c:46:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/bmerge.c:232:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/dogroups.c:65:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] data.table/src/bmerge.c:345:5: style: Same expression on both sides of '<='. [duplicateExpression] data.table/src/between.c:3:67: style:inconclusive: Function 'between' argument 5 names different: declaration 'NAbounds' definition 'NAboundsArg'. [funcArgNamesDifferent] data.table/src/data.table.h:225:67: note: Function 'between' argument 5 names different: declaration 'NAbounds' definition 'NAboundsArg'. data.table/src/between.c:3:67: note: Function 'between' argument 5 names different: declaration 'NAbounds' definition 'NAboundsArg'. data.table/src/between.c:3:85: style:inconclusive: Function 'between' argument 6 names different: declaration 'check' definition 'checkArg'. [funcArgNamesDifferent] data.table/src/data.table.h:225:82: note: Function 'between' argument 6 names different: declaration 'check' definition 'checkArg'. data.table/src/between.c:3:85: note: Function 'between' argument 6 names different: declaration 'check' definition 'checkArg'. data.table/src/bmerge.c:42:18: style:inconclusive: Function 'bmerge' argument 1 names different: declaration 'iArg' definition 'idt'. [funcArgNamesDifferent] data.table/src/data.table.h:181:18: note: Function 'bmerge' argument 1 names different: declaration 'iArg' definition 'idt'. data.table/src/bmerge.c:42:18: note: Function 'bmerge' argument 1 names different: declaration 'iArg' definition 'idt'. data.table/src/bmerge.c:42:28: style:inconclusive: Function 'bmerge' argument 2 names different: declaration 'xArg' definition 'xdt'. [funcArgNamesDifferent] data.table/src/data.table.h:181:29: note: Function 'bmerge' argument 2 names different: declaration 'xArg' definition 'xdt'. data.table/src/bmerge.c:42:28: note: Function 'bmerge' argument 2 names different: declaration 'xArg' definition 'xdt'. 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:19:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REALSXP [valueFlowBailoutIncompleteVar] data.table/src/fifelse.c:156:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/dogroups.c:163:16: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] 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:103:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:129:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:143:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:298:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEXPTYPE [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:348:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:402:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:525:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:603:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/fmelt.c:685:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] data.table/src/dogroups.c:60:204: style:inconclusive: Function 'dogroups' argument 16 names different: declaration 'verbose' definition 'verboseArg'. [funcArgNamesDifferent] data.table/src/data.table.h:178:31: note: Function 'dogroups' argument 16 names different: declaration 'verbose' definition 'verboseArg'. data.table/src/dogroups.c:60:204: note: Function 'dogroups' argument 16 names different: declaration 'verbose' definition 'verboseArg'. data.table/src/dogroups.c:284:11: style: Local variable 'n' shadows outer variable [shadowVariable] data.table/src/dogroups.c:109:37: note: Shadowed declaration data.table/src/dogroups.c:284:11: note: Shadow variable data.table/src/assign.c:582:14: warning: Either the condition 's4==NULL' is redundant or there is possible null pointer dereference: s4. [nullPointerRedundantCheck] data.table/src/assign.c:579:13: note: Assuming that condition 's4==NULL' is not redundant data.table/src/assign.c:582:14: note: Null pointer dereference data.table/src/assign.c:584:14: warning: Either the condition 's4==NULL' is redundant or there is possible null pointer dereference: s4. [nullPointerRedundantCheck] data.table/src/assign.c:579:13: note: Assuming that condition 's4==NULL' is not redundant data.table/src/assign.c:584:14: note: Null pointer dereference data.table/src/assign.c:593:16: warning: Either the condition 's5==NULL' is redundant or there is possible null pointer dereference: s5. [nullPointerRedundantCheck] data.table/src/assign.c:589:15: note: Assuming that condition 's5==NULL' is not redundant data.table/src/assign.c:593:16: note: Null pointer dereference data.table/src/assign.c:595:16: warning: Either the condition 's5==NULL' is redundant or there is possible null pointer dereference: s5. [nullPointerRedundantCheck] data.table/src/assign.c:589:15: note: Assuming that condition 's5==NULL' is not redundant data.table/src/assign.c:595:16: note: Null pointer dereference data.table/src/assign.c:596:16: warning: Either the condition 's5==NULL' is redundant or there is possible null pointer dereference: s5. [nullPointerRedundantCheck] data.table/src/assign.c:589:15: note: Assuming that condition 's5==NULL' is not redundant data.table/src/assign.c:596:16: note: Null pointer dereference data.table/src/assign.c:597:26: warning: Either the condition 's5==NULL' is redundant or there is possible null pointer dereference: s5. [nullPointerRedundantCheck] data.table/src/assign.c:589:15: note: Assuming that condition 's5==NULL' is not redundant data.table/src/assign.c:597:26: note: Null pointer dereference data.table/src/assign.c:583:17: warning: Either the condition 's4==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] data.table/src/assign.c:579:13: note: Assuming that condition 's4==NULL' is not redundant data.table/src/assign.c:583:17: note: Null pointer addition data.table/src/assign.c:594:19: warning: Either the condition 's5==NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] data.table/src/assign.c:589:15: note: Assuming that condition 's5==NULL' is not redundant data.table/src/assign.c:594:19: note: Null pointer addition data.table/src/forder.c:152:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/forder.c:217:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] data.table/src/forder.c:250:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEXP [valueFlowBailoutIncompleteVar] data.table/src/forder.c:271:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEXP [valueFlowBailoutIncompleteVar] data.table/src/forder.c:289:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] data.table/src/forder.c:373:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/forder.c:433:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/forder.c:1269:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] data.table/src/forder.c:1380:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] data.table/src/frank.c:17:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/frank.c:84:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/frank.c:158:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/assign.c:542:16: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/assign.c:293:11: note: Shadowed declaration data.table/src/assign.c:542:16: note: Shadow variable data.table/src/assign.c:586:15: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/assign.c:293:11: note: Shadowed declaration data.table/src/assign.c:586:15: note: Shadow variable data.table/src/assign.c:641:14: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/assign.c:293:11: note: Shadowed declaration data.table/src/assign.c:641:14: note: Shadow variable data.table/src/assign.c:649:14: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/assign.c:293:11: note: Shadowed declaration data.table/src/assign.c:649:14: note: Shadow variable data.table/src/assign.c:653:14: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/assign.c:293:11: note: Shadowed declaration data.table/src/assign.c:653:14: note: Shadow variable data.table/src/assign.c:658:14: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/assign.c:293:11: note: Shadowed declaration data.table/src/assign.c:658:14: note: Shadow variable data.table/src/assign.c:790:17: warning: Size of pointer 'temp' used instead of size of its data. [pointerSize] data.table/src/fmelt.c:330:71: style: Parameter 'factorType' can be declared as pointer to const [constParameterPointer] data.table/src/froll.c:14:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/froll.c:48:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] data.table/src/froll.c:137:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] data.table/src/froll.c:223:118: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/froll.c:251:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] data.table/src/froll.c:335:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] data.table/src/froll.c:407:90: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/freadR.c:110:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/freadR.c:227:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/freadR.c:257:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/freadR.c:440:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/freadR.c:577:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] data.table/src/froll.c:33: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:241: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:457: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:60:21: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/froll.c:52:9: note: Shadowed declaration data.table/src/froll.c:60:21: note: Shadow variable data.table/src/froll.c:109:19: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/froll.c:88:9: note: Shadowed declaration data.table/src/froll.c:109:19: note: Shadow variable data.table/src/froll.c:263:21: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/froll.c:255:9: note: Shadowed declaration data.table/src/froll.c:263:21: note: Shadow variable data.table/src/froll.c:312:19: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/froll.c:291:9: note: Shadowed declaration data.table/src/froll.c:312:19: note: Shadow variable data.table/src/froll.c:404:25: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] data.table/src/frollR.c:7:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/frollR.c:49:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/frollR.c:253:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/fread.c:80:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] data.table/src/fread.c:152:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] data.table/src/fread.c:418:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] data.table/src/fread.c:1290:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] data.table/src/frollR.c:34:94: style:inconclusive: Function 'frollfunR' argument 8 names different: declaration 'hasNA' definition 'hasna'. [funcArgNamesDifferent] data.table/src/data.table.h:216:94: note: Function 'frollfunR' argument 8 names different: declaration 'hasNA' definition 'hasna'. data.table/src/frollR.c:34:94: note: Function 'frollfunR' argument 8 names different: declaration 'hasNA' definition 'hasna'. data.table/src/frollR.c:187: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/forder.c:397:20: style: Assignment 'u.d=0' is redundant with condition 'u.d==0'. [duplicateConditionalAssign] data.table/src/forder.c:397:12: note: Condition 'u.d==0' data.table/src/forder.c:397:20: note: Assignment 'u.d=0' is redundant data.table/src/forder.c:120:5: error: Common realloc mistake: 'gs' nulled but not freed upon failure [memleakOnRealloc] data.table/src/forder.c:303:9: error: Common realloc mistake: 'ustr' nulled but not freed upon failure [memleakOnRealloc] data.table/src/forder.c:1348:27: portability: Casting between const char * and const double * which have an incompatible binary data representation. [invalidPointerCast] data.table/src/forder.c:409:36: style:inconclusive: Function 'forder' argument 3 names different: declaration 'retGrp' definition 'retGrpArg'. [funcArgNamesDifferent] data.table/src/data.table.h:134:36: note: Function 'forder' argument 3 names different: declaration 'retGrp' definition 'retGrpArg'. data.table/src/forder.c:409:36: note: Function 'forder' argument 3 names different: declaration 'retGrp' definition 'retGrpArg'. data.table/src/forder.c:409:52: style:inconclusive: Function 'forder' argument 4 names different: declaration 'sortStrArg' definition 'sortGroupsArg'. [funcArgNamesDifferent] data.table/src/data.table.h:134:49: note: Function 'forder' argument 4 names different: declaration 'sortStrArg' definition 'sortGroupsArg'. data.table/src/forder.c:409:52: note: Function 'forder' argument 4 names different: declaration 'sortStrArg' definition 'sortGroupsArg'. data.table/src/forder.c:409:72: style:inconclusive: Function 'forder' argument 5 names different: declaration 'orderArg' definition 'ascArg'. [funcArgNamesDifferent] data.table/src/data.table.h:134:66: note: Function 'forder' argument 5 names different: declaration 'orderArg' definition 'ascArg'. data.table/src/forder.c:409:72: note: Function 'forder' argument 5 names different: declaration 'orderArg' definition 'ascArg'. data.table/src/forder.c:902:11: style: Local variable 'TMP' shadows outer variable [shadowVariable] data.table/src/forder.c:42:13: note: Shadowed declaration data.table/src/forder.c:902:11: note: Shadow variable data.table/src/forder.c:1057:17: style: Local variable 'my_n' shadows outer variable [shadowVariable] data.table/src/forder.c:817:13: note: Shadowed declaration data.table/src/forder.c:1057:17: note: Shadow variable data.table/src/forder.c:1153:10: style: Local variable 'TMP' shadows outer variable [shadowVariable] data.table/src/forder.c:42:13: note: Shadowed declaration data.table/src/forder.c:1153:10: note: Shadow variable data.table/src/forder.c:1307:18: style: Local variable 'nrow' shadows outer variable [shadowVariable] data.table/src/forder.c:35:12: note: Shadowed declaration data.table/src/forder.c:1307:18: note: Shadow variable data.table/src/forder.c:1382:13: style: Local variable 'nrow' shadows outer variable [shadowVariable] data.table/src/forder.c:35:12: note: Shadowed declaration data.table/src/forder.c:1382:13: note: Shadow variable data.table/src/forder.c:171:32: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] data.table/src/forder.c:644:16: style: Variable 'xd' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:659:18: style: Variable 'xd' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:758:10: style: Variable 'final_gs' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:1274:12: style: Variable 'xd' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:1279:18: style: Variable 'xd' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:1282:17: style: Variable 'xd' can be declared as pointer to const [constVariablePointer] data.table/src/forder.c:1402:13: style: Variable 'xd' can be declared as pointer to const [constVariablePointer] data.table/src/freadR.c:612:20: portability: Casting between const char * and double * which have an incompatible binary data representation. [invalidPointerCast] data.table/src/fsort.c:104:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/freadR.c:252:27: style:inconclusive: Function 'userOverride' argument 1 names different: declaration 'types' definition 'type'. [funcArgNamesDifferent] data.table/src/fread.h:254:27: note: Function 'userOverride' argument 1 names different: declaration 'types' definition 'type'. data.table/src/freadR.c:252:27: note: Function 'userOverride' argument 1 names different: declaration 'types' definition 'type'. data.table/src/freadR.c:432:27: style:inconclusive: Function 'allocateDT' argument 1 names different: declaration 'types' definition 'typeArg'. [funcArgNamesDifferent] data.table/src/fread.h:300:27: note: Function 'allocateDT' argument 1 names different: declaration 'types' definition 'typeArg'. data.table/src/freadR.c:432:27: note: Function 'allocateDT' argument 1 names different: declaration 'types' definition 'typeArg'. data.table/src/freadR.c:432:44: style:inconclusive: Function 'allocateDT' argument 2 names different: declaration 'sizes' definition 'sizeArg'. [funcArgNamesDifferent] data.table/src/fread.h:300:42: note: Function 'allocateDT' argument 2 names different: declaration 'sizes' definition 'sizeArg'. data.table/src/freadR.c:432:44: note: Function 'allocateDT' argument 2 names different: declaration 'sizes' definition 'sizeArg'. data.table/src/freadR.c:432:57: style:inconclusive: Function 'allocateDT' argument 3 names different: declaration 'ncols' definition 'ncolArg'. [funcArgNamesDifferent] data.table/src/fread.h:300:53: note: Function 'allocateDT' argument 3 names different: declaration 'ncols' definition 'ncolArg'. data.table/src/freadR.c:432:57: note: Function 'allocateDT' argument 3 names different: declaration 'ncols' definition 'ncolArg'. data.table/src/freadR.c:432:84: style:inconclusive: Function 'allocateDT' argument 5 names different: declaration 'nrows' definition 'allocNrow'. [funcArgNamesDifferent] data.table/src/fread.h:301:26: note: Function 'allocateDT' argument 5 names different: declaration 'nrows' definition 'allocNrow'. data.table/src/freadR.c:432:84: note: Function 'allocateDT' argument 5 names different: declaration 'nrows' definition 'allocNrow'. data.table/src/freadR.c:524:26: style:inconclusive: Function 'setFinalNrow' argument 1 names different: declaration 'nrows' definition 'nrow'. [funcArgNamesDifferent] data.table/src/fread.h:347:26: note: Function 'setFinalNrow' argument 1 names different: declaration 'nrows' definition 'nrow'. data.table/src/freadR.c:524:26: note: Function 'setFinalNrow' argument 1 names different: declaration 'nrows' definition 'nrow'. data.table/src/freadR.c:647:19: style:inconclusive: Function 'progress' argument 1 names different: declaration 'percent' definition 'p'. [funcArgNamesDifferent] data.table/src/fread.h:359:19: note: Function 'progress' argument 1 names different: declaration 'percent' definition 'p'. data.table/src/freadR.c:647:19: note: Function 'progress' argument 1 names different: declaration 'percent' definition 'p'. data.table/src/freadR.c:647:26: style:inconclusive: Function 'progress' argument 2 names different: declaration 'ETA' definition 'eta'. [funcArgNamesDifferent] data.table/src/fread.h:359:43: note: Function 'progress' argument 2 names different: declaration 'ETA' definition 'eta'. data.table/src/freadR.c:647:26: note: Function 'progress' argument 2 names different: declaration 'ETA' definition 'eta'. data.table/src/freadR.c:529:15: style: Local variable 'ncol' shadows outer variable [shadowVariable] data.table/src/freadR.c:43:12: note: Shadowed declaration data.table/src/freadR.c:529:15: note: Shadow variable data.table/src/freadR.c:459:32: style: Variable 'rankD' can be declared as pointer to const [constVariablePointer] data.table/src/freadR.c:540:49: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] data.table/src/freadR.c:708:59: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] data.table/src/freadR.c:709:56: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] data.table/src/freadR.c:710:50: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] data.table/src/freadR.c:711:56: style: Parameter 'ctx' can be declared as pointer to const [constParameterPointer] 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/fwriteR.c:19:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] data.table/src/fwriteR.c:40:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_LevelsSymbol [valueFlowBailoutIncompleteVar] data.table/src/fwriteR.c:48:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/fwriteR.c:74:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/fwriteR.c:97:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/fwriteR.c:180:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] 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:182: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:203: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:207: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:161:7: style: Variable 'u.d' is reassigned a value before the old one has been used. [redundantAssignment] data.table/src/fsort.c:159:7: note: u.d is assigned data.table/src/fsort.c:161:7: note: u.d is overwritten data.table/src/fsort.c:134:12: style:inconclusive: Same expression used in consecutive assignments of 'myMin' and 'myMax'. [duplicateAssignExpression] data.table/src/fsort.c:134:22: note: Same expression used in consecutive assignments of 'myMin' and 'myMax'. data.table/src/fsort.c:134:12: note: Same expression used in consecutive assignments of 'myMin' and 'myMax'. 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:166:7: style: Local variable 'shift' shadows outer function [shadowFunction] data.table/src/data.table.h:297:6: note: Shadowed declaration data.table/src/fsort.c:166:7: note: Shadow variable data.table/src/fwrite.c:625:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] data.table/src/fwriteR.c:80: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:74:30: note: Assuming that condition 'wf==-2147483648' is not redundant data.table/src/fwriteR.c:80:27: note: Negative array index data.table/src/fwriteR.c:101: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:97:35: note: Assuming that condition 'wf==-2147483648' is not redundant data.table/src/fwriteR.c:101:29: note: Negative array index data.table/src/fwriteR.c:199:16: style: Local variable 'j' shadows outer variable [shadowVariable] data.table/src/fwriteR.c:188:9: note: Shadowed declaration data.table/src/fwriteR.c:199:16: note: Shadow variable data.table/src/ijoin.c:128:103: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] data.table/src/ijoin.c:328:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:43:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENVSXP [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:233:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:342:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:575:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:686:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:805:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:950:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:1009:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:1089:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:1180:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:1261:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:1393:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:1397:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:1402:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/fread.c:755:20: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] data.table/src/fread.c:906:22: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] data.table/src/fread.c:918:15: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] data.table/src/fwrite.c:892:27: style: Condition '!failed' is always true [knownConditionTrueFalse] data.table/src/fwrite.c:866:11: note: Assuming that condition 'failed' is not redundant data.table/src/fwrite.c:892:27: note: Condition '!failed' is always true 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:31: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:31: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:279:18: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/fwrite.c:214:9: note: Shadowed declaration data.table/src/fwrite.c:279:18: note: Shadow variable data.table/src/fread.c:2565:7: style: The if condition is the same as the previous if condition [duplicateCondition] data.table/src/fread.c:2559:7: note: First condition data.table/src/fread.c:2565:7: note: Second condition data.table/src/fwrite.c:384:26: style: Variable 'md' is assigned a value that is never used. [unreadVariable] data.table/src/fwrite.c:390:24: style: Variable 'y' is assigned a value that is never used. [unreadVariable] data.table/src/fread.c:825:14: style: Condition 'ch[0]=='i'' is always false [knownConditionTrueFalse] data.table/src/fread.c:824:12: note: Assuming that condition 'ch[0]=='I'' is not redundant data.table/src/fread.c:825:14: note: Condition 'ch[0]=='i'' is always false data.table/src/fread.c:925:27: style: Condition 'E<1' is always false [knownConditionTrueFalse] data.table/src/fread.c:924:31: note: Assignment 'E=1023+(Eneg?-E:E)-subnormal', assigned value is greater than 1021 data.table/src/fread.c:925:27: note: Condition 'E<1' is always false data.table/src/fread.c:1912:7: error: Common realloc mistake: 'type' nulled but not freed upon failure [memleakOnRealloc] data.table/src/fread.c:1913:7: error: Common realloc mistake: 'tmpType' nulled but not freed upon failure [memleakOnRealloc] data.table/src/fread.c:2380:21: error: Common realloc mistake: 'typeBumpMsg' nulled but not freed upon failure [memleakOnRealloc] data.table/src/fread.c:927:7: portability: Casting from double * to unsigned long * is not portable due to different binary data representations on different platforms. [invalidPointerCast] data.table/src/fread.c:1568:12: style: Variable 'pos' is reassigned a value before the old one has been used. [redundantAssignment] data.table/src/fread.c:1555:9: note: pos is assigned data.table/src/fread.c:1568:12: note: pos is overwritten data.table/src/fread.c:1880:6: style: Variable 'ch' is reassigned a value before the old one has been used. [redundantAssignment] data.table/src/fread.c:1744:6: note: ch is assigned data.table/src/fread.c:1880:6: note: ch is overwritten data.table/src/fread.c:1965:13: style: Variable 'estnrow' is reassigned a value before the old one has been used. [redundantAssignment] data.table/src/fread.c:1958:10: note: estnrow is assigned data.table/src/fread.c:1965:13: note: estnrow is overwritten data.table/src/init.c:146:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/init.c:160:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DL_FUNC [valueFlowBailoutIncompleteVar] data.table/src/init.c:301:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/init.c:334:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/init.c:204:31: style: Condition '(uint_fast8_t)('0'-'/')!=1' is always false [knownConditionTrueFalse] data.table/src/init.c:205:31: style: Condition '(uint_fast8_t)('/'-'0')<10' is always true [knownConditionTrueFalse] data.table/src/init.c:206:31: style: Condition '(uint_fast8_t)(':'-'9')!=1' is always false [knownConditionTrueFalse] data.table/src/init.c:207:31: style: Condition '(uint_fast8_t)('9'-':')<10' is always true [knownConditionTrueFalse] data.table/src/inrange.c:34:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/inrange.c:7:32: style: Variable 'xo' can be declared as pointer to const [constVariablePointer] data.table/src/inrange.c:8:8: style: Variable 'starts' can be declared as pointer to const [constVariablePointer] data.table/src/inrange.c:8:38: style: Variable 'len' can be declared as pointer to const [constVariablePointer] data.table/src/nafill.c:41:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/nafill.c:49:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/nafill.c:85:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/nafill.c:96:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/fread.c:1240:29: style:inconclusive: Function 'freadMain' argument 1 names different: declaration 'args' definition '_args'. [funcArgNamesDifferent] data.table/src/fread.h:217:29: note: Function 'freadMain' argument 1 names different: declaration 'args' definition '_args'. data.table/src/fread.c:1240:29: note: Function 'freadMain' argument 1 names different: declaration 'args' definition '_args'. data.table/src/fread.c:405:15: style: Variable 'suffixes' can be declared as const array [constVariable] data.table/src/fread.c:120:23: style: union member 'Anonymous0::a' is never used. [unusedStructMember] data.table/src/fread.c:306:17: style: Unused variable: trash [unusedVariable] data.table/src/fread.c:2408:75: style: Variable 'tLast' is assigned a value that is never used. [unreadVariable] data.table/src/nafill.c:107:10: style: Variable 'icols' can be declared as pointer to const [constVariablePointer] data.table/src/nqrecreateindices.c:9:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [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:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/openmp-utils.c:104:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] 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/openmp-utils.c:18:9: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:249:7: note: Shadowed declaration data.table/src/openmp-utils.c:18:9: note: Shadow variable data.table/src/reorder.c:42:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/reorder.c:103:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NamesSymbol [valueFlowBailoutIncompleteVar] data.table/src/reorder.c:77:30: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] data.table/src/reorder.c:45:13: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:249:7: note: Shadowed declaration data.table/src/reorder.c:45:13: note: Shadow variable data.table/src/reorder.c:49:12: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/reorder.c:39:7: note: Shadowed declaration data.table/src/reorder.c:49:12: note: Shadow variable data.table/src/reorder.c:61:12: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/reorder.c:39:7: note: Shadowed declaration data.table/src/reorder.c:61:12: note: Shadow variable data.table/src/reorder.c:68:16: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/reorder.c:61:12: note: Shadowed declaration data.table/src/reorder.c:68:16: note: Shadow variable data.table/src/reorder.c:79:16: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/reorder.c:61:12: note: Shadowed declaration data.table/src/reorder.c:79:16: note: Shadow variable data.table/src/reorder.c:86:16: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/reorder.c:61:12: note: Shadowed declaration data.table/src/reorder.c:86:16: note: Shadow variable data.table/src/rbindlist.c:7:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/shift.c:11:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/rbindlist.c:430:26: style: Local variable 'k' shadows outer variable [shadowVariable] data.table/src/rbindlist.c:415:20: note: Shadowed declaration data.table/src/rbindlist.c:430:26: note: Shadow variable data.table/src/snprintf.c:246:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/snprintf.c:45:17: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:249:7: note: Shadowed declaration data.table/src/snprintf.c:45:17: note: Shadow variable data.table/src/snprintf.c:162:17: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:249:7: note: Shadowed declaration data.table/src/snprintf.c:162:17: note: Shadow variable data.table/src/snprintf.c:51:16: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] data.table/src/subset.c:54:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/subset.c:116:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/subset.c:136:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/subset.c:238:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NamesSymbol [valueFlowBailoutIncompleteVar] data.table/src/subset.c:268:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:829:33: style: The statement 'if (update[thisgrp]!=1) update[thisgrp]=1' is logically equivalent to 'update[thisgrp]=1'. [duplicateConditionalAssign] data.table/src/gsumm.c:829:55: note: Assignment 'update[thisgrp]=1' data.table/src/gsumm.c:829:33: note: Condition 'update[thisgrp]!=1' is redundant data.table/src/gsumm.c:840:33: style: The statement 'if (update[thisgrp]!=1) update[thisgrp]=1' is logically equivalent to 'update[thisgrp]=1'. [duplicateConditionalAssign] data.table/src/gsumm.c:840:55: note: Assignment 'update[thisgrp]=1' data.table/src/gsumm.c:840:33: note: Condition 'update[thisgrp]!=1' is redundant data.table/src/gsumm.c:870:33: style: The statement 'if (update[thisgrp]!=1) update[thisgrp]=1' is logically equivalent to 'update[thisgrp]=1'. [duplicateConditionalAssign] data.table/src/gsumm.c:870:55: note: Assignment 'update[thisgrp]=1' data.table/src/gsumm.c:870:33: note: Condition 'update[thisgrp]!=1' is redundant data.table/src/gsumm.c:881:33: style: The statement 'if (update[thisgrp]!=1) update[thisgrp]=1' is logically equivalent to 'update[thisgrp]=1'. [duplicateConditionalAssign] data.table/src/gsumm.c:881:55: note: Assignment 'update[thisgrp]=1' data.table/src/gsumm.c:881:33: note: Condition 'update[thisgrp]!=1' is redundant data.table/src/gsumm.c:908:33: style: The statement 'if (update[thisgrp]!=1) update[thisgrp]=1' is logically equivalent to 'update[thisgrp]=1'. [duplicateConditionalAssign] data.table/src/gsumm.c:908:55: note: Assignment 'update[thisgrp]=1' data.table/src/gsumm.c:908:33: note: Condition 'update[thisgrp]!=1' is redundant data.table/src/gsumm.c:919:33: style: The statement 'if (update[thisgrp]!=1) update[thisgrp]=1' is logically equivalent to 'update[thisgrp]=1'. [duplicateConditionalAssign] data.table/src/gsumm.c:919:55: note: Assignment 'update[thisgrp]=1' data.table/src/gsumm.c:919:33: note: Condition 'update[thisgrp]!=1' is redundant data.table/src/transpose.c:12:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_LOGICAL [valueFlowBailoutIncompleteVar] data.table/src/gsumm.c:88:28: style: Condition 'batchSize<1' is always false [knownConditionTrueFalse] data.table/src/gsumm.c:83:15: note: Assignment 'batchSize=(1>((nrow-1)/nBatch))?(1):((nrow-1)/nBatch)', assigned value is greater than 0 data.table/src/gsumm.c:88:28: note: Condition 'batchSize<1' is always false data.table/src/gsumm.c:253:34: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] data.table/src/gsumm.c:83:15: warning: Either the condition 'nBatch<1' is redundant or there is division by zero at line 83. [zerodivcond] data.table/src/gsumm.c:88:13: note: Assuming that condition 'nBatch<1' is not redundant data.table/src/gsumm.c:83:15: note: Division by zero data.table/src/gsumm.c:110:9: style: Local variable 'nb' shadows outer variable [shadowVariable] data.table/src/gsumm.c:72:7: note: Shadowed declaration data.table/src/gsumm.c:110:9: note: Shadow variable data.table/src/gsumm.c:111:9: style: Local variable 'bitshift' shadows outer variable [shadowVariable] data.table/src/gsumm.c:12:12: note: Shadowed declaration data.table/src/gsumm.c:111:9: note: Shadow variable data.table/src/gsumm.c:112:9: style: Local variable 'highSize' shadows outer variable [shadowVariable] data.table/src/gsumm.c:11:15: note: Shadowed declaration data.table/src/gsumm.c:112:9: note: Shadow variable data.table/src/gsumm.c:114:10: style: Local variable 'counts' shadows outer variable [shadowVariable] data.table/src/gsumm.c:16:13: note: Shadowed declaration data.table/src/gsumm.c:114:10: note: Shadow variable data.table/src/gsumm.c:145:19: style: Local variable 'end' shadows outer function [shadowFunction] data.table/src/data.table.h:249:7: note: Shadowed declaration data.table/src/gsumm.c:145:19: note: Shadow variable data.table/src/gsumm.c:351:8: style: Local variable 'anyNA' shadows outer function [shadowFunction] data.table/src/data.table.h:299:6: note: Shadowed declaration data.table/src/gsumm.c:351:8: note: Shadow variable data.table/src/gsumm.c:355:25: style: Local variable 'gx' shadows outer variable [shadowVariable] data.table/src/gsumm.c:13:14: note: Shadowed declaration data.table/src/gsumm.c:355:25: note: Shadow variable data.table/src/gsumm.c:372:23: style: Local variable 'b' shadows outer variable [shadowVariable] data.table/src/gsumm.c:365:18: note: Shadowed declaration data.table/src/gsumm.c:372:23: note: Shadow variable data.table/src/gsumm.c:390:23: style: Local variable 'b' shadows outer variable [shadowVariable] data.table/src/gsumm.c:382:18: note: Shadowed declaration data.table/src/gsumm.c:390:23: note: Shadow variable data.table/src/gsumm.c:406:24: style: Local variable 'ansp' shadows outer variable [shadowVariable] data.table/src/gsumm.c:357:19: note: Shadowed declaration data.table/src/gsumm.c:406:24: note: Shadow variable data.table/src/gsumm.c:431:30: style: Local variable 'gx' shadows outer variable [shadowVariable] data.table/src/gsumm.c:13:14: note: Shadowed declaration data.table/src/gsumm.c:431:30: note: Shadow variable data.table/src/gsumm.c:467:31: style: Local variable 'gx' shadows outer variable [shadowVariable] data.table/src/gsumm.c:13:14: note: Shadowed declaration data.table/src/gsumm.c:467:31: note: Shadow variable data.table/src/gsumm.c:526:30: style: Local variable 'gx' shadows outer variable [shadowVariable] data.table/src/gsumm.c:13:14: note: Shadowed declaration data.table/src/gsumm.c:526:30: note: Shadow variable data.table/src/gsumm.c:816:12: style: Local variable 'i' shadows outer variable [shadowVariable] data.table/src/gsumm.c:808:11: note: Shadowed declaration data.table/src/gsumm.c:816:12: note: Shadow variable data.table/src/gsumm.c:961:14: style: Variable 'xi64' can be declared as pointer to const [constVariablePointer] data.table/src/gsumm.c:978:10: style: Variable 'xi' can be declared as pointer to const [constVariablePointer] data.table/src/gsumm.c:200:85: style: Variable 'started' is assigned a value that is never used. [unreadVariable] data.table/src/types.c:33:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/types.c:61:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/types.c:7:17: style: Parameter 'start' can be declared as pointer to const [constParameterPointer] data.table/src/uniqlist.c:72:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [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:260:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/uniqlist.c:353:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/subset.c:111:23: style: Local variable 'anyNA' shadows outer function [shadowFunction] data.table/src/data.table.h:299:6: note: Shadowed declaration data.table/src/subset.c:111:23: note: Shadow variable data.table/src/subset.c:265:8: style: Local variable 'anyNA' shadows outer function [shadowFunction] data.table/src/data.table.h:299:6: note: Shadowed declaration data.table/src/subset.c:265:8: note: Shadow variable data.table/src/subset.c:347:8: style: Local variable 'anyNA' shadows outer function [shadowFunction] data.table/src/data.table.h:299:6: note: Shadowed declaration data.table/src/subset.c:347: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:16:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/utils.c:47:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_INTEGER [valueFlowBailoutIncompleteVar] data.table/src/utils.c:100:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LGLSXP [valueFlowBailoutIncompleteVar] data.table/src/utils.c:145:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] data.table/src/utils.c:183:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_REAL [valueFlowBailoutIncompleteVar] data.table/src/utils.c:209:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_ClassSymbol [valueFlowBailoutIncompleteVar] data.table/src/utils.c:230:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_GlobalEnv [valueFlowBailoutIncompleteVar] data.table/src/utils.c:248:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/utils.c:339:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] data.table/src/utils.c:343:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/utils.c:358:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NA_STRING [valueFlowBailoutIncompleteVar] data.table/src/utils.c:368:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRSXP [valueFlowBailoutIncompleteVar] data.table/src/utils.c:383:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZLIB_VERSION [valueFlowBailoutIncompleteVar] data.table/src/vecseq.c:30:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTSXP [valueFlowBailoutIncompleteVar] data.table/src/utils.c:338:16: style:inconclusive: Function 'lock' argument 1 names different: declaration 'x' definition 'DT'. [funcArgNamesDifferent] data.table/src/data.table.h:241:16: note: Function 'lock' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:338:16: note: Function 'lock' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:342:18: style:inconclusive: Function 'unlock' argument 1 names different: declaration 'x' definition 'DT'. [funcArgNamesDifferent] data.table/src/data.table.h:242:18: note: Function 'unlock' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:342:18: note: Function 'unlock' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:346:20: style:inconclusive: Function 'islocked' argument 1 names different: declaration 'x' definition 'DT'. [funcArgNamesDifferent] data.table/src/data.table.h:243:20: note: Function 'islocked' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:346:20: note: Function 'islocked' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:350:21: style:inconclusive: Function 'islockedR' argument 1 names different: declaration 'x' definition 'DT'. [funcArgNamesDifferent] data.table/src/data.table.h:244:21: note: Function 'islockedR' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:350:21: note: Function 'islockedR' argument 1 names different: declaration 'x' definition 'DT'. data.table/src/utils.c:295:8: style: Local variable 'savetl' shadows outer function [shadowFunction] data.table/src/data.table.h:128:25: note: Shadowed declaration data.table/src/utils.c:295:8: note: Shadow variable data.table/src/utils.c:130: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:71:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable R_NilValue [valueFlowBailoutIncompleteVar] data.table/src/wrappers.c:91:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/wrappers.c:105:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VECSXP [valueFlowBailoutIncompleteVar] data.table/src/wrappers.c:50:8: style: Variable 'inewx' can be declared as pointer to const [constVariablePointer] data.table/src/ijoin.c:232:8: style: Local variable 'lookup' shadows outer function [shadowFunction] data.table/src/data.table.h:294: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:371:18: style: Variable 'tmp2' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:504:29: style: Variable 'j' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:504:34: style: Variable 'm' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:557:29: style: Variable 'j' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:557:34: style: Variable 'm' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:619:29: style: Variable 'j' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:619:34: style: Variable 'm' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:706:29: style: Variable 'j' is assigned a value that is never used. [unreadVariable] data.table/src/ijoin.c:706:34: style: Variable 'm' is assigned a value that is never used. [unreadVariable] 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: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: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: DONE