2025-07-05 06:56 ftp://ftp.de.debian.org/debian/pool/main/p/p4est/p4est_2.3.6.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --library=lua --library=openmp --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 -j1 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 9b11b6b (2025-07-04 16:03:30 +0200) count: 1251 1247 elapsed-time: 44.2 45.4 head-timing-info: old-timing-info: head results: p4est-2.3.6/doc/attic/p8est_trilinear_lnodes.c:41:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p8est_face_corners [valueFlowBailoutIncompleteVar] p4est-2.3.6/doc/attic/p8est_trilinear_lnodes.c:83:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P8EST_FTRANSFORM [valueFlowBailoutIncompleteVar] p4est-2.3.6/doc/attic/p8est_trilinear_lnodes.c:318:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_locidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/doc/attic/p8est_trilinear_lnodes.c:433:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trilinear_mesh_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/doc/attic/p8est_trilinear_lnodes.c:190:43: style: Condition 'nt==ownert' is always true [knownConditionTrueFalse] p4est-2.3.6/doc/attic/p8est_trilinear_lnodes.c:173:30: note: Assuming that condition 'ownert1' is not redundant p4est-2.3.6/example/particles/particles2.c:753:31: note: Condition 'stage+1mpirank' is always true [knownConditionTrueFalse] p4est-2.3.6/example/particles/particles2.c:876:16: note: Assuming that condition 'pfirst==g->mpirank' is not redundant p4est-2.3.6/example/particles/particles2.c:875:14: note: Assuming that condition 'pfirst==plast' is not redundant p4est-2.3.6/example/particles/particles2.c:878:27: note: Condition 'plast==g->mpirank' is always true p4est-2.3.6/example/particles/particles2.c:882:25: style: Condition 'plast!=g->mpirank' is always true [knownConditionTrueFalse] p4est-2.3.6/example/particles/particles2.c:290:49: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/example/particles/particles2.c:502:23: style: Variable 'qud' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/particles/particles2.c:503:23: style: Variable 'g' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/particles/particles2.c:604:28: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/example/particles/particles2.c:810:35: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/example/particles/particles2.c:826:23: style: Variable 'x' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/particles/particles2.c:950:23: style: Variable 'pfn' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/particles/particles2.c:1223:23: style: Variable 'x' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/particles/particles2.c:1296:23: style: Variable 'qud' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/particles/particles2.c:1600:23: style: Variable 'premain' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/particles/particles2.c:1600:33: style: Variable 'preceive' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/particles/particles2.c:1994:23: style: Variable 'g' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/particles/particles2.c:2117:23: style: Variable 'bud' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/points/points2.c:79:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_quadrant_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/points/points2.c:122:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/points/points2.c:158:7: style: Condition '!wrongusage' is always true [knownConditionTrueFalse] p4est-2.3.6/example/points/points2.c:157:16: note: Assignment 'wrongusage=0', assigned value is 0 p4est-2.3.6/example/points/points2.c:158:7: note: Condition '!wrongusage' is always true p4est-2.3.6/example/points/points2.c:76:20: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] p4est-2.3.6/example/points/points2.c:67:16: note: Assuming allocation function fails p4est-2.3.6/example/points/points2.c:67:16: note: Assignment 'file=fopen(filename,"rb")', assigned value is 0 p4est-2.3.6/example/points/points2.c:76:20: note: Null pointer dereference p4est-2.3.6/example/simple/simple2.c:227:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_ROOT_LEN [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/simple/simple2.c:269:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/simple/simple2.c:288:7: style: Condition '!wrongusage' is always true [knownConditionTrueFalse] p4est-2.3.6/example/simple/simple2.c:286:16: note: Assignment 'wrongusage=0', assigned value is 0 p4est-2.3.6/example/simple/simple2.c:288:7: note: Condition '!wrongusage' is always true p4est-2.3.6/example/simple/simple2.c:156:27: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'refine_evil_fn' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/example/simple/simple2.c:355:17: note: You might need to cast the function pointer here p4est-2.3.6/example/simple/simple2.c:156:27: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/example/simple/simple2.c:157:36: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'refine_evil_fn' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/example/simple/simple2.c:355:17: note: You might need to cast the function pointer here p4est-2.3.6/example/simple/simple2.c:157:36: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/example/simple/simple2.c:203:28: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'coarsen_evil_fn' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/example/simple/simple2.c:356:18: note: You might need to cast the function pointer here p4est-2.3.6/example/simple/simple2.c:203:28: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/example/simple/simple2.c:204:37: style: Parameter 'q' can be declared as const array. However it seems that 'coarsen_evil_fn' is a callback function, if 'q' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/example/simple/simple2.c:356:18: note: You might need to cast the function pointer here p4est-2.3.6/example/simple/simple2.c:204:37: note: Parameter 'q' can be declared as const array p4est-2.3.6/example/simple/simple3.c:183:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/simple/simple3.c:200:7: style: Condition '!wrongusage' is always true [knownConditionTrueFalse] p4est-2.3.6/example/simple/simple3.c:198:16: note: Assignment 'wrongusage=0', assigned value is 0 p4est-2.3.6/example/simple/simple3.c:200:7: note: Condition '!wrongusage' is always true p4est-2.3.6/example/simple/simple3.c:288:18: style: Condition 'coarsen_fn!=NULL' is always false [knownConditionTrueFalse] p4est-2.3.6/example/simple/simple3.c:243:16: note: Assignment 'coarsen_fn=NULL', assigned value is 0 p4est-2.3.6/example/simple/simple3.c:288:18: note: Condition 'coarsen_fn!=NULL' is always false p4est-2.3.6/example/simple/simple3.c:123:29: style: Parameter 'p8est' can be declared as pointer to const. However it seems that 'refine_sparse_fn' is a callback function, if 'p8est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/example/simple/simple3.c:259:17: note: You might need to cast the function pointer here p4est-2.3.6/example/simple/simple3.c:123:29: note: Parameter 'p8est' can be declared as pointer to const p4est-2.3.6/example/simple/simple3.c:124:38: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'refine_sparse_fn' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/example/simple/simple3.c:259:17: note: You might need to cast the function pointer here p4est-2.3.6/example/simple/simple3.c:124:38: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/example/spheres/p4est_spheres.c:46:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_ROOT_LEN [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/spheres/p4est_spheres.c:61:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_DIM [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/spheres/p4est_spheres.c:111:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_DIM [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/spheres/spheres2.c:445:24: error: There is an unknown macro here somewhere. Configuration is required. If P4EST_ONLY_P8_COMMA is a macro then please configure it. [unknownMacro] p4est-2.3.6/example/steps/p4est_step1.c:131:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step1.c:176:7: style: Condition 'balance' is always true [knownConditionTrueFalse] p4est-2.3.6/example/steps/p4est_step1.c:175:13: note: Assignment 'balance=1', assigned value is 1 p4est-2.3.6/example/steps/p4est_step1.c:176:7: note: Condition 'balance' is always true p4est-2.3.6/example/steps/p4est_step1.c:61:31: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'refine_fn' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/example/steps/p4est_step1.c:164:35: note: You might need to cast the function pointer here p4est-2.3.6/example/steps/p4est_step1.c:61:31: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/example/steps/p4est_step2.c:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step2.c:140:7: style: Condition 'balance' is always true [knownConditionTrueFalse] p4est-2.3.6/example/steps/p4est_step2.c:139:13: note: Assignment 'balance=1', assigned value is 1 p4est-2.3.6/example/steps/p4est_step2.c:140:7: note: Condition 'balance' is always true p4est-2.3.6/example/steps/p4est_step2.c:57:22: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'refine_fn' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/example/steps/p4est_step2.c:127:29: note: You might need to cast the function pointer here p4est-2.3.6/example/steps/p4est_step2.c:57:22: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/example/steps/p4est_step2.c:58:31: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'refine_fn' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/example/steps/p4est_step2.c:127:29: note: You might need to cast the function pointer here p4est-2.3.6/example/steps/p4est_step2.c:58:31: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/example/steps/p4est_step3.c:108:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_DIM [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:193:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_ROOT_LEN [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:234:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_ROOT_LEN [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:283:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_ROOT_LEN [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:332:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:406:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable user_data [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:493:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_ROOT_LEN [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:521:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:641:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:764:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_ROOT_LEN [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:797:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_DIM [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:835:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable face [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:977:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_ROOT_LEN [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:1009:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_QMAXLEVEL [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:1164:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step3.c:103:33: style: Parameter 'x' can be declared as const array [constParameter] p4est-2.3.6/example/steps/p4est_step3.c:106:23: style: Variable 'c' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/steps/p4est_step3.c:191:23: style: Variable 'du' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/steps/p4est_step3.c:230:23: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/steps/p4est_step3.c:321:23: style: Variable 'ctx' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/steps/p4est_step3.c:325:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/steps/p4est_step3.c:482:23: style: Variable 'tree' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/example/steps/p4est_step3.c:594:51: style: Parameter 'info' can be declared as pointer to const. However it seems that 'step3_quad_divergence' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/example/steps/p4est_step3.c:1104:20: note: You might need to cast the function pointer here p4est-2.3.6/example/steps/p4est_step3.c:594:51: note: Parameter 'info' can be declared as pointer to const p4est-2.3.6/example/steps/p4est_step3.c:757:51: style: Parameter 'info' can be declared as pointer to const. However it seems that 'step3_timestep_update' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/example/steps/p4est_step3.c:1119:20: note: You might need to cast the function pointer here p4est-2.3.6/example/steps/p4est_step3.c:757:51: note: Parameter 'info' can be declared as pointer to const p4est-2.3.6/example/steps/p4est_step3.c:791:53: style: Parameter 'info' can be declared as pointer to const. However it seems that 'step3_reset_derivatives' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/example/steps/p4est_step3.c:1131:20: note: You might need to cast the function pointer here p4est-2.3.6/example/steps/p4est_step3.c:791:53: note: Parameter 'info' can be declared as pointer to const p4est-2.3.6/example/steps/p4est_step3.c:931:47: style: Parameter 'info' can be declared as pointer to const. However it seems that 'step3_compute_max' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/example/steps/p4est_step3.c:1043:24: note: You might need to cast the function pointer here p4est-2.3.6/example/steps/p4est_step3.c:931:47: note: Parameter 'info' can be declared as pointer to const p4est-2.3.6/example/steps/p4est_step4.c:145:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_ROOT_LEN [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step4.c:173:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_DIM [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step4.c:209:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_DIM [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step4.c:422:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step4.c:518:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step4.c:763:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step4.c:884:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/example/steps/p4est_step4.c:614:31: warning: The address of variable 'i' might be accessed at non-zero index. [objectIndex] p4est-2.3.6/example/steps/p4est_step4.c:601:30: note: Address of variable taken here. p4est-2.3.6/example/steps/p4est_step4.c:614:31: note: The address of variable 'i' might be accessed at non-zero index. p4est-2.3.6/example/steps/p4est_step4.c:924:18: style: Condition 'startlevel=0' is redundant or the array 'line[1025]' is accessed at index -1, which is out of bounds. [negativeIndex] p4est-2.3.6/sc/iniparser/iniparser.c:685:20: note: Assuming that condition 'len>=0' is not redundant p4est-2.3.6/sc/iniparser/iniparser.c:691:17: note: Negative array index p4est-2.3.6/sc/iniparser/iniparser.c:55:13: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] p4est-2.3.6/sc/iniparser/iniparser.c:583:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] p4est-2.3.6/sc/iniparser/iniparser.c:587:16: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] p4est-2.3.6/sc/iniparser/iniparser.c:588:16: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] p4est-2.3.6/sc/iniparser/iniparser.c:589:16: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] p4est-2.3.6/sc/iniparser/iniparser.c:602:16: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] p4est-2.3.6/sc/iniparser/iniparser.c:603:16: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] p4est-2.3.6/sc/iniparser/iniparser.c:577:13: style: Variable 'sta' is reassigned a value before the old one has been used. [redundantAssignment] p4est-2.3.6/sc/iniparser/iniparser.c:574:9: note: sta is assigned p4est-2.3.6/sc/iniparser/iniparser.c:577:13: note: sta is overwritten p4est-2.3.6/sc/iniparser/iniparser.c:115:36: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/iniparser/iniparser.c:181:34: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/iniparser/iniparser.c:373:12: style: Variable 'lc_key' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/sc/iniparser/iniparser.c:413:17: style: Variable 'str' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/sc/iniparser/iniparser.c:435:17: style: Variable 'str' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/sc/iniparser/iniparser.c:476:17: style: Variable 'c' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/sc/iniparser/inistring.c:40:51: style:inconclusive: Function 'ini_snprintf' argument 3 names different: declaration 'format' definition 'fmt'. [funcArgNamesDifferent] p4est-2.3.6/sc/iniparser/inistring.h:70:47: note: Function 'ini_snprintf' argument 3 names different: declaration 'format' definition 'fmt'. p4est-2.3.6/sc/iniparser/inistring.c:40:51: note: Function 'ini_snprintf' argument 3 names different: declaration 'format' definition 'fmt'. p4est-2.3.6/sc/libb64/b64dec.c:33:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/libb64/b64enc.c:33:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/libb64/cencode.c:101:62: style: Parameter 'state_in' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc.c:201:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable newvalue [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:234:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:276:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LP_TRACE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:776:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LP_DEFAULT [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:808:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LP_DEFAULT [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:849:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:954:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:986:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:997:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:1020:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LP_DEFAULT [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:1108:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LP_DEFAULT [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:1132:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LP_DEFAULT [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:1150:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LC_GLOBAL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:1174:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:1303:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:1389:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LC_GLOBAL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:1399:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LC_NORMAL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:1466:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_VERSION [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:1473:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_VERSION_MAJOR [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:1480:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_VERSION_MINOR [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc.c:527:12: style: The if condition is the same as the previous if condition [duplicateCondition] p4est-2.3.6/sc/src/sc.c:517:12: note: First condition p4est-2.3.6/sc/src/sc.c:527:12: note: Second condition p4est-2.3.6/sc/src/sc.c:562:20: style: The if condition is the same as the previous if condition [duplicateCondition] p4est-2.3.6/sc/src/sc.c:552:20: note: First condition p4est-2.3.6/sc/src/sc.c:562:20: note: Second condition p4est-2.3.6/sc/src/sc.c:1047:5: error: Common realloc mistake: 'sc_packages' nulled but not freed upon failure [memleakOnRealloc] p4est-2.3.6/sc/src/sc.c:277:38: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/sc/src/sc.c:647:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/sc/src/sc_allgather.c:36:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_Request [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_allgather.c:72:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_AG_ALLTOALL_MAX [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_allgather.c:155:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable datasize2 [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_allgather.c:134:21: style: Parameter 'sendbuf' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_amr.c:42:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_amr.c:77:19: style: Variable 'local_coarsen' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/sc/src/sc_avl.c:89:0: error: #error No balancing possible. [preprocessorErrorDirective] p4est-2.3.6/sc/src/sc_avl.c:89:2: error: #error No balancing possible. [preprocessorErrorDirective] p4est-2.3.6/sc/src/sc_bspline.c:51:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_bspline.c:129:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_bspline.c:254:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_bspline_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_bspline.c:39:45: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_bspline.c:117:54: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_bspline.c:373:23: style: Variable 'wfrom' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/sc/src/sc_bspline.c:416:23: style: Variable 'wfrom' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/sc/src/sc_bspline.c:474:23: style: Variable 'qfrom' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/sc/src/sc_bspline.c:379:15: style: Variable 'wto' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/sc/src/sc_bspline.c:429:15: style: Variable 'wto' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/sc/src/sc_bspline.c:480:15: style: Variable 'pto' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/sc/src/sc_bspline.c:481:15: style: Variable 'qto' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/sc/src/sc_containers.c:34:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_array_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:43:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_array_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:55:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_array_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:67:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_array_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:79:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_array_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:776:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_mstamp_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:850:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_mstamp_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:861:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_mempool_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:875:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_package_id [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:883:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_package_id [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:922:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_mempool_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:987:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_list_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:996:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_list_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:1037:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_link_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:1214:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_hash_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:1250:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_list_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:1294:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_hash_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:1537:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LC_NORMAL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:1549:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_hash_array_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:1590:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_hash_array_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:1691:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_array_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_containers.c:1645:42: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] p4est-2.3.6/sc/src/sc_containers.c:1669:49: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] p4est-2.3.6/sc/src/sc_containers.c:134:53: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_containers.c:282:48: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_containers.c:298:34: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_containers.c:298:73: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_containers.c:312:34: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_containers.c:313:34: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_containers.c:358:33: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_containers.c:358:53: style: Parameter 'other' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_containers.c:408:32: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_containers.c:412:23: style: Variable 'retval' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/sc/src/sc_containers.c:526:23: style: Variable 'newind' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/sc/src/sc_containers.c:620:33: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_containers.c:1410:23: style: Variable 'list' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/sc/src/sc_containers.c:1501:23: style: Variable 'list' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/sc/src/sc_containers.c:1520:23: style: Variable 'list' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/sc/src/sc_dmatrix.c:59:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_dmatrix_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_dmatrix.c:105:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_dmatrix_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_dmatrix.c:145:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_dmatrix_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_dmatrix.c:167:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_dmatrix_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_dmatrix.c:182:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_dmatrix_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_dmatrix.c:648:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Acols [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_dmatrix.c:674:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_NO_TRANS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_dmatrix.c:700:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_NO_TRANS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_dmatrix.c:729:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_NO_TRANS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_dmatrix.c:775:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_bint_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_dmatrix.c:805:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_dmatrix_pool_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_dmatrix.c:876:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_darray_work_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_dmatrix.c:57:40: style: Parameter 'dm' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_dmatrix.c:894:40: style: Parameter 'work' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_dmatrix.c:904:51: style: Parameter 'work' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_dmatrix.c:910:50: style: Parameter 'work' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_flops.c:129:31: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] p4est-2.3.6/sc/src/sc_functions.c:146:47: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_functions.c:152:46: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_functions.c:158:46: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_functions.c:164:46: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_functions.c:176:44: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_functions.c:182:44: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_functions.c:188:44: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_io.c:37:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_IO_TYPE_LAST [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_io.c:85:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_IO_TYPE_FILENAME [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_io.c:103:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_IO_TYPE_BUFFER [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_io.c:142:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_IO_TYPE_BUFFER [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_io.c:189:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_IO_TYPE_LAST [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_io.c:239:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_IO_TYPE_FILENAME [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_io.c:260:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_IO_TYPE_BUFFER [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_io.c:309:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_IO_ERROR_NONE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_io.c:348:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_IO_TYPE_BUFFER [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_io.c:370:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_IO_ERROR_FATAL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_io.c:440:33: style: Parameter 'vtkfile' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_io.c:440:48: style: Parameter 'numeric_data' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_io.c:60:18: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] p4est-2.3.6/sc/src/sc_io.c:206:18: error: va_list 'ap' was opened but not closed by va_end(). [va_end_missing] p4est-2.3.6/sc/src/sc_keyvalue.c:89:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_KEYVALUE_ENTRY_INT [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_keyvalue.c:137:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_keyvalue_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_keyvalue.c:165:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_KEYVALUE_ENTRY_NONE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_keyvalue.c:188:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_KEYVALUE_ENTRY_NONE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_keyvalue.c:221:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_KEYVALUE_ENTRY_NONE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_keyvalue.c:242:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_KEYVALUE_ENTRY_NONE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_keyvalue.c:264:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_KEYVALUE_ENTRY_NONE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_keyvalue.c:285:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_KEYVALUE_ENTRY_NONE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_keyvalue.c:310:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_KEYVALUE_ENTRY_NONE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_keyvalue.c:339:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_KEYVALUE_ENTRY_NONE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_keyvalue.c:370:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_KEYVALUE_ENTRY_NONE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_keyvalue.c:402:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_KEYVALUE_ENTRY_NONE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_keyvalue.c:433:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_KEYVALUE_ENTRY_NONE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:63:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:70:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_THREAD_SINGLE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:78:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:92:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:99:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:108:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:116:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:126:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:134:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:141:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_IDENT [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:153:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_GROUP_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:161:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_GROUP_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:169:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_GROUP_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:181:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_UNDEFINED [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:193:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_UNDEFINED [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:203:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_IDENT [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:216:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_GROUP_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:225:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_GROUP_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:234:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_GROUP_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:243:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_GROUP_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:252:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_GROUP_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:261:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_GROUP_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:270:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_GROUP_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:278:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:286:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:308:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lq [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:326:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nq [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:378:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:407:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:415:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:423:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:431:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:439:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:446:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:454:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:462:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:468:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_REQUEST_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:515:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_REQUEST_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:535:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_REQUEST_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:553:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_REQUEST_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:563:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_CHAR [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:759:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_mpi.c:61:19: style: Parameter 'argc' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:282:21: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:290:22: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:315:23: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:316:43: style: Parameter 'displ' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:364:22: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:404:22: style: Parameter 'sendbuf' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:404:37: style: Parameter 'recvbf' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:411:20: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:412:57: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:419:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:420:59: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:427:20: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:435:21: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:436:59: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:443:70: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:450:60: style: Parameter 'flag' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:451:32: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:458:35: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:459:24: style: Parameter 'count' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:466:31: style: Parameter 'request' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:466:56: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:503:48: style: Parameter 'array_of_requests' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:525:45: style: Parameter 'array_of_requests' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:526:33: style: Parameter 'array_of_statuses' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:543:45: style: Parameter 'array_of_requests' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:543:69: style: Parameter 'flag' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_mpi.c:544:33: style: Parameter 'array_of_statuses' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/sc/src/sc_notify.c:106:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_notify_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:162:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_NOTIFY_DEFAULT [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:289:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_Request [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:422:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_Request [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:509:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_int_compare [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:596:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_Request [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:688:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_Request [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:1079:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_INT [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:1229:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TAG_NOTIFY_NARY [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:1605:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_INT [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:2128:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_NOTIFY_RANGES [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:2135:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_NOTIFY_RANGES [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:2143:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_NOTIFY_RANGES [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:2150:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_NOTIFY_RANGES [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:2158:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_package_id [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:2245:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_Request [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:2420:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_Request [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:2575:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_TAG_NOTIFY_RECURSIVE [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:2751:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_SUCCESS [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:2869:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_Request [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:2956:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num_receivers [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:3006:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_NOTIFY_PEX [valueFlowBailoutIncompleteVar] p4est-2.3.6/sc/src/sc_notify.c:988:48: style: Condition 'pint[0]==psec[0]' is always true [knownConditionTrueFalse] p4est-2.3.6/sc/src/sc_notify.c:982:24: note: Assuming that condition 'pint[0]>psec[0]' is not redundant p4est-2.3.6/sc/src/sc_notify.c:978:19: note: Assuming that condition 'pint[0]quadrants!=NULL' is always true [knownConditionTrueFalse] p4est-2.3.6/src/p4est_mesh.c:1802:15: style: Condition 'lq<=neighbor_idx' is always true [knownConditionTrueFalse] p4est-2.3.6/src/p4est_mesh.c:1769:20: note: Assuming that condition 'neighbor_idxquadrants_offset' is not redundant p4est-2.3.6/src/p4est_search.c:227:39: note: Assignment 'the_quadrant_id=cumulative_id-tree->quadrants_offset', assigned value is greater than -1 p4est-2.3.6/src/p4est_search.c:228:23: note: Condition '0<=the_quadrant_id' is always true p4est-2.3.6/src/p4est_search.c:48:23: style: Variable 'my_begin_end' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p4est_search.c:779:68: style: Parameter 'data' can be declared as pointer to const. However it seems that 'p4est_traverse_type_tree' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/src/p4est_search.c:1459:19: note: You might need to cast the function pointer here p4est-2.3.6/src/p4est_search.c:779:68: note: Parameter 'data' can be declared as pointer to const p4est-2.3.6/src/p4est_vtk.c:882:21: error: There is an unknown macro here somewhere. Configuration is required. If P4EST_STRING is a macro then please configure it. [unknownMacro] p4est-2.3.6/src/p4est_wrap.c:50:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p4est_wrap.c:69:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p4est_wrap.c:113:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p4est_wrap.c:137:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p4est_wrap.c:159:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p4est_wrap.c:191:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_wrap_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p4est_wrap.c:241:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_wrap_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p4est_wrap.c:383:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p4est_wrap.c:535:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_WRAP_REFINE [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p4est_wrap.c:562:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_WRAP_REFINE [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p4est_wrap.c:594:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p4est_wrap.c:850:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable local_num_quadrants [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p4est_wrap.c:879:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_wrap_leaf_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p4est_wrap.c:99:38: style: Parameter 'q' can be declared as const array. However it seems that 'coarsen_callback' is a callback function, if 'q' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/src/p4est_wrap.c:615:35: note: You might need to cast the function pointer here p4est-2.3.6/src/p4est_wrap.c:99:38: note: Parameter 'q' can be declared as const array p4est-2.3.6/src/p4est_wrap.c:651:38: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'partition_weight' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/src/p4est_wrap.c:750:44: note: You might need to cast the function pointer here p4est-2.3.6/src/p4est_wrap.c:651:38: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/src/p4est_wrap.c:653:23: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est.c:57:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p6est_connectivity_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:121:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:140:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_ROOT_LEN [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:236:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p6est_connectivity_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:388:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p6est_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:480:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p6est_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:584:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p6est_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:716:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_locidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:938:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_locidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:1104:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:1211:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_MPI_GLOIDX [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:1266:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p2est_quadrant_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:1436:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_QMAXLEVEL [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:1568:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:1681:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p2est_quadrant_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:1883:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_gloidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:2179:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_gloidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:2246:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_gloidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:2318:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_gloidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:2379:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_locidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:2404:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_locidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:2489:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_QMAXLEVEL [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est.c:838:12: style: The if condition is the same as the previous if condition [duplicateCondition] p4est-2.3.6/src/p6est.c:818:12: note: First condition p4est-2.3.6/src/p6est.c:838:12: note: Second condition p4est-2.3.6/src/p6est.c:2038:17: style: Condition 'data_size' is always true [knownConditionTrueFalse] p4est-2.3.6/src/p6est.c:2029:13: note: Assuming that condition 'data_size' is not redundant p4est-2.3.6/src/p6est.c:2038:17: note: Condition 'data_size' is always true p4est-2.3.6/src/p6est.c:764:14: warning: Repositioning operation performed on a file opened in append mode has no effect. [seekOnAppendedFile] p4est-2.3.6/src/p6est.c:764:20: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] p4est-2.3.6/src/p6est.c:760:18: note: Assuming allocation function fails p4est-2.3.6/src/p6est.c:760:18: note: Assignment 'file=fopen(filename,"ab")', assigned value is 0 p4est-2.3.6/src/p6est.c:764:20: note: Null pointer dereference p4est-2.3.6/src/p6est.c:768:19: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] p4est-2.3.6/src/p6est.c:760:18: note: Assuming allocation function fails p4est-2.3.6/src/p6est.c:760:18: note: Assignment 'file=fopen(filename,"ab")', assigned value is 0 p4est-2.3.6/src/p6est.c:768:19: note: Null pointer dereference p4est-2.3.6/src/p6est.c:771:29: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] p4est-2.3.6/src/p6est.c:760:18: note: Assuming allocation function fails p4est-2.3.6/src/p6est.c:760:18: note: Assignment 'file=fopen(filename,"ab")', assigned value is 0 p4est-2.3.6/src/p6est.c:771:29: note: Null pointer dereference p4est-2.3.6/src/p6est.c:785:19: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] p4est-2.3.6/src/p6est.c:760:18: note: Assuming allocation function fails p4est-2.3.6/src/p6est.c:760:18: note: Assignment 'file=fopen(filename,"ab")', assigned value is 0 p4est-2.3.6/src/p6est.c:785:19: note: Null pointer dereference p4est-2.3.6/src/p6est.c:788:29: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] p4est-2.3.6/src/p6est.c:760:18: note: Assuming allocation function fails p4est-2.3.6/src/p6est.c:760:18: note: Assignment 'file=fopen(filename,"ab")', assigned value is 0 p4est-2.3.6/src/p6est.c:788:29: note: Null pointer dereference p4est-2.3.6/src/p6est.c:797:19: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] p4est-2.3.6/src/p6est.c:760:18: note: Assuming allocation function fails p4est-2.3.6/src/p6est.c:760:18: note: Assignment 'file=fopen(filename,"ab")', assigned value is 0 p4est-2.3.6/src/p6est.c:797:19: note: Null pointer dereference p4est-2.3.6/src/p6est.c:800:29: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] p4est-2.3.6/src/p6est.c:760:18: note: Assuming allocation function fails p4est-2.3.6/src/p6est.c:760:18: note: Assignment 'file=fopen(filename,"ab")', assigned value is 0 p4est-2.3.6/src/p6est.c:800:29: note: Null pointer dereference p4est-2.3.6/src/p6est.c:844:21: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] p4est-2.3.6/src/p6est.c:825:18: note: Assuming allocation function fails p4est-2.3.6/src/p6est.c:825:18: note: Assignment 'file=fopen(filename,"rb+")', assigned value is 0 p4est-2.3.6/src/p6est.c:844:21: note: Null pointer dereference p4est-2.3.6/src/p6est.c:2512:23: style: Variable 'p6est->user_pointer' is reassigned a value before the old one has been used. [redundantAssignment] p4est-2.3.6/src/p6est.c:2498:25: note: p6est->user_pointer is assigned p4est-2.3.6/src/p6est.c:2512:23: note: p6est->user_pointer is overwritten p4est-2.3.6/src/p6est.c:1026:25: style: Local variable 'loaddata' shadows outer variable [shadowVariable] p4est-2.3.6/src/p6est.c:924:23: note: Shadowed declaration p4est-2.3.6/src/p6est.c:1026:25: note: Shadow variable p4est-2.3.6/src/p6est.c:55:33: style: Parameter 'top_vertices' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est.c:55:54: style: Parameter 'height' can be declared as const array [constParameter] p4est-2.3.6/src/p6est.c:98:49: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est.c:611:27: style: Variable 'inlayer' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est.c:924:23: style: Variable 'loaddata' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est.c:928:23: style: Variable 'gfl' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est.c:1037:27: style: Variable 'loadlayer' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est.c:1412:45: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est.c:1412:67: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est.c:1418:70: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est.c:2234:54: style: Parameter 'num_layers_in_proc' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est.c:2441:25: style: Variable 'layer' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est.c:2455:52: style: Parameter 'column' can be declared as pointer to const. However it seems that 'p6est_layer_refine_thick_layer' is a callback function, if 'column' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/src/p6est.c:2529:44: note: You might need to cast the function pointer here p4est-2.3.6/src/p6est.c:2455:52: note: Parameter 'column' can be declared as pointer to const p4est-2.3.6/src/p6est.c:2456:52: style: Parameter 'layer' can be declared as pointer to const. However it seems that 'p6est_layer_refine_thick_layer' is a callback function, if 'layer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/src/p6est.c:2529:44: note: You might need to cast the function pointer here p4est-2.3.6/src/p6est.c:2456:52: note: Parameter 'layer' can be declared as pointer to const p4est-2.3.6/src/p6est.c:2570:39: style: Parameter 'quadrants' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est.c:2571:39: style: Parameter 'checkarray' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est.c:2616:27: style: Parameter 'p6est' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est.c:1274:34: style: Variable 'parent' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/src/p6est_communication.c:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_communication.c:105:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_communication.c:112:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_GROUP_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_communication.c:170:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_gloidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_communication.c:103:44: style: Parameter 'p6est' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est_communication.c:123:23: style: Variable 'global_first_layer' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_ghost.c:47:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p2est_quadrant_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_ghost.c:97:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_Request [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_ghost.c:487:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p6est_ghost_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_ghost.c:574:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_locidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_ghost.c:65:49: style: Parameter 'recv_off' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est_ghost.c:66:49: style: Parameter 'recv_count' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est_ghost.c:76:23: style: Variable 'cmpfo' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_ghost.c:77:23: style: Variable 'cmpf' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_ghost.c:90:23: style: Variable 'layer' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_ghost.c:214:27: style: Variable 'ppz' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_ghost.c:404:37: style: Parameter 'p6est' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est_ghost.c:409:45: style: Variable 'cproc_off' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_ghost.c:409:57: style: Variable 'ctree_off' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_ghost.c:486:23: style: Variable 'cghost' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_lnodes.c:72:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_locidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_lnodes.c:414:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_gloidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_lnodes.c:363:26: style: Variable 'crank' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_lnodes.c:129:12: style: Variable 'mpiret' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/src/p6est_profile.c:531:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p6est_profile_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_profile.c:740:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P8EST_CONNECT_FACE [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_profile.c:913:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_locidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_profile.c:1181:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p2est_quadrant_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_profile.c:364:23: style: Variable 'en' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_profile.c:415:42: style: Parameter 'p6est' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est_profile.c:532:23: style: Variable 'lnodes' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_profile.c:541:23: style: Variable 'en' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_profile.c:544:23: style: Variable 'layer' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_profile.c:717:23: style: Variable 'lnodes' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_profile.c:719:23: style: Variable 'en' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_profile.c:935:27: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_profile.c:964:27: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_profile.c:1019:27: style: Variable 'c' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_profile.c:1171:23: style: Variable 'en' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_vtk.c:81:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_vtk.c:152:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_ROOT_LEN [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_vtk.c:578:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_vtk.c:686:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p6est_vtk.c:142:35: style: Parameter 'p6est' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est_vtk.c:148:23: style: Variable 'p4est' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p6est_vtk.c:676:41: style: Parameter 'p6est' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est_vtk.c:684:35: style: Parameter 'p4est' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p6est_vtk.c:168:52: style: Variable 'eta_z' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/src/p8est_bits.c:31:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_DIM [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_bits.c:43:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_FACES [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_bits.c:173:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_quadrant_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_bits.c:317:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_FACES [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_bits.c:392:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_MAXLEVEL [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_bits.c:479:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_DIM [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_bits.c:165:27: style: Variable 'et' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/src/p8est_bits.c:207:12: style: Variable 'qp' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/src/p8est_bits.c:208:12: style: Variable 'tp' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/src/p8est_bits.c:252:10: style: Variable 'qp' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/src/p8est_bits.c:253:10: style: Variable 'tp' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/src/p8est_connectivity.c:215:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_connectivity.c:1351:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P8EST_EDGES [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_connectivity.c:1484:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_HALF [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_connectivity.c:1503:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P8EST_EDGES [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_connectivity.c:1535:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_connectivity.c:1556:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P8EST_EDGES [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_connectivity.c:1071:11: style: Variable 'iTree' is reassigned a value before the old one has been used. [redundantAssignment] p4est-2.3.6/src/p8est_connectivity.c:1050:12: note: iTree is assigned p4est-2.3.6/src/p8est_connectivity.c:1071:11: note: iTree is overwritten p4est-2.3.6/src/p8est_geometry.c:104:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_1000_EPS [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_geometry.c:192:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_1000_EPS [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_geometry.c:355:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_1000_EPS [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_geometry.c:79:35: style: union member 'Anonymous1::type' is never used. [unusedStructMember] p4est-2.3.6/src/p8est_geometry.c:337:26: style: Variable 'y' is not assigned a value. [unassignedVariable] p4est-2.3.6/src/p8est_tets_hexes.c:90:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_TOPIDX_MAX [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_tets_hexes.c:167:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_TOPIDX_MAX [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_tets_hexes.c:250:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_tets_hexes.c:407:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_topidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_tets_hexes.c:435:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_topidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_tets_hexes.c:500:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_topidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_tets_hexes.c:528:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_topidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_tets_hexes.c:642:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P8EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/src/p8est_tets_hexes.c:309:64: style: Parameter 'tet' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p8est_tets_hexes.c:382:59: style: Parameter 'tet' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p8est_tets_hexes.c:474:59: style: Parameter 'tet' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/src/p8est_tets_hexes.c:666:23: style: Variable 'pint' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_all6.c:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_all6.c:166:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_all6.c:108:20: style: Parameter 'p6est' can be declared as pointer to const. However it seems that 'init_fn' is a callback function, if 'p6est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_all6.c:337:45: note: You might need to cast the function pointer here p4est-2.3.6/test/test_all6.c:108:20: note: Parameter 'p6est' can be declared as pointer to const p4est-2.3.6/test/test_all6.c:109:29: style: Parameter 'col' can be declared as pointer to const. However it seems that 'init_fn' is a callback function, if 'col' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_all6.c:337:45: note: You might need to cast the function pointer here p4est-2.3.6/test/test_all6.c:109:29: note: Parameter 'col' can be declared as pointer to const p4est-2.3.6/test/test_all6.c:109:53: style: Parameter 'layer' can be declared as pointer to const. However it seems that 'init_fn' is a callback function, if 'layer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_all6.c:337:45: note: You might need to cast the function pointer here p4est-2.3.6/test/test_all6.c:109:53: note: Parameter 'layer' can be declared as pointer to const p4est-2.3.6/test/test_all6.c:116:30: style: Parameter 'p6est' can be declared as pointer to const. However it seems that 'coarsen_column_fn' is a callback function, if 'p6est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_all6.c:267:41: note: You might need to cast the function pointer here p4est-2.3.6/test/test_all6.c:116:30: note: Parameter 'p6est' can be declared as pointer to const p4est-2.3.6/test/test_all6.c:117:39: style: Parameter 'column' can be declared as const array. However it seems that 'coarsen_column_fn' is a callback function, if 'column' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_all6.c:267:41: note: You might need to cast the function pointer here p4est-2.3.6/test/test_all6.c:117:39: note: Parameter 'column' can be declared as const array p4est-2.3.6/test/test_all6.c:123:22: style: Parameter 'p6est' can be declared as pointer to const. However it seems that 'weight_fn' is a callback function, if 'p6est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_all6.c:347:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_all6.c:123:22: note: Parameter 'p6est' can be declared as pointer to const p4est-2.3.6/test/test_all6.c:124:31: style: Parameter 'col' can be declared as pointer to const. However it seems that 'weight_fn' is a callback function, if 'col' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_all6.c:347:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_all6.c:124:31: note: Parameter 'col' can be declared as pointer to const p4est-2.3.6/test/test_all6.c:124:55: style: Parameter 'layer' can be declared as pointer to const. However it seems that 'weight_fn' is a callback function, if 'layer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_all6.c:347:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_all6.c:124:55: note: Parameter 'layer' can be declared as pointer to const p4est-2.3.6/test/test_all6.c:130:29: style: Parameter 'p6est' can be declared as pointer to const. However it seems that 'coarsen_layer_fn' is a callback function, if 'p6est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_all6.c:278:40: note: You might need to cast the function pointer here p4est-2.3.6/test/test_all6.c:130:29: note: Parameter 'p6est' can be declared as pointer to const p4est-2.3.6/test/test_all6.c:131:38: style: Parameter 'column' can be declared as pointer to const. However it seems that 'coarsen_layer_fn' is a callback function, if 'column' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_all6.c:278:40: note: You might need to cast the function pointer here p4est-2.3.6/test/test_all6.c:131:38: note: Parameter 'column' can be declared as pointer to const p4est-2.3.6/test/test_all6.c:131:65: style: Parameter 'layers' can be declared as const array. However it seems that 'coarsen_layer_fn' is a callback function, if 'layers' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_all6.c:278:40: note: You might need to cast the function pointer here p4est-2.3.6/test/test_all6.c:131:65: note: Parameter 'layers' can be declared as const array p4est-2.3.6/test/test_balance2.c:63:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_balance2.c:108:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_balance2.c:46:20: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'init_fn' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_balance2.c:175:31: note: You might need to cast the function pointer here p4est-2.3.6/test/test_balance2.c:46:20: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_balance2.c:47:29: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'init_fn' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_balance2.c:175:31: note: You might need to cast the function pointer here p4est-2.3.6/test/test_balance2.c:47:29: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/test/test_balance_seeds2.c:93:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_quadrant_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_balance_seeds2.c:283:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_quadrant_compare [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_balance_seeds2.c:330:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_balance_seeds2.c:34:32: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/test/test_balance_type2.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_balance_type2.c:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_brick2.c:66:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_brick2.c:449:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_brick2.c:44:37: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/test/test_brick2.c:55:23: style: Variable 'tree_to_vertex' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_brick2.c:56:23: style: Variable 'tree_to_corner' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_brick2.c:57:23: style: Variable 'tree_to_tree' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_brick2.c:58:23: style: Variable 'tree_to_face' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_brick2.c:59:23: style: Variable 'ctt_offset' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_brick2.c:60:23: style: Variable 'corner_to_tree' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_brick2.c:61:23: style: Variable 'corner_to_corner' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_coarsen2.c:58:37: error: There is an unknown macro here somewhere. Configuration is required. If P4EST_STRING is a macro then please configure it. [unknownMacro] p4est-2.3.6/test/test_comm.c:70:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_gloidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_comm.c:90:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_comm.c:45:22: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'refine_fn' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_comm.c:107:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_comm.c:45:22: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_comm.c:46:31: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'refine_fn' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_comm.c:107:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_comm.c:46:31: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/test/test_complete_subtree.c:79:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_DIM [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_complete_subtree.c:150:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_complete_subtree.c:47:39: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'test_build_refine' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_complete_subtree.c:89:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_complete_subtree.c:47:39: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/test/test_complete_subtree.c:74:39: style: Variable 'subtree' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/test/test_conn_complete2.c:42:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_conn_complete2.c:79:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_conn_complete2.c:56:9: style: Condition '0&&test_p4est' is always false [knownConditionTrueFalse] p4est-2.3.6/test/test_conn_reduce2.c:55:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_conn_transformation2.c:53:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_face_corners [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_conn_transformation2.c:93:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_HALF [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_conn_transformation2.c:191:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_connrefine2.c:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_edge_face_corners3.c:42:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p8est_edge_corners [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_edge_face_corners3.c:69:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_face_transform3.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_ghost2.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_ghost2.c:394:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_hash.c:101:6: style: Variable 'f1' is reassigned a value before the old one has been used. [redundantAssignment] p4est-2.3.6/test/test_hash.c:89:6: note: f1 is assigned p4est-2.3.6/test/test_hash.c:101:6: note: f1 is overwritten p4est-2.3.6/test/test_hash.c:101:11: style: Variable 'f2' is reassigned a value before the old one has been used. [redundantAssignment] p4est-2.3.6/test/test_hash.c:91:6: note: f2 is assigned p4est-2.3.6/test/test_hash.c:101:11: note: f2 is overwritten p4est-2.3.6/test/test_hash.c:122:6: style: Variable 'f2' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/test/test_iterate2.c:57:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_iterate2.c:207:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_DIM [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_iterate2.c:278:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_QMAXLEVEL [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_iterate2.c:638:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_iterate2.c:728:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CONNECT_FACE [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_iterate2.c:779:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_iterate2.c:859:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_iterate2.c:159:5: style: Redundant initialization for 'q'. The initialized value is overwritten before it is read. [redundantInitialization] p4est-2.3.6/test/test_iterate2.c:148:25: note: q is initialized p4est-2.3.6/test/test_iterate2.c:159:5: note: q is overwritten p4est-2.3.6/test/test_iterate2.c:144:63: style: Parameter 'side' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/test/test_iterate2.c:148:23: style: Variable 'q' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_iterate2.c:153:23: style: Variable 'tree' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_iterate2.c:617:23: style: Variable 'tree' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_iterate2.c:817:23: style: Variable 'tree' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_join2.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_lnodes2.c:89:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_lnodes2.c:149:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_ROOT_LEN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_lnodes2.c:182:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_FTRANSFORM [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_lnodes2.c:606:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_FACES [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_lnodes2.c:832:39: error: Array 'hface[0]' accessed at index -1, which is out of bounds. [negativeIndex] p4est-2.3.6/test/test_lnodes2.c:826:35: note: Assignment 'f=(ib>=0)?ib:(jb>=0)?2+jb:-1', assigned value is -1 p4est-2.3.6/test/test_lnodes2.c:832:39: note: Negative array index p4est-2.3.6/test/test_lnodes2.c:277:9: style: Variable 'a_f' is reassigned a value before the old one has been used. [redundantAssignment] p4est-2.3.6/test/test_lnodes2.c:276:9: note: a_f is assigned p4est-2.3.6/test/test_lnodes2.c:277:9: note: a_f is overwritten p4est-2.3.6/test/test_lnodes2.c:285:9: style: Variable 'b_f' is reassigned a value before the old one has been used. [redundantAssignment] p4est-2.3.6/test/test_lnodes2.c:284:9: note: b_f is assigned p4est-2.3.6/test/test_lnodes2.c:285:9: note: b_f is overwritten p4est-2.3.6/test/test_lnodes2.c:167:38: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/test/test_load2.c:66:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_loadsave2.c:74:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_loadsave2.c:122:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_gloidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_loadsave2.c:162:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_loadsave2.c:303:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_mesh_bijective2.c:69:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_FACES [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_mesh_bijective2.c:132:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_FACES [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_mesh_bijective2.c:253:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_FACES [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_mesh_bijective2.c:561:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CONNECT_FULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_mesh_bijective2.c:599:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_FACES [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_mesh_bijective2.c:687:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CONNECT_FULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_mesh_bijective2.c:740:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_mesh_bijective2.c:580:23: style: Condition 'p4est==NULL' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_bijective2.c:579:11: note: Assignment 'p4est=0', assigned value is 0 p4est-2.3.6/test/test_mesh_bijective2.c:580:23: note: Condition 'p4est==NULL' is always true p4est-2.3.6/test/test_mesh_bijective2.c:581:22: style: Condition 'conn==NULL' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_bijective2.c:578:10: note: Assignment 'conn=0', assigned value is 0 p4est-2.3.6/test/test_mesh_bijective2.c:581:22: note: Condition 'conn==NULL' is always true p4est-2.3.6/test/test_mesh_bijective2.c:639:29: style: Condition 'p4est==NULL' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_bijective2.c:638:17: note: Assignment 'p4est=0', assigned value is 0 p4est-2.3.6/test/test_mesh_bijective2.c:639:29: note: Condition 'p4est==NULL' is always true p4est-2.3.6/test/test_mesh_bijective2.c:640:28: style: Condition 'conn==NULL' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_bijective2.c:637:16: note: Assignment 'conn=0', assigned value is 0 p4est-2.3.6/test/test_mesh_bijective2.c:640:28: note: Condition 'conn==NULL' is always true p4est-2.3.6/test/test_mesh_bijective2.c:707:23: style: Condition 'p4est==NULL' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_bijective2.c:706:11: note: Assignment 'p4est=0', assigned value is 0 p4est-2.3.6/test/test_mesh_bijective2.c:707:23: note: Condition 'p4est==NULL' is always true p4est-2.3.6/test/test_mesh_bijective2.c:708:22: style: Condition 'conn==NULL' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_bijective2.c:705:10: note: Assignment 'conn=0', assigned value is 0 p4est-2.3.6/test/test_mesh_bijective2.c:708:22: note: Condition 'conn==NULL' is always true p4est-2.3.6/test/test_mesh_bijective2.c:758:7: style: Condition 'test_single' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_bijective2.c:752:17: note: Assignment 'test_single=1', assigned value is 1 p4est-2.3.6/test/test_mesh_bijective2.c:758:7: note: Condition 'test_single' is always true p4est-2.3.6/test/test_mesh_bijective2.c:767:7: style: Condition 'test_two_trees' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_bijective2.c:753:20: note: Assignment 'test_two_trees=1', assigned value is 1 p4est-2.3.6/test/test_mesh_bijective2.c:767:7: note: Condition 'test_two_trees' is always true p4est-2.3.6/test/test_mesh_bijective2.c:773:7: style: Condition 'test_multi_brick' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_bijective2.c:754:22: note: Assignment 'test_multi_brick=1', assigned value is 1 p4est-2.3.6/test/test_mesh_bijective2.c:773:7: note: Condition 'test_multi_brick' is always true p4est-2.3.6/test/test_mesh_bijective2.c:783:7: style: Condition 'test_multi_non_brick' is always false [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_bijective2.c:755:26: note: Assignment 'test_multi_non_brick=0', assigned value is 0 p4est-2.3.6/test/test_mesh_bijective2.c:783:7: note: Condition 'test_multi_non_brick' is always false p4est-2.3.6/test/test_mesh_bijective2.c:721:46: style: Parameter 'p4est' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/test/test_mesh_bijective2.c:722:59: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/test/test_mesh_optical2.c:133:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_STRING [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_mesh_optical2.c:188:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_FACES [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_mesh_optical2.c:455:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_STRING [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_mesh_optical2.c:521:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_STRING [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_mesh_optical2.c:580:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_mesh_optical2.c:201:11: style: Condition 'printFaces' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_optical2.c:172:36: note: Assignment 'printFaces=1', assigned value is 1 p4est-2.3.6/test/test_mesh_optical2.c:201:11: note: Condition 'printFaces' is always true p4est-2.3.6/test/test_mesh_optical2.c:323:11: style: Condition 'printFaces' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_optical2.c:172:36: note: Assignment 'printFaces=1', assigned value is 1 p4est-2.3.6/test/test_mesh_optical2.c:323:11: note: Condition 'printFaces' is always true p4est-2.3.6/test/test_mesh_optical2.c:481:23: style: Condition 'p4est==NULL' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_optical2.c:480:11: note: Assignment 'p4est=0', assigned value is 0 p4est-2.3.6/test/test_mesh_optical2.c:481:23: note: Condition 'p4est==NULL' is always true p4est-2.3.6/test/test_mesh_optical2.c:482:22: style: Condition 'conn==NULL' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_optical2.c:479:10: note: Assignment 'conn=0', assigned value is 0 p4est-2.3.6/test/test_mesh_optical2.c:482:22: note: Condition 'conn==NULL' is always true p4est-2.3.6/test/test_mesh_optical2.c:548:23: style: Condition 'p4est==NULL' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_optical2.c:547:11: note: Assignment 'p4est=0', assigned value is 0 p4est-2.3.6/test/test_mesh_optical2.c:548:23: note: Condition 'p4est==NULL' is always true p4est-2.3.6/test/test_mesh_optical2.c:549:22: style: Condition 'conn==NULL' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_optical2.c:546:10: note: Assignment 'conn=0', assigned value is 0 p4est-2.3.6/test/test_mesh_optical2.c:549:22: note: Condition 'conn==NULL' is always true p4est-2.3.6/test/test_mesh_optical2.c:596:7: style: Condition 'test_single' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_optical2.c:591:17: note: Assignment 'test_single=1', assigned value is 1 p4est-2.3.6/test/test_mesh_optical2.c:596:7: note: Condition 'test_single' is always true p4est-2.3.6/test/test_mesh_optical2.c:605:7: style: Condition 'test_multi_brick' is always false [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_optical2.c:592:22: note: Assignment 'test_multi_brick=0', assigned value is 0 p4est-2.3.6/test/test_mesh_optical2.c:605:7: note: Condition 'test_multi_brick' is always false p4est-2.3.6/test/test_mesh_optical2.c:615:7: style: Condition 'test_multi_non_brick' is always false [knownConditionTrueFalse] p4est-2.3.6/test/test_mesh_optical2.c:593:26: note: Assignment 'test_multi_non_brick=0', assigned value is 0 p4est-2.3.6/test/test_mesh_optical2.c:615:7: note: Condition 'test_multi_non_brick' is always false p4est-2.3.6/test/test_mesh_optical2.c:315:5: warning: %i in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] p4est-2.3.6/test/test_mesh_optical2.c:71:23: style: Variable 'data' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_mesh_optical2.c:85:23: style: Variable 'tree' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_mesh_optical2.c:147:30: style: Parameter 'p4est' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/test/test_mesh_optical2.c:148:39: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/test/test_mesh_optical2.c:170:19: style: Parameter 'scenario' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/test/test_mesh_optical2.c:561:46: style: Parameter 'p4est' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/test/test_mesh_optical2.c:563:36: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/test/test_mesh_optical2.c:177:33: style: Variable 'direction' is assigned a value that is never used. [unreadVariable] p4est-2.3.6/test/test_nodes2.c:39:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_QMAXLEVEL [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_nodes2.c:65:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_nodes2.c:36:22: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'refine_fn' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_nodes2.c:79:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_nodes2.c:36:22: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_nodes2.c:37:31: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'refine_fn' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_nodes2.c:79:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_nodes2.c:37:31: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/test/test_order.c:122:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_ROOT_LEN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_order.c:349:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_order.c:77:23: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'weight_one' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_order.c:395:30: note: You might need to cast the function pointer here p4est-2.3.6/test/test_order.c:77:23: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_order.c:78:32: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'weight_one' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_order.c:395:30: note: You might need to cast the function pointer here p4est-2.3.6/test/test_order.c:78:32: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/test/test_order.c:120:66: style: Parameter 'connectivity' can be declared as pointer to const [constParameterPointer] p4est-2.3.6/test/test_order.c:123:23: style: Variable 'vertices' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_order.c:133:23: style: Variable 'tree_to_vertex' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_order.c:140:23: style: Variable 'quadrant_to_local_vertex' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_order.c:328:24: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'weight_once' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_order.c:375:30: note: You might need to cast the function pointer here p4est-2.3.6/test/test_order.c:328:24: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_order.c:329:33: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'weight_once' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_order.c:375:30: note: You might need to cast the function pointer here p4est-2.3.6/test/test_order.c:329:33: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/test/test_partition2.c:174:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_gloidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_partition2.c:290:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_gloidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_partition2.c:338:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_locidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_partition2.c:432:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_partition2.c:58:22: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'refine_fn' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_partition2.c:454:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_partition2.c:58:22: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_partition2.c:59:31: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'refine_fn' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_partition2.c:454:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_partition2.c:59:31: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/test/test_partition2.c:82:23: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'weight_one' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_partition2.c:504:30: note: You might need to cast the function pointer here p4est-2.3.6/test/test_partition2.c:82:23: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_partition2.c:83:32: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'weight_one' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_partition2.c:504:30: note: You might need to cast the function pointer here p4est-2.3.6/test/test_partition2.c:83:32: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/test/test_partition2.c:89:24: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'weight_once' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_partition2.c:543:29: note: You might need to cast the function pointer here p4est-2.3.6/test/test_partition2.c:89:24: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_partition2.c:90:33: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'weight_once' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_partition2.c:543:29: note: You might need to cast the function pointer here p4est-2.3.6/test/test_partition2.c:90:33: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/test/test_partition2.c:101:33: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'traverse_fn' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_partition2.c:308:37: note: You might need to cast the function pointer here p4est-2.3.6/test/test_partition2.c:101:33: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/test/test_partition2.c:101:72: style: Parameter 'point' can be declared as pointer to const. However it seems that 'traverse_fn' is a callback function, if 'point' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_partition2.c:308:37: note: You might need to cast the function pointer here p4est-2.3.6/test/test_partition2.c:101:72: note: Parameter 'point' can be declared as pointer to const p4est-2.3.6/test/test_partition2.c:162:23: style: Variable 'quad' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_partition2.c:425:23: style: Variable 'user_data' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_partition_corr2.c:87:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_partition_corr2.c:95:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_partition_corr2.c:87:10: style: Return value 'coarsen_all' is always true [knownConditionTrueFalse] p4est-2.3.6/test/test_partition_corr2.c:58:22: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'refine_fn' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_partition_corr2.c:134:34: note: You might need to cast the function pointer here p4est-2.3.6/test/test_partition_corr2.c:58:22: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_partition_corr2.c:59:31: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'refine_fn' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_partition_corr2.c:134:34: note: You might need to cast the function pointer here p4est-2.3.6/test/test_partition_corr2.c:59:31: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/test/test_periodic3.c:45:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p8est_face_dual [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_periodic3.c:134:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p8est_face_dual [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_periodic3.c:261:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p8est_edge_transform_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_periodic3.c:319:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_NULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_periodic3.c:39:29: style: Variable 'ct' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_periodic3.c:124:29: style: Variable 'ct' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_periodic3.c:207:29: style: Variable 'ct' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_plex2.c:135:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_plex2.c:186:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p4est_locidx_t [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_plex2.c:314:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_plex2.c:346:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_plex2.c:383:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_plex2.c:327:7: style: Condition 'mpiret' is always false [knownConditionTrueFalse] p4est-2.3.6/test/test_plex2.c:326:24: note: Calling function 'test_forest' returns 0 p4est-2.3.6/test/test_plex2.c:326:24: note: Assignment 'mpiret=test_forest(argc,argv,p4est,2)', assigned value is 0 p4est-2.3.6/test/test_plex2.c:327:7: note: Condition 'mpiret' is always false p4est-2.3.6/test/test_plex2.c:357:7: style: Condition 'mpiret' is always false [knownConditionTrueFalse] p4est-2.3.6/test/test_plex2.c:356:24: note: Calling function 'test_forest' returns 0 p4est-2.3.6/test/test_plex2.c:356:24: note: Assignment 'mpiret=test_forest(argc,argv,p4est,0)', assigned value is 0 p4est-2.3.6/test/test_plex2.c:357:7: note: Condition 'mpiret' is always false p4est-2.3.6/test/test_plex2.c:364:7: style: Condition 'mpiret' is always false [knownConditionTrueFalse] p4est-2.3.6/test/test_plex2.c:363:24: note: Calling function 'test_forest' returns 0 p4est-2.3.6/test/test_plex2.c:363:24: note: Assignment 'mpiret=test_forest(argc,argv,p4est,0)', assigned value is 0 p4est-2.3.6/test/test_plex2.c:364:7: note: Condition 'mpiret' is always false p4est-2.3.6/test/test_plex2.c:162:31: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'refine_tree_one_fn' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_plex2.c:354:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_plex2.c:162:31: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_plex2.c:163:40: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'refine_tree_one_fn' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_plex2.c:354:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_plex2.c:163:40: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/test/test_quadrants2.c:64:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_quadrants2.c:166:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_QMAXLEVEL [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_quadrants2.c:30:24: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'refine_none' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_quadrants2.c:191:28: note: You might need to cast the function pointer here p4est-2.3.6/test/test_quadrants2.c:30:24: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_quadrants2.c:30:77: style: Parameter 'q' can be declared as pointer to const. However it seems that 'refine_none' is a callback function, if 'q' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_quadrants2.c:191:28: note: You might need to cast the function pointer here p4est-2.3.6/test/test_quadrants2.c:30:77: note: Parameter 'q' can be declared as pointer to const p4est-2.3.6/test/test_quadrants2.c:36:24: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'refine_some' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_quadrants2.c:192:28: note: You might need to cast the function pointer here p4est-2.3.6/test/test_quadrants2.c:36:24: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_quadrants2.c:36:77: style: Parameter 'q' can be declared as pointer to const. However it seems that 'refine_some' is a callback function, if 'q' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_quadrants2.c:192:28: note: You might need to cast the function pointer here p4est-2.3.6/test/test_quadrants2.c:36:77: note: Parameter 'q' can be declared as pointer to const p4est-2.3.6/test/test_quadrants3.c:65:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_quadrants3.c:178:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_QMAXLEVEL [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_quadrants3.c:31:24: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'refine_none' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_quadrants3.c:210:28: note: You might need to cast the function pointer here p4est-2.3.6/test/test_quadrants3.c:31:24: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_quadrants3.c:31:77: style: Parameter 'q' can be declared as pointer to const. However it seems that 'refine_none' is a callback function, if 'q' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_quadrants3.c:210:28: note: You might need to cast the function pointer here p4est-2.3.6/test/test_quadrants3.c:31:77: note: Parameter 'q' can be declared as pointer to const p4est-2.3.6/test/test_quadrants3.c:37:24: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'refine_some' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_quadrants3.c:211:28: note: You might need to cast the function pointer here p4est-2.3.6/test/test_quadrants3.c:37:24: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_quadrants3.c:37:77: style: Parameter 'q' can be declared as pointer to const. However it seems that 'refine_some' is a callback function, if 'q' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_quadrants3.c:211:28: note: You might need to cast the function pointer here p4est-2.3.6/test/test_quadrants3.c:37:77: note: Parameter 'q' can be declared as pointer to const p4est-2.3.6/test/test_reorder2.c:42:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_replace2.c:57:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_replace2.c:89:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable y [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_replace2.c:100:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CHILDREN [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_replace2.c:130:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_search2.c:145:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LP_INFO [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_search2.c:406:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ip [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_search2.c:456:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_DIM [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_search2.c:564:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_search2.c:83:23: style: Parameter 'point' can be declared as pointer to const. However it seems that 'count_callback' is a callback function, if 'point' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_search2.c:642:33: note: You might need to cast the function pointer here p4est-2.3.6/test/test_search2.c:83:23: note: Parameter 'point' can be declared as pointer to const p4est-2.3.6/test/test_search2.c:103:28: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'search_callback' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_search2.c:632:39: note: You might need to cast the function pointer here p4est-2.3.6/test/test_search2.c:103:28: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_search2.c:168:39: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'test_build_refine' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_search2.c:470:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_search2.c:168:39: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/test/test_search2.c:181:31: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'test_build_coarsen' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_search2.c:490:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_search2.c:181:31: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_search2.c:182:40: style: Parameter 'quadrants' can be declared as const array. However it seems that 'test_build_coarsen' is a callback function, if 'quadrants' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_search2.c:490:27: note: You might need to cast the function pointer here p4est-2.3.6/test/test_search2.c:182:40: note: Parameter 'quadrants' can be declared as const array p4est-2.3.6/test/test_search2.c:212:32: style: Parameter 'p4est' can be declared as pointer to const. However it seems that 'test_search_local_2' is a callback function, if 'p4est' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_search2.c:487:33: note: You might need to cast the function pointer here p4est-2.3.6/test/test_search2.c:212:32: note: Parameter 'p4est' can be declared as pointer to const p4est-2.3.6/test/test_search2.c:213:41: style: Parameter 'quadrant' can be declared as pointer to const. However it seems that 'test_search_local_2' is a callback function, if 'quadrant' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_search2.c:487:33: note: You might need to cast the function pointer here p4est-2.3.6/test/test_search2.c:213:41: note: Parameter 'quadrant' can be declared as pointer to const p4est-2.3.6/test/test_search2.c:214:28: style: Parameter 'point' can be declared as pointer to const. However it seems that 'test_search_local_2' is a callback function, if 'point' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_search2.c:487:33: note: You might need to cast the function pointer here p4est-2.3.6/test/test_search2.c:214:28: note: Parameter 'point' can be declared as pointer to const p4est-2.3.6/test/test_search2.c:272:23: style: Variable 'quadrant' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_search2.c:359:23: style: Variable 'quadrant' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_search2.c:393:28: style: Parameter 'point' can be declared as pointer to const. However it seems that 'test_search_point_5' is a callback function, if 'point' is declared with const you might also need to cast function pointer(s). [constParameterCallback] p4est-2.3.6/test/test_search2.c:531:39: note: You might need to cast the function pointer here p4est-2.3.6/test/test_search2.c:393:28: note: Parameter 'point' can be declared as pointer to const p4est-2.3.6/test/test_subcomm2.c:43:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_STRING [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_valid2.c:54:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CONNECT_FULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_valid2.c:89:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_valid2.c:131:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_CONNECT_FULL [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_valid2.c:169:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P4EST_QCOORD_MAX [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_valid2.c:195:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_version.c:41:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sc_MPI_COMM_WORLD [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_wrap2.c:94:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SC_LP_PRODUCTION [valueFlowBailoutIncompleteVar] p4est-2.3.6/test/test_wrap2.c:99:23: style: Variable 'ghost' can be declared as pointer to const [constVariablePointer] p4est-2.3.6/test/test_wrap2.c:100:23: style: Variable 'mesh' can be declared as pointer to const [constVariablePointer] diff: head p4est-2.3.6/example/timings/tsearch3.c:36:2: error: #error "This program is currently intended for 3D only" [preprocessorErrorDirective] head p4est-2.3.6/sc/src/sc_avl.c:89:2: error: #error No balancing possible. [preprocessorErrorDirective] head p4est-2.3.6/sc/src/sc_containers.c:1645:42: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head p4est-2.3.6/sc/src/sc_containers.c:1669:49: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] DONE