INFO: No output directory specified (--dir) INFO: Using directory: "BTsimple_20250814_160749" INFO: Regenerating c-file: BTsimple.c DEBUG: CMD: /home/willend/micromamba/bin/mcstas -t -o ./BTsimple.c BTsimple.instr CFLAGS= ----------------------------------------------------------- Generating single GPU kernel or single CPU section layout: ----------------------------------------------------------- Generating GPU/CPU -DFUNNEL layout: ----------------------------------------------------------- DEBUG: CMD: /home/willend/micromamba/bin/mcstas finished INFO: Linting generated code: ./BTsimple.c DEBUG: CMD: cppcheck ./BTsimple.c --check-level=exhaustive --force -DMCDEFAULT_NCOUNT=1000000 -UMC_PORTABLE -DND_BUFFER=10000000 -UNOABSORB_INF_NAN -UOMPI_MPI_H -DSIGABRT -DSIGBREAK -DSIGBUS -DSIGPE -DSIGHUP -DSIGILL -DSIGINT -DSIGKILL -DSIGUSR1 -DSIGUSR2 -DSIGPIPE -DSIGQUIT -DSIGSEGV -DSIGTRAP -DSIGURG -DSIGFPE -DSIGKILL -DSIGTERM -UTEST -UUSE_OPENCL -UWIN32 -UOPENACC -UGCCOFFLOAD -U_MSC_VER -U_MSC_EXTENSIONS -U_WIN32 -UWIN32 -D__unix__ -UDANSE -UFUNNEL -UMC_ANCIENT_COMPATIBILITY -UMC_POL_COMPAT -UNEUTRONICS -Uisnan -Uisinf Checking BTsimple.c ... Checking BTsimple.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1... BTsimple.c:14434:3: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] xplus[i] = tempx + guideInfo.ellipseMinorOffset[RightSide]; ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14434:3: note: Null pointer dereference xplus[i] = tempx + guideInfo.ellipseMinorOffset[RightSide]; ^ BTsimple.c:14435:3: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] xminus[i]= -tempx + guideInfo.ellipseMinorOffset[RightSide]; ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14435:3: note: Null pointer dereference xminus[i]= -tempx + guideInfo.ellipseMinorOffset[RightSide]; ^ BTsimple.c:14448:3: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] yplus[i] = tempy + guideInfo.ellipseMinorOffset[TopSide]; ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14448:3: note: Null pointer dereference yplus[i] = tempy + guideInfo.ellipseMinorOffset[TopSide]; ^ BTsimple.c:14449:3: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] yminus[i]= -tempy + guideInfo.ellipseMinorOffset[TopSide]; ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14449:3: note: Null pointer dereference yminus[i]= -tempy + guideInfo.ellipseMinorOffset[TopSide]; ^ BTsimple.c:14461:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14461:8: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14461:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14461:18: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14461:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14461:51: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14462:16: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14462:16: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14462:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14462:42: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14462:53: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14462:53: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14463:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14463:8: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14463:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14463:19: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14463:54: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14463:54: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14464:13: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14464:13: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14464:40: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14464:40: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14464:50: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14464:50: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta,xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14465:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14465:8: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14465:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14465:18: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14465:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14465:45: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14466:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14466:8: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14466:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14466:41: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14466:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14466:51: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14467:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14467:8: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14467:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14467:42: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14467:52: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14467:52: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14468:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14468:8: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14468:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14468:18: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14468:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14468:45: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14472:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14472:8: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14472:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14472:18: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14472:50: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14472:50: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14473:16: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14473:16: note: Null pointer dereference line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14473:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14473:41: note: Null pointer dereference line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14473:53: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14473:53: note: Null pointer dereference line( 0 , yplus[j],zvalue+j*zdelta,xminus[j] , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14474:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14474:8: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14474:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14474:19: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14474:55: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14474:55: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14475:13: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14475:13: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14475:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14475:41: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14475:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14475:51: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14476:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14476:8: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14476:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14476:18: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14476:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14476:45: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14477:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14477:8: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14477:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14477:41: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14477:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14477:51: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta,xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14478:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14478:8: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14478:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14478:42: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14478:52: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14478:52: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14479:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14479:8: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ BTsimple.c:14479:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14479:18: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ BTsimple.c:14479:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14479:45: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta,xplus[j], 0 , zvalue+j*zdelta); ^ BTsimple.c:14488:29: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] if( boardestPlace <= fabs(yplus[m0]) ){ ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14488:29: note: Null pointer dereference if( boardestPlace <= fabs(yplus[m0]) ){ ^ BTsimple.c:14495:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14495:8: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14495:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14495:18: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14495:50: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14495:50: note: Null pointer dereference line( xplus[j], yplus[j], zvalue+j*zdelta,0 , yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14496:16: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14496:16: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14496:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14496:42: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14496:53: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14496:53: note: Null pointer dereference line( 0 , yplus[j], zvalue+j*zdelta,xminus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14497:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14497:8: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14497:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14497:19: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14497:54: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14497:54: note: Null pointer dereference line( xminus[j], yminus[j], zvalue+j*zdelta,0 , yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14498:13: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14498:13: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14498:41: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14498:41: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14498:51: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14498:51: note: Null pointer dereference line( 0, yminus[j], zvalue+j*zdelta, xplus[j], yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14499:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14499:8: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14499:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14499:18: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14499:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14499:45: note: Null pointer dereference line( xminus[j],yplus[j], zvalue+j*zdelta, xminus[j],0 , zvalue+j*zdelta); ^ BTsimple.c:14500:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14500:8: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14500:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14500:42: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14500:52: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14500:52: note: Null pointer dereference line( xminus[j],0 , zvalue+j*zdelta, xminus[j],yminus[j], zvalue+j*zdelta); ^ BTsimple.c:14501:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14501:8: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14501:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14501:42: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14501:52: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14501:52: note: Null pointer dereference line( xplus[j], 0, zvalue+j*zdelta, xplus[j], yplus[j], zvalue+j*zdelta); ^ BTsimple.c:14502:8: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14502:8: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ BTsimple.c:14502:18: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14502:18: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ BTsimple.c:14502:46: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14502:46: note: Null pointer dereference line( xplus[j], yminus[j], zvalue+j*zdelta, xplus[j], 0 , zvalue+j*zdelta); ^ BTsimple.c:14511:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14511:9: note: Null pointer dereference line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14511:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14511:19: note: Null pointer dereference line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14511:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14511:45: note: Null pointer dereference line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14511:57: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14511:57: note: Null pointer dereference line( xplus[k], yplus[k], zvalue+k*zdelta,xplus[k+1], yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14512:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14512:9: note: Null pointer dereference line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14512:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14512:19: note: Null pointer dereference line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14512:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14512:45: note: Null pointer dereference line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14512:57: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14512:57: note: Null pointer dereference line( xminus[k],yplus[k], zvalue+k*zdelta,xminus[k+1],yplus[k+1], zvalue+(k+1)*zdelta); ^ BTsimple.c:14514:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14514:9: note: Null pointer dereference line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14514:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14514:19: note: Null pointer dereference line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14514:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14514:45: note: Null pointer dereference line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14514:57: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14514:57: note: Null pointer dereference line( xplus[k], yminus[k],zvalue+k*zdelta,xplus[k+1], yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14516:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14516:9: note: Null pointer dereference line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14516:19: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14516:19: note: Null pointer dereference line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14516:45: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14516:45: note: Null pointer dereference line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14516:57: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14516:57: note: Null pointer dereference line( xminus[k],yminus[k],zvalue+k*zdelta,xminus[k+1],yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14518:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],0 , zvalue+k*zdelta, xminus[k+1],0 , zvalue+(k+1)*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14518:9: note: Null pointer dereference line( xminus[k],0 , zvalue+k*zdelta, xminus[k+1],0 , zvalue+(k+1)*zdelta); ^ BTsimple.c:14518:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xminus [nullPointerOutOfMemory] line( xminus[k],0 , zvalue+k*zdelta, xminus[k+1],0 , zvalue+(k+1)*zdelta); ^ BTsimple.c:14392:23: note: Assuming allocation function fails double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14392:23: note: Assignment 'xminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14518:42: note: Null pointer dereference line( xminus[k],0 , zvalue+k*zdelta, xminus[k+1],0 , zvalue+(k+1)*zdelta); ^ BTsimple.c:14519:9: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], 0 , zvalue+k*zdelta, xplus[k+1], 0 , zvalue+(k+1)*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14519:9: note: Null pointer dereference line( xplus[k], 0 , zvalue+k*zdelta, xplus[k+1], 0 , zvalue+(k+1)*zdelta); ^ BTsimple.c:14519:42: warning: If memory allocation fails, then there is a possible null pointer dereference: xplus [nullPointerOutOfMemory] line( xplus[k], 0 , zvalue+k*zdelta, xplus[k+1], 0 , zvalue+(k+1)*zdelta); ^ BTsimple.c:14391:22: note: Assuming allocation function fails double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14391:22: note: Assignment 'xplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *xplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14519:42: note: Null pointer dereference line( xplus[k], 0 , zvalue+k*zdelta, xplus[k+1], 0 , zvalue+(k+1)*zdelta); ^ BTsimple.c:14521:14: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0 , yminus[k], zvalue+k*zdelta, 0 ,yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14521:14: note: Null pointer dereference line( 0 , yminus[k], zvalue+k*zdelta, 0 ,yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14521:50: warning: If memory allocation fails, then there is a possible null pointer dereference: yminus [nullPointerOutOfMemory] line( 0 , yminus[k], zvalue+k*zdelta, 0 ,yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14394:23: note: Assuming allocation function fails double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14394:23: note: Assignment 'yminus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yminus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14521:50: note: Null pointer dereference line( 0 , yminus[k], zvalue+k*zdelta, 0 ,yminus[k+1],zvalue+(k+1)*zdelta); ^ BTsimple.c:14522:13: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 ,yplus[k] , zvalue+k*zdelta , 0 ,yplus[k] , zvalue+(k+1)*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14522:13: note: Null pointer dereference line( 0 ,yplus[k] , zvalue+k*zdelta , 0 ,yplus[k] , zvalue+(k+1)*zdelta); ^ BTsimple.c:14522:48: warning: If memory allocation fails, then there is a possible null pointer dereference: yplus [nullPointerOutOfMemory] line( 0 ,yplus[k] , zvalue+k*zdelta , 0 ,yplus[k] , zvalue+(k+1)*zdelta); ^ BTsimple.c:14393:22: note: Assuming allocation function fails double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14393:22: note: Assignment 'yplus=malloc((ApproximationMirrors+1)*sizeof(double))', assigned value is 0 double *yplus=malloc((ApproximationMirrors+1)*sizeof(double)); ^ BTsimple.c:14522:48: note: Null pointer dereference line( 0 ,yplus[k] , zvalue+k*zdelta , 0 ,yplus[k] , zvalue+(k+1)*zdelta); ^ BTsimple.c:9301:9: warning: Uninitialized variable: boolean [uninitvar] return boolean; ^ BTsimple.c:9256:16: note: Assuming condition is true if (solutionH <= 0) ^ BTsimple.c:9301:9: note: Uninitialized variable: boolean return boolean; ^ Checking BTsimple.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;SIGKILL;SIGUSR1;SIGUSR2... Checking BTsimple.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;USE_MPI... Checking BTsimple.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;USE_MPI;USE_NEXUS... Checking BTsimple.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;USE_NEXUS... Checking BTsimple.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__APPLE__;__GNUC__... Checking BTsimple.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__APPLE__;__unix__... Checking BTsimple.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__FreeBSD__... Checking BTsimple.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__GNUC__... Checking BTsimple.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__GNUC__;__clang__... Checking BTsimple.c: MCDEFAULT_NCOUNT=1000000;ND_BUFFER=10000000;SIGABRT=1;SIGBREAK=1;SIGBUS=1;SIGPE=1;SIGHUP=1;SIGILL=1;SIGINT=1;SIGKILL=1;SIGUSR1=1;SIGUSR2=1;SIGPIPE=1;SIGQUIT=1;SIGSEGV=1;SIGTRAP=1;SIGURG=1;SIGFPE=1;SIGKILL=1;SIGTERM=1;__unix__=1;__dest_os... DEBUG: CMD: cppcheck finished INFO: End of linting ./BTsimple.c