2025-05-09 01:06 ftp://ftp.de.debian.org/debian/pool/main/x/xcrysden/xcrysden_1.6.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=opengl --library=zlib --library=motif --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-59-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: 66c9938 (2025-05-08 13:55:11 +0200) count: 856 846 elapsed-time: 101.4 102.3 head-timing-info: old-timing-info: head results: xcrysden-1.6.2/C/3D.c:339:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/3D.c:187:21: style: Parameter 'rotx' can be declared as const array [constParameter] xcrysden-1.6.2/C/3D.c:187:41: style: Parameter 'roty' can be declared as const array [constParameter] xcrysden-1.6.2/C/MarchCubes.c:86:19: style: Local variable 'triangles' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/isosurf.h:212:13: note: Shadowed declaration xcrysden-1.6.2/C/MarchCubes.c:86:19: note: Shadow variable xcrysden-1.6.2/C/MarchCubes.c:70:13: style: Parameter 'vec' can be declared as const array [constParameter] xcrysden-1.6.2/C/auxilproc.c:101:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/auxilproc.c:164:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/auxilproc.c:184:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/auxilproc.c:86:16: style: Parameter 'vec' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/auxilproc.c:214:15: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/auxilproc.c:250:21: style: Parameter 'mat' can be declared as const array [constParameter] xcrysden-1.6.2/C/auxilproc.c:250:38: style: Parameter 'vec' can be declared as const array [constParameter] xcrysden-1.6.2/C/auxilproc.c:259:18: style: Parameter 'a' can be declared as const array [constParameter] xcrysden-1.6.2/C/auxilproc.c:259:33: style: Parameter 'b' can be declared as const array [constParameter] xcrysden-1.6.2/C/auxilproc.c:293:22: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/auxilproc.c:293:32: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/auxilproc.c:345:21: style: Parameter 'vec1' can be declared as const array [constParameter] xcrysden-1.6.2/C/auxilproc.c:345:35: style: Parameter 'vec2' can be declared as const array [constParameter] xcrysden-1.6.2/C/auxilproc.c:352:21: style: Parameter 'vec1' can be declared as const array [constParameter] xcrysden-1.6.2/C/auxilproc.c:352:35: style: Parameter 'vec2' can be declared as const array [constParameter] xcrysden-1.6.2/C/auxilproc.c:352:49: style: Parameter 'vec3' can be declared as const array [constParameter] xcrysden-1.6.2/C/auxilproc.c:360:25: style: Parameter 'v0' can be declared as const array [constParameter] xcrysden-1.6.2/C/auxilproc.c:360:37: style: Parameter 'v1' can be declared as const array [constParameter] xcrysden-1.6.2/C/auxilproc.c:373:25: style: Parameter 'd' can be declared as const array [constParameter] xcrysden-1.6.2/C/auxilproc.c:391:31: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/auxilproc.c:391:41: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/auxilproc.c:402:9: style: Variable 'I' can be declared as const array [constVariable] xcrysden-1.6.2/C/colorplane.c:128:9: style: Local variable 'min' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:14: note: Shadowed declaration xcrysden-1.6.2/C/colorplane.c:128:9: note: Shadow variable xcrysden-1.6.2/C/colorplane.c:128:14: style: Local variable 'max' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:9: note: Shadowed declaration xcrysden-1.6.2/C/colorplane.c:128:14: note: Shadow variable xcrysden-1.6.2/C/colorplane.c:316:9: style: Local variable 'min' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:14: note: Shadowed declaration xcrysden-1.6.2/C/colorplane.c:316:9: note: Shadow variable xcrysden-1.6.2/C/colorplane.c:316:14: style: Local variable 'max' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:9: note: Shadowed declaration xcrysden-1.6.2/C/colorplane.c:316:14: note: Shadow variable xcrysden-1.6.2/C/cryClip.c:233:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:233:3: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:234:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:234:3: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:235:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:235:3: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:236:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:236:3: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:236:58: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:236:58: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:237:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:237:3: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:237:58: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:237:58: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:238:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:238:3: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:238:58: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:238:58: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:239:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:239:3: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:239:58: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:239:58: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:240:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:240:3: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:240:58: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:240:58: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:241:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:241:3: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:241:58: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:241:58: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:242:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:242:3: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:242:58: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:242:58: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:243:3: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:243:3: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:244:23: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:244:23: note: Null pointer dereference xcrysden-1.6.2/C/cryClip.c:74:31: style: Parameter 'n' can be declared as const array [constParameter] xcrysden-1.6.2/C/cryClip.c:74:43: style: Parameter 'p0' can be declared as const array [constParameter] xcrysden-1.6.2/C/cryDispFunc.c:64:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/cryDispFunc.c:177:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VIEWPORT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/cryDispFunc.c:218:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/cryDispFunc.c:248:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FS_SINGLE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/cryDispFunc.c:389:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FRONT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/cryDispFunc.c:522:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/cryDispFunc.c:161:11: style: Local variable 'min' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:14: note: Shadowed declaration xcrysden-1.6.2/C/cryDispFunc.c:161:11: note: Shadow variable xcrysden-1.6.2/C/cryDispFunc.c:161:16: style: Local variable 'max' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:9: note: Shadowed declaration xcrysden-1.6.2/C/cryDispFunc.c:161:16: note: Shadow variable xcrysden-1.6.2/C/cryDispFunc.c:239:13: style: Variable 'm' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/cryDispFunc.c:255:15: style: Variable 'cage' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/cryDispFuncMultiFS.c:59:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/cryDispFuncMultiFS.c:231:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VIEWPORT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/cryDispFuncMultiFS.c:273:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/cryDispFuncMultiFS.c:189:8: warning: Either the condition 'wc==(NEW_WIN_CONTEXT*)NULL' is redundant or there is possible null pointer dereference: wc. [nullPointerRedundantCheck] xcrysden-1.6.2/C/cryDispFuncMultiFS.c:192:10: note: Assuming that condition 'wc==(NEW_WIN_CONTEXT*)NULL' is not redundant xcrysden-1.6.2/C/cryDispFuncMultiFS.c:189:8: note: Null pointer dereference xcrysden-1.6.2/C/cryDispFuncMultiFS.c:215:11: style: Local variable 'min' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:14: note: Shadowed declaration xcrysden-1.6.2/C/cryDispFuncMultiFS.c:215:11: note: Shadow variable xcrysden-1.6.2/C/cryDispFuncMultiFS.c:215:16: style: Local variable 'max' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:9: note: Shadowed declaration xcrysden-1.6.2/C/cryDispFuncMultiFS.c:215:16: note: Shadow variable xcrysden-1.6.2/C/cryNewContext.c:79:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NEW_WIN_CONTEXT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/cryNewContext.c:80:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:80:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:82:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:82:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:83:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:83:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:84:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:84:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:85:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:85:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:86:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:86:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:87:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:87:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:88:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:88:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:90:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:90:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:91:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:91:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:92:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:92:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:93:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:93:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:94:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:94:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:96:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:96:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:97:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:97:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:98:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:98:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:100:3: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:100:3: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:103:5: warning: If memory allocation fails, then there is a possible null pointer dereference: wc [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryNewContext.c:79:35: note: Assuming allocation function fails xcrysden-1.6.2/C/cryNewContext.c:79:8: note: Assignment 'wc=(NEW_WIN_CONTEXT*)malloc(sizeof(NEW_WIN_CONTEXT))', assigned value is 0 xcrysden-1.6.2/C/cryNewContext.c:103:5: note: Null pointer dereference xcrysden-1.6.2/C/cryNewContext.c:26:52: style: Parameter 'togl' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/crySetProj.c:75:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/crySetProj.c:39:12: style: Variable 'o.minx' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/crySetProj.c:42:12: style: Variable 'o.miny' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/crySetProj.c:45:12: style: Variable 'o.minz' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/crySetProj.c:49:14: style: Variable 'o.minx' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/crySetProj.c:53:14: style: Variable 'o.miny' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/crySetProj.c:57:12: style: Variable 'o.minx' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/crySetProj.c:57:21: style: Variable 'o.miny' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/crySetProj.c:57:30: style: Variable 'o.minz' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/crySurf.c:182:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/crySurf.c:251:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/crySurf.c:448:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/crySurf.c:160:43: style: Parameter 'wc' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/crySurf.c:160:57: style: Parameter 'mols' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/crySurf.c:289:19: style: Variable 'fs.cropbz' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/crySurfArgs.c:44:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/crySurfArgs.c:85:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_VOLATILE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/crySurfArgs.c:400:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/crySurfArgs.c:239:34: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] xcrysden-1.6.2/C/crySurfArgs.c:34:38: style: Parameter 'argv' can be declared as const array [constParameter] xcrysden-1.6.2/C/crySurfArgs.c:36:9: style: Variable 'opt' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/crySurfArgs.c:385:20: style: Variable 'grid' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/cryTogl.c:41:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/datagrid.c:213:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/datagrid.c:290:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/datagrid.c:356:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/datagrid.c:288:10: error: Width 5 given in format string (no. 1) is larger than destination buffer 'band[5]', use %4s to prevent overflowing it. [invalidScanfFormatWidth] xcrysden-1.6.2/C/datagrid.c:105:3: warning: If memory allocation fails, then there is a possible null pointer dereference: grid [nullPointerOutOfMemory] xcrysden-1.6.2/C/datagrid.c:104:37: note: Assuming allocation function fails xcrysden-1.6.2/C/datagrid.c:104:10: note: Assignment 'grid=(struct DATAGRID*)malloc(sizeof(struct DATAGRID))', assigned value is 0 xcrysden-1.6.2/C/datagrid.c:105:3: note: Null pointer dereference xcrysden-1.6.2/C/datagrid.c:106:3: warning: If memory allocation fails, then there is a possible null pointer dereference: grid [nullPointerOutOfMemory] xcrysden-1.6.2/C/datagrid.c:104:37: note: Assuming allocation function fails xcrysden-1.6.2/C/datagrid.c:104:10: note: Assignment 'grid=(struct DATAGRID*)malloc(sizeof(struct DATAGRID))', assigned value is 0 xcrysden-1.6.2/C/datagrid.c:106:3: note: Null pointer dereference xcrysden-1.6.2/C/datagrid.c:107:3: warning: If memory allocation fails, then there is a possible null pointer dereference: grid [nullPointerOutOfMemory] xcrysden-1.6.2/C/datagrid.c:104:37: note: Assuming allocation function fails xcrysden-1.6.2/C/datagrid.c:104:10: note: Assignment 'grid=(struct DATAGRID*)malloc(sizeof(struct DATAGRID))', assigned value is 0 xcrysden-1.6.2/C/datagrid.c:107:3: note: Null pointer dereference xcrysden-1.6.2/C/datagrid.c:108:3: warning: If memory allocation fails, then there is a possible null pointer dereference: grid [nullPointerOutOfMemory] xcrysden-1.6.2/C/datagrid.c:104:37: note: Assuming allocation function fails xcrysden-1.6.2/C/datagrid.c:104:10: note: Assignment 'grid=(struct DATAGRID*)malloc(sizeof(struct DATAGRID))', assigned value is 0 xcrysden-1.6.2/C/datagrid.c:108:3: note: Null pointer dereference xcrysden-1.6.2/C/datagrid.c:109:11: warning: If memory allocation fails, then there is a possible null pointer dereference: grid [nullPointerOutOfMemory] xcrysden-1.6.2/C/datagrid.c:104:37: note: Assuming allocation function fails xcrysden-1.6.2/C/datagrid.c:104:10: note: Assignment 'grid=(struct DATAGRID*)malloc(sizeof(struct DATAGRID))', assigned value is 0 xcrysden-1.6.2/C/datagrid.c:109:11: note: Null pointer dereference xcrysden-1.6.2/C/datagrid.c:339:23: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: keyword [nullPointerOutOfMemory] xcrysden-1.6.2/C/datagrid.c:331:34: note: Assuming allocation function fails xcrysden-1.6.2/C/datagrid.c:331:19: note: Assignment 'keyword=(char*)malloc(sizeof(char)*256)', assigned value is 0 xcrysden-1.6.2/C/datagrid.c:339:23: note: Null pointer dereference xcrysden-1.6.2/C/datagrid.c:115:35: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/datagrid.c:142:30: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/datagrid.c:153:58: style: Parameter 'ident' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/datagrid.c:229:58: style: Parameter 'ident' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/datagrid.c:332:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/detnsplit.c:37:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable yb [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/fft3d.c:97:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fftw_complex [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/fft3d.c:47:6: warning: If memory allocation fails, then there is a possible null pointer dereference: func [nullPointerOutOfMemory] xcrysden-1.6.2/C/fft3d.c:37:25: note: Assuming allocation function fails xcrysden-1.6.2/C/fft3d.c:37:10: note: Assignment 'func=(double*)malloc(sizeof(double)*n1*n2*n3)', assigned value is 0 xcrysden-1.6.2/C/fft3d.c:47:6: note: Null pointer dereference xcrysden-1.6.2/C/fft3d.c:20:53: style: Parameter 'n' can be declared as const array [constParameter] xcrysden-1.6.2/C/fft3d.c:20:63: style: Parameter 'degree' can be declared as const array [constParameter] xcrysden-1.6.2/C/fft_util.c:16:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/fft_util.c:60:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/fog.c:48:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINEAR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/fog.c:93:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_SMOOTH [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/fog.c:36:20: style: Variable 'wc' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/fs.c:64:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/fs.c:245:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/fs.c:230:3: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:230:3: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:231:3: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:231:3: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:232:3: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:232:3: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:233:3: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:233:3: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:234:3: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:234:3: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:235:3: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:235:3: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:236:3: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:236:3: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:237:3: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:237:3: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:238:3: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:238:3: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:239:3: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:239:3: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:240:3: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:240:3: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:241:3: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:241:3: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:242:3: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:242:3: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:243:3: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:243:3: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:286:26: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:248:17: note: Assuming condition is false xcrysden-1.6.2/C/fs.c:286:26: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:287:26: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:248:17: note: Assuming condition is false xcrysden-1.6.2/C/fs.c:287:26: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:288:26: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:248:17: note: Assuming condition is false xcrysden-1.6.2/C/fs.c:288:26: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:289:26: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:248:17: note: Assuming condition is false xcrysden-1.6.2/C/fs.c:289:26: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:290:26: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:248:17: note: Assuming condition is false xcrysden-1.6.2/C/fs.c:290:26: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:291:26: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:248:17: note: Assuming condition is false xcrysden-1.6.2/C/fs.c:291:26: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:292:26: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:248:17: note: Assuming condition is false xcrysden-1.6.2/C/fs.c:292:26: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:293:24: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:248:17: note: Assuming condition is false xcrysden-1.6.2/C/fs.c:293:24: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:294:26: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:248:17: note: Assuming condition is false xcrysden-1.6.2/C/fs.c:294:26: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:295:24: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:248:17: note: Assuming condition is false xcrysden-1.6.2/C/fs.c:295:24: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:296:23: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:248:17: note: Assuming condition is false xcrysden-1.6.2/C/fs.c:296:23: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:297:26: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:248:17: note: Assuming condition is false xcrysden-1.6.2/C/fs.c:297:26: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:298:26: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:248:17: note: Assuming condition is false xcrysden-1.6.2/C/fs.c:298:26: note: Null pointer dereference xcrysden-1.6.2/C/fs.c:299:26: warning: If memory allocation fails, then there is a possible null pointer dereference: auxil1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/fs.c:228:35: note: Assuming allocation function fails xcrysden-1.6.2/C/fs.c:228:13: note: Assignment 'auxil1=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/fs.c:248:17: note: Assuming condition is false xcrysden-1.6.2/C/fs.c:299:26: note: Null pointer dereference xcrysden-1.6.2/C/getline.c:68:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:266:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:746:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_RGBA [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:873:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_CURRENT_RASTER_POSITION_VALID [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:963:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_ONE_MINUS_SRC_ALPHA [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:3233:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FEEDBACK [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:3428:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FEEDBACK [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:4026:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_RGBA [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:4715:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_RGBA [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:4830:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_RGBA [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:4928:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FEEDBACK [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:5402:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FEEDBACK [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:5695:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FEEDBACK [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:5800:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_RENDER [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:5887:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_RGBA [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:5969:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VIEWPORT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:6192:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_RGBA [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:6301:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_POINTS [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:6324:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_POLYGON_OFFSET_FACTOR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gl2ps.c:4089:13: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] xcrysden-1.6.2/C/gl2ps.c:2538:6: style: Condition 'greyscale' is always false [knownConditionTrueFalse] xcrysden-1.6.2/C/gl2ps.c:2529:19: note: Assignment 'greyscale=0', assigned value is 0 xcrysden-1.6.2/C/gl2ps.c:2532:19: note: Assuming condition is false xcrysden-1.6.2/C/gl2ps.c:2538:6: note: Condition 'greyscale' is always false xcrysden-1.6.2/C/gl2ps.c:2556:16: style: Condition 'nbit==2' is always false [knownConditionTrueFalse] xcrysden-1.6.2/C/gl2ps.c:2530:14: note: Assignment 'nbit=8', assigned value is 8 xcrysden-1.6.2/C/gl2ps.c:2532:19: note: Assuming condition is false xcrysden-1.6.2/C/gl2ps.c:2556:16: note: Condition 'nbit==2' is always false xcrysden-1.6.2/C/gl2ps.c:2643:16: style: Condition 'nbit==4' is always false [knownConditionTrueFalse] xcrysden-1.6.2/C/gl2ps.c:2530:14: note: Assignment 'nbit=8', assigned value is 8 xcrysden-1.6.2/C/gl2ps.c:2532:19: note: Assuming condition is false xcrysden-1.6.2/C/gl2ps.c:2643:16: note: Condition 'nbit==4' is always false xcrysden-1.6.2/C/gl2ps.c:4742:6: style: Condition '!done' is always true [knownConditionTrueFalse] xcrysden-1.6.2/C/gl2ps.c:4695:24: note: Assignment 'done=0', assigned value is 0 xcrysden-1.6.2/C/gl2ps.c:4742:6: note: Condition '!done' is always true xcrysden-1.6.2/C/gl2ps.c:2475:23: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xcrysden-1.6.2/C/gl2ps.c:2477:23: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xcrysden-1.6.2/C/gl2ps.c:3159:36: portability:inconclusive: Casting from float * to const unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xcrysden-1.6.2/C/gl2ps.c:6307:26: portability: Casting between const unsigned char * and const float * which have an incompatible binary data representation. [invalidPointerCast] xcrysden-1.6.2/C/gl2ps.c:2532:13: style: Checking if unsigned expression 'width' is less than zero. [unsignedLessThanZero] xcrysden-1.6.2/C/gl2ps.c:2532:30: style: Checking if unsigned expression 'height' is less than zero. [unsignedLessThanZero] xcrysden-1.6.2/C/gl2ps.c:2724:13: style: Checking if unsigned expression 'width' is less than zero. [unsignedLessThanZero] xcrysden-1.6.2/C/gl2ps.c:2724:30: style: Checking if unsigned expression 'height' is less than zero. [unsignedLessThanZero] xcrysden-1.6.2/C/gl2ps.c:6188:13: style: Checking if unsigned expression 'width' is less than zero. [unsignedLessThanZero] xcrysden-1.6.2/C/gl2ps.c:6188:30: style: Checking if unsigned expression 'height' is less than zero. [unsignedLessThanZero] xcrysden-1.6.2/C/gl2ps.c:6297:13: style: Checking if unsigned expression 'width' is less than zero. [unsignedLessThanZero] xcrysden-1.6.2/C/gl2ps.c:6297:30: style: Checking if unsigned expression 'height' is less than zero. [unsignedLessThanZero] xcrysden-1.6.2/C/gl2ps.c:6146:62: style:inconclusive: Function 'gl2psTextOptColor' argument 4 names different: declaration 'align' definition 'alignment'. [funcArgNamesDifferent] xcrysden-1.6.2/C/gl2ps.h:217:62: note: Function 'gl2psTextOptColor' argument 4 names different: declaration 'align' definition 'alignment'. xcrysden-1.6.2/C/gl2ps.c:6146:62: note: Function 'gl2psTextOptColor' argument 4 names different: declaration 'align' definition 'alignment'. xcrysden-1.6.2/C/gl2ps.c:6154:57: style:inconclusive: Function 'gl2psTextOpt' argument 4 names different: declaration 'align' definition 'alignment'. [funcArgNamesDifferent] xcrysden-1.6.2/C/gl2ps.h:215:57: note: Function 'gl2psTextOpt' argument 4 names different: declaration 'align' definition 'alignment'. xcrysden-1.6.2/C/gl2ps.c:6154:57: note: Function 'gl2psTextOpt' argument 4 names different: declaration 'align' definition 'alignment'. xcrysden-1.6.2/C/gl2ps.c:564:49: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/gl2ps.c:575:36: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/gl2ps.c:751:48: style: Parameter 'im' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/gl2ps.c:933:48: style: Parameter 't' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/gl2ps.c:1117:35: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/gl2ps.c:1117:47: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/gl2ps.c:1122:32: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/gl2ps.c:1122:44: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/gl2ps.c:1129:35: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/gl2ps.c:1931:65: style: Parameter 'vertx' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/gl2ps.c:2218:54: style: Parameter 'verts' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/gl2ps.c:2248:54: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/gl2ps.c:3227:53: style: Parameter 'viewport' can be declared as const array. However it seems that 'gl2psPrintPostScriptBeginViewport' is a callback function, if 'viewport' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xcrysden-1.6.2/C/gl2ps.c:3301:3: note: You might need to cast the function pointer here xcrysden-1.6.2/C/gl2ps.c:3227:53: note: Parameter 'viewport' can be declared as const array xcrysden-1.6.2/C/gl2ps.c:3358:19: style: Variable 'prim' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/gl2ps.c:3568:42: style: Parameter 'image' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/gl2ps.c:3967:18: style: Variable 'gro' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/gl2ps.c:3988:18: style: Variable 'gro' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/gl2ps.c:4010:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/gl2ps.c:4086:14: style: Variable 'newtime' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/gl2ps.c:4760:52: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/gl2ps.c:4921:46: style: Parameter 'viewport' can be declared as const array. However it seems that 'gl2psPrintPDFBeginViewport' is a callback function, if 'viewport' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xcrysden-1.6.2/C/gl2ps.c:4984:3: note: You might need to cast the function pointer here xcrysden-1.6.2/C/gl2ps.c:4921:46: note: Parameter 'viewport' can be declared as const array xcrysden-1.6.2/C/gl2ps.c:5395:46: style: Parameter 'viewport' can be declared as const array. However it seems that 'gl2psPrintSVGBeginViewport' is a callback function, if 'viewport' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xcrysden-1.6.2/C/gl2ps.c:5461:3: note: You might need to cast the function pointer here xcrysden-1.6.2/C/gl2ps.c:5395:46: note: Parameter 'viewport' can be declared as const array xcrysden-1.6.2/C/gl2ps.c:5689:46: style: Parameter 'viewport' can be declared as const array. However it seems that 'gl2psPrintPGFBeginViewport' is a callback function, if 'viewport' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xcrysden-1.6.2/C/gl2ps.c:5748:3: note: You might need to cast the function pointer here xcrysden-1.6.2/C/gl2ps.c:5689:46: note: Parameter 'viewport' can be declared as const array xcrysden-1.6.2/C/gl2ps.c:5904:41: style: Parameter 'viewport' can be declared as const array [constParameter] xcrysden-1.6.2/C/gl2ps.c:181:7: style: struct member 'GL2PScompress::dummy' is never used. [unusedStructMember] xcrysden-1.6.2/C/gl2ps.c:1977:36: style: Variable 'v1' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/gl2ps.c:2131:8: style: Variable 'c[0]' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/gl2ps.c:2131:15: style: Variable 'c[1]' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/gl2ps.c:2131:22: style: Variable 'c[2]' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/gl2ps.c:2133:10: style: Variable 'c[0]' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/gl2ps.c:2134:10: style: Variable 'c[1]' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/gl2ps.c:2136:8: style: Variable 'c[0]' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/gl2ps.c:2137:8: style: Variable 'c[1]' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/gl2ps.c:2523:21: style: Variable 'red' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/gl2ps.c:2570:9: style: Variable 'b' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/gl2ps.c:2598:13: style: Variable 'b' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/gl2ps.c:2617:13: style: Variable 'b' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/gl2ps.c:2636:13: style: Variable 'b' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/gl2psPrintTogl.c:53:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/gridNormals.c:204:12: style:inconclusive: Function 'gradient_SurfNmlNew' argument 9 names different: declaration 'normal' definition 'nml'. [funcArgNamesDifferent] xcrysden-1.6.2/C/xcfunc.h:155:165: note: Function 'gradient_SurfNmlNew' argument 9 names different: declaration 'normal' definition 'nml'. xcrysden-1.6.2/C/gridNormals.c:204:12: note: Function 'gradient_SurfNmlNew' argument 9 names different: declaration 'normal' definition 'nml'. xcrysden-1.6.2/C/gridNormals.c:196:27: style: Parameter 'origin' can be declared as const array [constParameter] xcrysden-1.6.2/C/gridNormals.c:197:13: style: Parameter 'incr_vec' can be declared as const array [constParameter] xcrysden-1.6.2/C/gridNormals.c:214:9: style: Variable 'cube' can be declared as const array [constVariable] xcrysden-1.6.2/C/hbonds.c:178:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_STIPPLE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/hbonds.c:200:46: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/hpsort.c:244:11: style: Variable 'one' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/isoInterpolate.c:129:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/isoInterpolate.c:98:6: style: Local variable 'max' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:9: note: Shadowed declaration xcrysden-1.6.2/C/isoInterpolate.c:98:6: note: Shadow variable xcrysden-1.6.2/C/isoInterpolate.c:193:6: style: Local variable 'max' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:9: note: Shadowed declaration xcrysden-1.6.2/C/isoInterpolate.c:193:6: note: Shadow variable xcrysden-1.6.2/C/isoMalloc.c:59:3: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xcrysden-1.6.2/C/isoMalloc.c:55:28: note: Assuming allocation function fails xcrysden-1.6.2/C/isoMalloc.c:55:5: note: Assignment 'm=(struct PLANEVERTEX**)malloc((unsigned long)nr*sizeof(struct PLANEVERTEX*))', assigned value is 0 xcrysden-1.6.2/C/isoMalloc.c:59:3: note: Null pointer dereference xcrysden-1.6.2/C/isoMalloc.c:60:8: warning: If memory allocation fails, then there is a possible null pointer dereference: m [nullPointerOutOfMemory] xcrysden-1.6.2/C/isoMalloc.c:55:28: note: Assuming allocation function fails xcrysden-1.6.2/C/isoMalloc.c:55:5: note: Assignment 'm=(struct PLANEVERTEX**)malloc((unsigned long)nr*sizeof(struct PLANEVERTEX*))', assigned value is 0 xcrysden-1.6.2/C/isoMalloc.c:60:8: note: Null pointer dereference xcrysden-1.6.2/C/isoMalloc.c:79:3: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] xcrysden-1.6.2/C/isoMalloc.c:75:28: note: Assuming allocation function fails xcrysden-1.6.2/C/isoMalloc.c:75:5: note: Assignment 't=(struct GRIDVERTEX***)malloc((unsigned long)nr*sizeof(struct GRIDVERTEX**))', assigned value is 0 xcrysden-1.6.2/C/isoMalloc.c:79:3: note: Null pointer dereference xcrysden-1.6.2/C/isoMalloc.c:80:8: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] xcrysden-1.6.2/C/isoMalloc.c:75:28: note: Assuming allocation function fails xcrysden-1.6.2/C/isoMalloc.c:75:5: note: Assignment 't=(struct GRIDVERTEX***)malloc((unsigned long)nr*sizeof(struct GRIDVERTEX**))', assigned value is 0 xcrysden-1.6.2/C/isoMalloc.c:80:8: note: Null pointer dereference xcrysden-1.6.2/C/isoline.c:167:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p1 [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/isoline.c:128:62: style: Parameter 'level' can be declared as const array [constParameter] xcrysden-1.6.2/C/isoline_old.c:141:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable p1 [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/isoline_old.c:102:12: style: Parameter 'level' can be declared as const array [constParameter] xcrysden-1.6.2/C/isorender.c:59:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/isorender.c:215:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/isorender.c:346:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_TRIANGLE_FAN [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/isorender.c:385:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/isorender.c:469:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_STIPPLE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/isorender.c:532:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/isorender.c:201:9: style: Variable 'specular' can be declared as const array [constVariable] xcrysden-1.6.2/C/isorender.c:380:9: style: Variable 'specular' can be declared as const array [constVariable] xcrysden-1.6.2/C/isorender.c:457:10: style: Variable 'color' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/isosurf.c:44:3: warning: If memory allocation fails, then there is a possible null pointer dereference: iso [nullPointerOutOfMemory] xcrysden-1.6.2/C/isosurf.c:43:31: note: Assuming allocation function fails xcrysden-1.6.2/C/isosurf.c:43:9: note: Assignment 'iso=(struct ISOSURFACE*)malloc(sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/isosurf.c:44:3: note: Null pointer dereference xcrysden-1.6.2/C/isosurf.c:46:3: warning: If memory allocation fails, then there is a possible null pointer dereference: iso [nullPointerOutOfMemory] xcrysden-1.6.2/C/isosurf.c:43:31: note: Assuming allocation function fails xcrysden-1.6.2/C/isosurf.c:43:9: note: Assignment 'iso=(struct ISOSURFACE*)malloc(sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/isosurf.c:46:3: note: Null pointer dereference xcrysden-1.6.2/C/isosurf.c:47:3: warning: If memory allocation fails, then there is a possible null pointer dereference: iso [nullPointerOutOfMemory] xcrysden-1.6.2/C/isosurf.c:43:31: note: Assuming allocation function fails xcrysden-1.6.2/C/isosurf.c:43:9: note: Assignment 'iso=(struct ISOSURFACE*)malloc(sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/isosurf.c:47:3: note: Null pointer dereference xcrysden-1.6.2/C/isosurf.c:48:3: warning: If memory allocation fails, then there is a possible null pointer dereference: iso [nullPointerOutOfMemory] xcrysden-1.6.2/C/isosurf.c:43:31: note: Assuming allocation function fails xcrysden-1.6.2/C/isosurf.c:43:9: note: Assignment 'iso=(struct ISOSURFACE*)malloc(sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/isosurf.c:48:3: note: Null pointer dereference xcrysden-1.6.2/C/isosurf.c:49:3: warning: If memory allocation fails, then there is a possible null pointer dereference: iso [nullPointerOutOfMemory] xcrysden-1.6.2/C/isosurf.c:43:31: note: Assuming allocation function fails xcrysden-1.6.2/C/isosurf.c:43:9: note: Assignment 'iso=(struct ISOSURFACE*)malloc(sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/isosurf.c:49:3: note: Null pointer dereference xcrysden-1.6.2/C/isosurf.c:50:3: warning: If memory allocation fails, then there is a possible null pointer dereference: iso [nullPointerOutOfMemory] xcrysden-1.6.2/C/isosurf.c:43:31: note: Assuming allocation function fails xcrysden-1.6.2/C/isosurf.c:43:9: note: Assignment 'iso=(struct ISOSURFACE*)malloc(sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/isosurf.c:50:3: note: Null pointer dereference xcrysden-1.6.2/C/isosurf.c:51:3: warning: If memory allocation fails, then there is a possible null pointer dereference: iso [nullPointerOutOfMemory] xcrysden-1.6.2/C/isosurf.c:43:31: note: Assuming allocation function fails xcrysden-1.6.2/C/isosurf.c:43:9: note: Assignment 'iso=(struct ISOSURFACE*)malloc(sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/isosurf.c:51:3: note: Null pointer dereference xcrysden-1.6.2/C/isosurf.c:52:3: warning: If memory allocation fails, then there is a possible null pointer dereference: iso [nullPointerOutOfMemory] xcrysden-1.6.2/C/isosurf.c:43:31: note: Assuming allocation function fails xcrysden-1.6.2/C/isosurf.c:43:9: note: Assignment 'iso=(struct ISOSURFACE*)malloc(sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/isosurf.c:52:3: note: Null pointer dereference xcrysden-1.6.2/C/isosurf.c:53:3: warning: If memory allocation fails, then there is a possible null pointer dereference: iso [nullPointerOutOfMemory] xcrysden-1.6.2/C/isosurf.c:43:31: note: Assuming allocation function fails xcrysden-1.6.2/C/isosurf.c:43:9: note: Assignment 'iso=(struct ISOSURFACE*)malloc(sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/isosurf.c:53:3: note: Null pointer dereference xcrysden-1.6.2/C/lcasi.c:63:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/lcasi.c:103:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] xcrysden-1.6.2/C/lcasi.c:103:3: note: Assuming allocation function fails xcrysden-1.6.2/C/lcasi.c:103:3: note: Assignment 'dst=(unsigned char**)malloc((unsigned long)_n1*sizeof(unsigned char*))', assigned value is 0 xcrysden-1.6.2/C/lcasi.c:103:3: note: Null pointer dereference xcrysden-1.6.2/C/lcasi.c:62:33: style: Parameter 'function' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/lcasi.c:62:49: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/lcasi.c:93:57: style: Parameter 'n' can be declared as const array [constParameter] xcrysden-1.6.2/C/lcasi.c:94:15: style: Parameter 'degree' can be declared as const array [constParameter] xcrysden-1.6.2/C/lcasi.c:133:21: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/lcasif.c:92:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/lcasif.c:92:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] xcrysden-1.6.2/C/lcasif.c:134:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] xcrysden-1.6.2/C/lcasif.c:134:3: note: Assuming allocation function fails xcrysden-1.6.2/C/lcasif.c:134:3: note: Assignment 'dst=(float**)malloc((unsigned long)_n1*sizeof(float*))', assigned value is 0 xcrysden-1.6.2/C/lcasif.c:134:3: note: Null pointer dereference xcrysden-1.6.2/C/lcasif.c:124:48: style: Parameter 'n' can be declared as const array [constParameter] xcrysden-1.6.2/C/lcasif.c:125:14: style: Parameter 'degree' can be declared as const array [constParameter] xcrysden-1.6.2/C/lcasif.c:163:49: style: Parameter 'n' can be declared as const array [constParameter] xcrysden-1.6.2/C/lcasif.c:164:15: style: Parameter 'degree' can be declared as const array [constParameter] xcrysden-1.6.2/C/lcasif.c:185:60: style: Parameter 'n' can be declared as const array [constParameter] xcrysden-1.6.2/C/lcasif.c:186:18: style: Parameter 'degree' can be declared as const array [constParameter] xcrysden-1.6.2/C/lcasif.c:259:19: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/lighting.c:337:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_POSITION [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/lighting.c:413:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_AMBIENT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/lighting.c:481:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHT_MODEL_TWO_SIDE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/lighting.c:674:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FRONT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/linear.c:27:61: style: Parameter 'n' can be declared as const array [constParameter] xcrysden-1.6.2/C/linear.c:28:12: style: Parameter 'degree' can be declared as const array [constParameter] xcrysden-1.6.2/C/linear.c:117:55: style: Parameter 'n' can be declared as const array [constParameter] xcrysden-1.6.2/C/linear.c:118:13: style: Parameter 'degree' can be declared as const array [constParameter] xcrysden-1.6.2/C/loadValues.c:531:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/memory.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/memory.c:243:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/memory.c:243:5: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] xcrysden-1.6.2/C/memory.c:76:9: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xcrysden-1.6.2/C/memory.c:82:9: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xcrysden-1.6.2/C/memory.c:83:9: portability:inconclusive: Casting from float * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xcrysden-1.6.2/C/memory.c:89:9: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xcrysden-1.6.2/C/memory.c:90:9: portability:inconclusive: Casting from float * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xcrysden-1.6.2/C/memory.c:91:9: portability:inconclusive: Casting from float * * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xcrysden-1.6.2/C/memory.c:107:9: portability:inconclusive: Casting from float * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xcrysden-1.6.2/C/memory.c:108:9: portability:inconclusive: Casting from float * * * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] xcrysden-1.6.2/C/memory.c:26:11: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] xcrysden-1.6.2/C/memory.c:37:11: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] xcrysden-1.6.2/C/memory.c:37:23: style: Checking if unsigned expression 'nmemb' is less than zero. [unsignedLessThanZero] xcrysden-1.6.2/C/memory.c:64:14: style: Parameter 'error_text' can be declared as const array [constParameter] xcrysden-1.6.2/C/memory.c:240:43: style: Parameter 'where' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/paraSize.c:36:33: style: Parameter 'vec1' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/paraSize.c:36:47: style: Parameter 'vec2' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/paraSize.c:36:61: style: Parameter 'vec3' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/paraSize.c:36:75: style: Parameter 'orig' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/paraSize.c:75:20: style: Parameter 'ed' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/paraSize.c:75:31: style: Parameter 'vec0' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/paraSize.c:75:44: style: Parameter 'vec1' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/paraSize.c:75:57: style: Parameter 'vec2' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/paraSize.c:84:22: style: Parameter 'ed' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/paraSize.c:84:33: style: Parameter 'vec0' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/paraSize.c:84:46: style: Parameter 'vec1' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/paraSize.c:115:34: style: Parameter 'v0' can be declared as const array [constParameter] xcrysden-1.6.2/C/paraSize.c:115:48: style: Parameter 'v1' can be declared as const array [constParameter] xcrysden-1.6.2/C/paraSize.c:115:62: style: Parameter 'v2' can be declared as const array [constParameter] xcrysden-1.6.2/C/polygonise.c:257:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_SMOOTH [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/polygonise.c:123:19: style: Local variable 'triangles' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/isosurf.h:212:13: note: Shadowed declaration xcrysden-1.6.2/C/polygonise.c:123:19: note: Shadow variable xcrysden-1.6.2/C/polygonise.c:346:7: style: Variable 'edgeTable' can be declared as const array [constVariable] xcrysden-1.6.2/C/polygonise_auxil.c:173:33: warning: If memory allocation fails, then there is a possible null pointer dereference: aux [nullPointerOutOfMemory] xcrysden-1.6.2/C/polygonise_auxil.c:157:22: note: Assuming allocation function fails xcrysden-1.6.2/C/polygonise_auxil.c:157:9: note: Assignment 'aux=(struct XYZ*)malloc(sizeof(struct XYZ)*nvertex)', assigned value is 0 xcrysden-1.6.2/C/polygonise_auxil.c:173:33: note: Null pointer dereference xcrysden-1.6.2/C/polygonise_auxil.c:231:3: style: Variable 'E' is reassigned a value before the old one has been used. [redundantAssignment] xcrysden-1.6.2/C/polygonise_auxil.c:179:4: note: E is assigned xcrysden-1.6.2/C/polygonise_auxil.c:231:3: note: E is overwritten xcrysden-1.6.2/C/polygonise_auxil.c:137:24: style: Parameter 'vertex_status' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/polygonise_auxil.c:140:24: style: Parameter 'nver2triIN' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/polygonise_auxil.c:265:17: style: Parameter 'vertex' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/polygonise_auxil.c:267:17: style: Parameter 'sign' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/ppmPrintTogl.c:42:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/ppmPrintTogl.c:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/ppmPrintTogl.c:135:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_INTEGER_SPACE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/readisodata.c:258:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/readisodata.c:364:11: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readisodata.c:254:9: style: Local variable 'natoms' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:199:13: note: Shadowed declaration xcrysden-1.6.2/C/readisodata.c:254:9: note: Shadow variable xcrysden-1.6.2/C/readisodata.c:254:22: style: Local variable 'nat' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:240:6: note: Shadowed declaration xcrysden-1.6.2/C/readisodata.c:254:22: note: Shadow variable xcrysden-1.6.2/C/readisodata.c:44:14: style: Variable 'nframe' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/readisodata.c:72:15: style: Variable 'nframe' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/readisodata.c:270:14: style: Variable 'n' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/readisodata.c:288:12: style: Variable 'n' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/readisodata.c:311:10: style: Variable 'n' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/readisodata.c:320:10: style: Variable 'n' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/readisodata.c:328:10: style: Variable 'n' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/readstrf.c:169:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/readstrf.c:407:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/readstrf.c:570:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/readstrf.c:1167:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/readstrf.c:1179:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable forc [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/readstrf.c:1260:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/readstrf.c:1424:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/readstrf.c:1466:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/readstrf.c:1599:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/readstrf.c:1721:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/readstrf.c:1930:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AtomicLabel [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/readstrf.c:1976:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/readstrf.c:179:10: style: Condition '!ReadPDB(fp)' is always false [knownConditionTrueFalse] xcrysden-1.6.2/C/readstrf.c:179:18: note: Calling function 'ReadPDB' returns 1 xcrysden-1.6.2/C/readstrf.c:179:10: note: Condition '!ReadPDB(fp)' is always false xcrysden-1.6.2/C/readstrf.c:1891:20: style: Condition '__atmn[0]==' '' is always true [knownConditionTrueFalse] xcrysden-1.6.2/C/readstrf.c:1887:24: note: Assuming that condition '__atmn[0]!=' '' is not redundant xcrysden-1.6.2/C/readstrf.c:1891:20: note: Condition '__atmn[0]==' '' is always true xcrysden-1.6.2/C/readstrf.c:570:14: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:576:7: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:588:2: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:604:14: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:618:14: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:632:14: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:647:4: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:652:4: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:899:17: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:907:17: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:923:14: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:937:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:952:17: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:960:17: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:976:14: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:990:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:1007:17: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:1015:17: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:1032:14: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:1046:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:1447:5: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:1636:15: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/readstrf.c:381:32: warning: If memory allocation fails, then there is a possible null pointer dereference: ibn [nullPointerOutOfMemory] xcrysden-1.6.2/C/readstrf.c:357:23: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:357:9: note: Assignment 'ibn=(int*)malloc(sizeof(int)*(natoms+1))', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:381:32: note: Null pointer dereference xcrysden-1.6.2/C/readstrf.c:570:31: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] xcrysden-1.6.2/C/readstrf.c:567:18: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:567:18: note: Assignment 'line=malloc(sizeof(char)*linesize)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:570:31: note: Null pointer dereference xcrysden-1.6.2/C/readstrf.c:1298:7: warning: If memory allocation fails, then there is a possible null pointer dereference: nat1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1269:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1269:11: note: Assignment 'nat1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1287:14: note: Assuming condition is false xcrysden-1.6.2/C/readstrf.c:1298:7: note: Null pointer dereference xcrysden-1.6.2/C/readstrf.c:1298:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nat1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1269:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1269:11: note: Assignment 'nat1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1287:14: note: Assuming condition is false xcrysden-1.6.2/C/readstrf.c:1298:18: note: Null pointer dereference xcrysden-1.6.2/C/readstrf.c:1638:14: warning: If memory allocation fails, then there is a possible null pointer dereference: fv1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1626:32: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1626:10: note: Assignment 'fv1=(double(*)[3])malloc(sizeof(double[3])*(natoms+1))', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1630:40: note: Assuming condition is false xcrysden-1.6.2/C/readstrf.c:1638:14: note: Null pointer dereference xcrysden-1.6.2/C/readstrf.c:1638:26: warning: If memory allocation fails, then there is a possible null pointer dereference: fv1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1626:32: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1626:10: note: Assignment 'fv1=(double(*)[3])malloc(sizeof(double[3])*(natoms+1))', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1630:40: note: Assuming condition is false xcrysden-1.6.2/C/readstrf.c:1638:26: note: Null pointer dereference xcrysden-1.6.2/C/readstrf.c:1638:38: warning: If memory allocation fails, then there is a possible null pointer dereference: fv1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1626:32: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1626:10: note: Assignment 'fv1=(double(*)[3])malloc(sizeof(double[3])*(natoms+1))', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1630:40: note: Assuming condition is false xcrysden-1.6.2/C/readstrf.c:1638:38: note: Null pointer dereference xcrysden-1.6.2/C/readstrf.c:1712:12: warning: If memory allocation fails, then there is a possible null pointer dereference: nat1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1558:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1558:11: note: Assignment 'nat1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1580:21: note: Calling function 'CheckAtoms', 2nd argument 'nat1' value is 0 xcrysden-1.6.2/C/readstrf.c:1712:12: note: Null pointer dereference xcrysden-1.6.2/C/readstrf.c:1282:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1270:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1270:11: note: Assignment 'flag1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1282:15: note: Null pointer addition xcrysden-1.6.2/C/readstrf.c:1285:9: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1269:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1269:11: note: Assignment 'nat1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1285:9: note: Null pointer addition xcrysden-1.6.2/C/readstrf.c:1285:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1271:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1271:11: note: Assignment 'xat1=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1285:19: note: Null pointer addition xcrysden-1.6.2/C/readstrf.c:1285:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1272:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1272:11: note: Assignment 'yat1=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1285:29: note: Null pointer addition xcrysden-1.6.2/C/readstrf.c:1285:39: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1273:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1273:11: note: Assignment 'zat1=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1285:39: note: Null pointer addition xcrysden-1.6.2/C/readstrf.c:1420:60: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1409:29: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1409:15: note: Assignment 'frametype=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1420:60: note: Null pointer addition xcrysden-1.6.2/C/readstrf.c:1421:11: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1410:29: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1410:12: note: Assignment 'xframe=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1421:11: note: Null pointer addition xcrysden-1.6.2/C/readstrf.c:1421:23: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1411:29: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1411:12: note: Assignment 'yframe=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1421:23: note: Null pointer addition xcrysden-1.6.2/C/readstrf.c:1421:35: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1412:29: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1412:12: note: Assignment 'zframe=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1421:35: note: Null pointer addition xcrysden-1.6.2/C/readstrf.c:1422:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1413:30: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1413:13: note: Assignment 'xframe2=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1422:12: note: Null pointer addition xcrysden-1.6.2/C/readstrf.c:1422:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1414:30: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1414:13: note: Assignment 'yframe2=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1422:25: note: Null pointer addition xcrysden-1.6.2/C/readstrf.c:1422:38: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1415:30: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1415:13: note: Assignment 'zframe2=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1422:38: note: Null pointer addition xcrysden-1.6.2/C/readstrf.c:1629:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1622:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1622:11: note: Assignment 'flag1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1629:13: note: Null pointer addition xcrysden-1.6.2/C/readstrf.c:1713:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1559:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1559:11: note: Assignment 'flag1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1580:14: note: Calling function 'CheckAtoms', 1st argument 'flag1' value is 0 xcrysden-1.6.2/C/readstrf.c:1712:20: note: Assuming condition is false xcrysden-1.6.2/C/readstrf.c:1713:19: note: Null pointer addition xcrysden-1.6.2/C/readstrf.c:1773:37: style:inconclusive: Function 'parsePDBAtomRecord' argument 2 names different: declaration 'nat1' definition 'n'. [funcArgNamesDifferent] xcrysden-1.6.2/C/readstrf.c:68:49: note: Function 'parsePDBAtomRecord' argument 2 names different: declaration 'nat1' definition 'n'. xcrysden-1.6.2/C/readstrf.c:1773:37: note: Function 'parsePDBAtomRecord' argument 2 names different: declaration 'nat1' definition 'n'. xcrysden-1.6.2/C/readstrf.c:1067:18: style: Local variable 'c' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/readstrf.c:558:7: note: Shadowed declaration xcrysden-1.6.2/C/readstrf.c:1067:18: note: Shadow variable xcrysden-1.6.2/C/readstrf.c:1097:18: style: Local variable 'c' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/readstrf.c:558:7: note: Shadowed declaration xcrysden-1.6.2/C/readstrf.c:1097:18: note: Shadow variable xcrysden-1.6.2/C/readstrf.c:1179:12: style: Local variable 'coor' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:692:11: note: Shadowed declaration xcrysden-1.6.2/C/readstrf.c:1179:12: note: Shadow variable xcrysden-1.6.2/C/readstrf.c:1438:9: style: Local variable 'max' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:9: note: Shadowed declaration xcrysden-1.6.2/C/readstrf.c:1438:9: note: Shadow variable xcrysden-1.6.2/C/readstrf.c:1779:8: style: Local variable 'coor' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:692:11: note: Shadowed declaration xcrysden-1.6.2/C/readstrf.c:1779:8: note: Shadow variable xcrysden-1.6.2/C/readstrf.c:1848:8: style: Local variable 'coor' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:692:11: note: Shadowed declaration xcrysden-1.6.2/C/readstrf.c:1848:8: note: Shadow variable xcrysden-1.6.2/C/readstrf.c:1773:26: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/readstrf.c:1845:28: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/readstrf.c:559:35: style: Variable 'lend' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/realTimeMovie.c:50:113: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/realTimeMovie.c:149:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/realTimeMovie.c:49:17: warning: Logical conjunction always evaluates to false: argc < 3 && argc > 5. [incorrectLogicOperator] xcrysden-1.6.2/C/realTimeMovie.c:117:2: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] xcrysden-1.6.2/C/sInfo.c:34:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_GLOBAL_ONLY [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/setOpenGLState.c:43:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/setOpenGLState.c:86:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/sgiAux.c:128:5: warning: If memory allocation fails, then there is a possible null pointer dereference: size [nullPointerOutOfMemory] xcrysden-1.6.2/C/sgiAux.c:126:29: note: Assuming allocation function fails xcrysden-1.6.2/C/sgiAux.c:126:10: note: Assignment 'size=(double*)malloc(sizeof(double)*count)', assigned value is 0 xcrysden-1.6.2/C/sgiAux.c:128:5: note: Null pointer dereference xcrysden-1.6.2/C/sgiAux.c:131:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newModel [nullPointerOutOfMemory] xcrysden-1.6.2/C/sgiAux.c:130:32: note: Assuming allocation function fails xcrysden-1.6.2/C/sgiAux.c:130:14: note: Assignment 'newModel=(struct model*)malloc(sizeof(struct model))', assigned value is 0 xcrysden-1.6.2/C/sgiAux.c:131:3: note: Null pointer dereference xcrysden-1.6.2/C/sgiAux.c:132:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newModel [nullPointerOutOfMemory] xcrysden-1.6.2/C/sgiAux.c:130:32: note: Assuming allocation function fails xcrysden-1.6.2/C/sgiAux.c:130:14: note: Assignment 'newModel=(struct model*)malloc(sizeof(struct model))', assigned value is 0 xcrysden-1.6.2/C/sgiAux.c:132:3: note: Null pointer dereference xcrysden-1.6.2/C/sgiAux.c:133:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newModel [nullPointerOutOfMemory] xcrysden-1.6.2/C/sgiAux.c:130:32: note: Assuming allocation function fails xcrysden-1.6.2/C/sgiAux.c:130:14: note: Assignment 'newModel=(struct model*)malloc(sizeof(struct model))', assigned value is 0 xcrysden-1.6.2/C/sgiAux.c:133:3: note: Null pointer dereference xcrysden-1.6.2/C/sgiAux.c:134:3: warning: If memory allocation fails, then there is a possible null pointer dereference: newModel [nullPointerOutOfMemory] xcrysden-1.6.2/C/sgiAux.c:130:32: note: Assuming allocation function fails xcrysden-1.6.2/C/sgiAux.c:130:14: note: Assignment 'newModel=(struct model*)malloc(sizeof(struct model))', assigned value is 0 xcrysden-1.6.2/C/sgiAux.c:134:3: note: Null pointer dereference xcrysden-1.6.2/C/sgiAux.c:137:11: warning: If memory allocation fails, then there is a possible null pointer dereference: newModel [nullPointerOutOfMemory] xcrysden-1.6.2/C/sgiAux.c:130:32: note: Assuming allocation function fails xcrysden-1.6.2/C/sgiAux.c:130:14: note: Assignment 'newModel=(struct model*)malloc(sizeof(struct model))', assigned value is 0 xcrysden-1.6.2/C/sgiAux.c:137:11: note: Null pointer dereference xcrysden-1.6.2/C/sgiAux.c:104:27: style: Parameter 'oneArray' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/sgiAux.c:104:47: style: Parameter 'twoArray' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/sgiAux.c:120:37: style: Parameter 'sizeArray' can be declared as const array [constParameter] xcrysden-1.6.2/C/splineInt.c:209:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/splineInt.c:39:48: style:inconclusive: Function 'spline' argument 4 names different: declaration 'yp1' definition 'yp0'. [funcArgNamesDifferent] xcrysden-1.6.2/C/splineInt.c:25:48: note: Function 'spline' argument 4 names different: declaration 'yp1' definition 'yp0'. xcrysden-1.6.2/C/splineInt.c:39:48: note: Function 'spline' argument 4 names different: declaration 'yp1' definition 'yp0'. xcrysden-1.6.2/C/splineInt.c:39:59: style:inconclusive: Function 'spline' argument 5 names different: declaration 'ypn' definition 'ypnn'. [funcArgNamesDifferent] xcrysden-1.6.2/C/splineInt.c:25:59: note: Function 'spline' argument 5 names different: declaration 'ypn' definition 'ypnn'. xcrysden-1.6.2/C/splineInt.c:39:59: note: Function 'spline' argument 5 names different: declaration 'ypn' definition 'ypnn'. xcrysden-1.6.2/C/splineInt.c:249:13: style:inconclusive: Function 'spline3' argument 6 names different: declaration 'yp1' definition 'yp0'. [funcArgNamesDifferent] xcrysden-1.6.2/C/splineInt.c:34:13: note: Function 'spline3' argument 6 names different: declaration 'yp1' definition 'yp0'. xcrysden-1.6.2/C/splineInt.c:249:13: note: Function 'spline3' argument 6 names different: declaration 'yp1' definition 'yp0'. xcrysden-1.6.2/C/splineInt.c:249:24: style:inconclusive: Function 'spline3' argument 7 names different: declaration 'ypn' definition 'ypnn'. [funcArgNamesDifferent] xcrysden-1.6.2/C/splineInt.c:34:24: note: Function 'spline3' argument 7 names different: declaration 'ypn' definition 'ypnn'. xcrysden-1.6.2/C/splineInt.c:249:24: note: Function 'spline3' argument 7 names different: declaration 'ypn' definition 'ypnn'. xcrysden-1.6.2/C/splineInt.c:39:19: style: Parameter 'x' can be declared as const array [constParameter] xcrysden-1.6.2/C/splineInt.c:39:30: style: Parameter 'y' can be declared as const array [constParameter] xcrysden-1.6.2/C/splineInt.c:164:22: style: Parameter 'xa' can be declared as const array [constParameter] xcrysden-1.6.2/C/splineInt.c:164:34: style: Parameter 'ya' can be declared as const array [constParameter] xcrysden-1.6.2/C/splineInt.c:164:46: style: Parameter 'y2a' can be declared as const array [constParameter] xcrysden-1.6.2/C/splineInt.c:248:20: style: Parameter 'x' can be declared as const array [constParameter] xcrysden-1.6.2/C/splineInt.c:293:23: style: Parameter 'xa' can be declared as const array [constParameter] xcrysden-1.6.2/C/splineInt.c:293:73: style: Parameter 'y2a' can be declared as const array [constParameter] xcrysden-1.6.2/C/tmp.c:17:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/trash.c:31:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable natoms [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/trash.c:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/trash.c:86:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/trash.c:54:3: warning: printf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] xcrysden-1.6.2/C/trash.c:32:10: style: Unused variable: x [unusedVariable] xcrysden-1.6.2/C/trash.c:32:12: style: Unused variable: y [unusedVariable] xcrysden-1.6.2/C/trash.c:32:14: style: Unused variable: z [unusedVariable] xcrysden-1.6.2/C/vectors.c:64:39: style: Parameter 'new' can be declared as const array [constParameter] xcrysden-1.6.2/C/vectors.c:64:57: style: Parameter 'old' can be declared as const array [constParameter] xcrysden-1.6.2/C/vectors.c:92:20: style: Parameter 'vec' can be declared as const array [constParameter] xcrysden-1.6.2/C/vectors.c:154:43: style: Parameter 'rotx' can be declared as const array [constParameter] xcrysden-1.6.2/C/vectors.c:154:63: style: Parameter 'roty' can be declared as const array [constParameter] xcrysden-1.6.2/C/vectors.c:337:27: style: Parameter 'v0' can be declared as const array [constParameter] xcrysden-1.6.2/C/vectors.c:337:40: style: Parameter 'v1' can be declared as const array [constParameter] xcrysden-1.6.2/C/voronoi.c:45:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/voronoi.c:32:9: style: Local variable 'tr' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:637:11: note: Shadowed declaration xcrysden-1.6.2/C/voronoi.c:32:9: note: Shadow variable xcrysden-1.6.2/C/writeXSF.c:42:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_VOLATILE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/writeXSF.c:91:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_VOLATILE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/writeXSF.c:84:20: style: Variable 'mols' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/writeXSF.c:258:57: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/xcAppInit.c:409:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:459:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:507:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_WriteXSFCmd [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:817:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:982:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:1094:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:1443:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:1528:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:1637:92: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:1796:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:1875:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:1929:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:1978:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:2013:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:2035:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:2154:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:2241:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:2445:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:2554:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:2591:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:2640:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_VOLATILE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:2697:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_VOLATILE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:2756:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_STEREO [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAppInit.c:849:5: error: Resource leak: fp [resourceLeak] xcrysden-1.6.2/C/xcAppInit.c:860:7: error: Resource leak: fp [resourceLeak] xcrysden-1.6.2/C/xcAppInit.c:2471:5: error: Resource leak: fp [resourceLeak] xcrysden-1.6.2/C/xcAppInit.c:2483:7: error: Resource leak: fp [resourceLeak] xcrysden-1.6.2/C/xcAppInit.c:487:9: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/xcAppInit.c:2009:52: style: Parameter 'interp' can be declared as pointer to const. However it seems that 'XC_OldAtmColCmd' is a callback function, if 'interp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xcrysden-1.6.2/C/xcAppInit.c:621:60: note: You might need to cast the function pointer here xcrysden-1.6.2/C/xcAppInit.c:2009:52: note: Parameter 'interp' can be declared as pointer to const xcrysden-1.6.2/C/xcAtomAdd.c:91:93: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAtomAdd.c:233:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAtomAdd.c:322:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_STIPPLE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcAtomAdd.c:306:10: style: Local variable 'mxx' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/xcAtomAdd.c:43:15: note: Shadowed declaration xcrysden-1.6.2/C/xcAtomAdd.c:306:10: note: Shadow variable xcrysden-1.6.2/C/xcAtomAdd.c:306:15: style: Local variable 'myy' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/xcAtomAdd.c:43:20: note: Shadowed declaration xcrysden-1.6.2/C/xcAtomAdd.c:306:15: note: Shadow variable xcrysden-1.6.2/C/xcAtomAdd.c:306:20: style: Local variable 'mzz' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/xcAtomAdd.c:43:25: note: Shadowed declaration xcrysden-1.6.2/C/xcAtomAdd.c:306:20: note: Shadow variable xcrysden-1.6.2/C/xcBz.c:91:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_VOLATILE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcBz.c:838:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcBz.c:1391:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcBz.c:1421:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcBz.c:250:13: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] xcrysden-1.6.2/C/xcBz.c:251:13: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] xcrysden-1.6.2/C/xcBz.c:252:13: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] xcrysden-1.6.2/C/xcBz.c:1197:13: style: Variable 'argc' is reassigned a value before the old one has been used. [redundantAssignment] xcrysden-1.6.2/C/xcBz.c:1190:13: note: argc is assigned xcrysden-1.6.2/C/xcBz.c:1197:13: note: argc is overwritten xcrysden-1.6.2/C/xcBz.c:777:36: style:inconclusive: Function 'BzGetCoor' argument 3 names different: declaration 'coor' definition 'v'. [funcArgNamesDifferent] xcrysden-1.6.2/C/xcBz.c:52:48: note: Function 'BzGetCoor' argument 3 names different: declaration 'coor' definition 'v'. xcrysden-1.6.2/C/xcBz.c:777:36: note: Function 'BzGetCoor' argument 3 names different: declaration 'coor' definition 'v'. xcrysden-1.6.2/C/xcBz.c:108:9: style: Local variable 'i' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/xcBz.c:77:7: note: Shadowed declaration xcrysden-1.6.2/C/xcBz.c:108:9: note: Shadow variable xcrysden-1.6.2/C/xcBz.c:317:14: style: Local variable 'coor' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:692:11: note: Shadowed declaration xcrysden-1.6.2/C/xcBz.c:317:14: note: Shadow variable xcrysden-1.6.2/C/xcBz.c:337:6: style: Local variable 'i' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/xcBz.c:77:7: note: Shadowed declaration xcrysden-1.6.2/C/xcBz.c:337:6: note: Shadow variable xcrysden-1.6.2/C/xcBz.c:1405:19: style: Local variable 'min' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:14: note: Shadowed declaration xcrysden-1.6.2/C/xcBz.c:1405:19: note: Shadow variable xcrysden-1.6.2/C/xcBz.c:317:14: style: Variable 'coor' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/xcBz.c:1046:10: style: Variable 'ps1' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/xcBz.c:1047:12: style: Variable 'color' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/xcBz.c:1050:12: style: Variable 'ps1' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/xcBz.c:1055:14: style: Variable 'color' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/xcColorScheme.c:105:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_VOLATILE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcColorScheme.c:304:27: style: Parameter 'oldcol' can be declared as const array [constParameter] xcrysden-1.6.2/C/xcDisplayFunc.c:253:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:278:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:330:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:384:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:409:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:482:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_AND_EXECUTE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:527:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_AND_EXECUTE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:573:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_AND_EXECUTE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:613:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:679:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:789:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:838:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:945:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_DEPTH_TEST [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:999:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_AND_EXECUTE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:1037:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_AND_EXECUTE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:1075:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_AND_EXECUTE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:1111:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_AND_EXECUTE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:1166:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_AND_EXECUTE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:1230:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE_AND_EXECUTE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:1326:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FILL [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:1515:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_STIPPLE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:1536:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_STIPPLE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:1612:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:1748:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_VIEWPORT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:1816:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BACK_LEFT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:1882:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_MATERIAL [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:2188:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:2198:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:2212:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_FOG [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:2387:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BACK [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:2462:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc.c:1448:5: warning: Buffer 'framecol' is too small, the function '_ambient_by_diffuse' expects a bigger buffer in 3rd argument [argumentSize] xcrysden-1.6.2/C/xcDisplayFunc.c:1448:5: note: Function '_ambient_by_diffuse' is called xcrysden-1.6.2/C/xcDisplayFunc.c:1248:72: note: Declaration of 3rd function argument. xcrysden-1.6.2/C/struct.h:716:7: note: Passing buffer 'framecol' to function that is declared here xcrysden-1.6.2/C/xcDisplayFunc.c:1448:5: note: Buffer 'framecol' is too small, the function '_ambient_by_diffuse' expects a bigger buffer in 3rd argument xcrysden-1.6.2/C/xcDisplayFunc.c:1482:5: warning: Buffer 'framecol' is too small, the function '_ambient_by_diffuse' expects a bigger buffer in 3rd argument [argumentSize] xcrysden-1.6.2/C/xcDisplayFunc.c:1482:5: note: Function '_ambient_by_diffuse' is called xcrysden-1.6.2/C/xcDisplayFunc.c:1248:72: note: Declaration of 3rd function argument. xcrysden-1.6.2/C/struct.h:716:7: note: Passing buffer 'framecol' to function that is declared here xcrysden-1.6.2/C/xcDisplayFunc.c:1482:5: note: Buffer 'framecol' is too small, the function '_ambient_by_diffuse' expects a bigger buffer in 3rd argument xcrysden-1.6.2/C/xcDisplayFunc.c:1618:23: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] xcrysden-1.6.2/C/xcDisplayFunc.c:1612:35: note: outer condition: !atomLabel[i].base xcrysden-1.6.2/C/xcDisplayFunc.c:1618:23: note: opposite inner condition: atomLabel[i].base xcrysden-1.6.2/C/xcDisplayFunc.c:1743:11: style: Local variable 'min' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:14: note: Shadowed declaration xcrysden-1.6.2/C/xcDisplayFunc.c:1743:11: note: Shadow variable xcrysden-1.6.2/C/xcDisplayFunc.c:1743:16: style: Local variable 'max' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:9: note: Shadowed declaration xcrysden-1.6.2/C/xcDisplayFunc.c:1743:16: note: Shadow variable xcrysden-1.6.2/C/xcDisplayFunc.c:934:10: style: Variable 'LIGHT' can be declared as const array [constVariable] xcrysden-1.6.2/C/xcDisplayFunc.c:1248:72: style: Parameter 'src' can be declared as const array [constParameter] xcrysden-1.6.2/C/xcDisplayFunc.c:1590:25: style: Parameter 'mat' can be declared as const array [constParameter] xcrysden-1.6.2/C/xcDisplayFunc.c:1590:43: style: Parameter 'vec' can be declared as const array [constParameter] xcrysden-1.6.2/C/xcDisplayFunc.c:1599:39: style: Parameter 'rad' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/xcDisplayFunc.c:1614:16: style: Variable 'color' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/xcDisplayFunc.c:2099:17: style: Variable 'iso' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/xcDisplayFunc.c:2224:7: style: Variable 'f' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/xcDisplayFunc2.c:334:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:366:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:444:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:500:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:566:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:637:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:702:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:781:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:865:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:944:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:1037:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:1135:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:1194:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:1268:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:1409:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:1452:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcDisplayFunc2.c:411:22: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] xcrysden-1.6.2/C/xcDisplayFunc2.c:406:33: note: outer condition: !atomLabel[ia].base xcrysden-1.6.2/C/xcDisplayFunc2.c:411:22: note: opposite inner condition: atomLabel[ia].base xcrysden-1.6.2/C/xcDisplayFunc2.c:339:22: style: Parameter 'mat' can be declared as const array [constParameter] xcrysden-1.6.2/C/xcExit.c:32:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcF3toI4.c:44:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcFont.c:120:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcFont.c:212:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcFont.c:316:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcFont.c:361:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcFont.c:386:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcFont.c:429:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_UNSIGNED_BYTE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcFont.c:453:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_VOLATILE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcFont.c:542:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcFont.c:408:11: style: Local variable 'result' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/xcFont.c:384:14: note: Shadowed declaration xcrysden-1.6.2/C/xcFont.c:408:11: note: Shadow variable xcrysden-1.6.2/C/xcFont.c:414:13: style: Local variable 'result' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/xcFont.c:384:14: note: Shadowed declaration xcrysden-1.6.2/C/xcFont.c:414:13: note: Shadow variable xcrysden-1.6.2/C/xcFont.c:418:13: style: Local variable 'result' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/xcFont.c:384:14: note: Shadowed declaration xcrysden-1.6.2/C/xcFont.c:418:13: note: Shadow variable xcrysden-1.6.2/C/xcFont.c:473:62: style: Parameter 'togl' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/xcFont.c:486:45: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/xcFont.c:157:53: error: Uninitialized variable: thisFont [uninitvar] xcrysden-1.6.2/C/xcFont.c:247:44: error: Uninitialized variable: thisFont [uninitvar] xcrysden-1.6.2/C/xcFont.c:401:51: error: Uninitialized variable: thisFont [uninitvar] xcrysden-1.6.2/C/xcFont.c:157:53: error: Uninitialized struct member: thisFont.font [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:157:53: error: Uninitialized struct member: thisFont.string [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:157:53: error: Uninitialized struct member: thisFont.tkfont [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:157:53: error: Uninitialized struct member: thisFont.height [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:157:53: error: Uninitialized struct member: thisFont.width [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:247:44: error: Uninitialized struct member: thisFont.font [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:247:44: error: Uninitialized struct member: thisFont.string [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:247:44: error: Uninitialized struct member: thisFont.tkfont [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:247:44: error: Uninitialized struct member: thisFont.height [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:247:44: error: Uninitialized struct member: thisFont.width [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:401:51: error: Uninitialized struct member: thisFont.font [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:401:51: error: Uninitialized struct member: thisFont.string [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:401:51: error: Uninitialized struct member: thisFont.tkfont [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:401:51: error: Uninitialized struct member: thisFont.height [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:401:51: error: Uninitialized struct member: thisFont.width [uninitStructMember] xcrysden-1.6.2/C/xcFont.c:80:12: style: struct member 'FontType::string' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:617:13: style: struct member 'Togl_PackageGlobals::toglHead' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:618:13: style: struct member 'Togl_PackageGlobals::nextContextTag' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:624:13: style: struct member 'Togl::Next' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:640:13: style: struct member 'Togl::contextTag' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:643:18: style: struct member 'Togl::VisInfo' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:645:14: style: struct member 'Togl::display' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:647:17: style: struct member 'Togl::Interp' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:649:26: style: struct member 'Togl::tpg' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:653:13: style: struct member 'Togl::Width' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:653:20: style: struct member 'Togl::Height' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:654:13: style: struct member 'Togl::SetGrid' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:655:13: style: struct member 'Togl::TimerInterval' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:658:13: style: struct member 'Togl::RgbaRed' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:659:13: style: struct member 'Togl::RgbaGreen' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:660:13: style: struct member 'Togl::RgbaBlue' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:663:13: style: struct member 'Togl::DepthSize' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:665:13: style: struct member 'Togl::AccumRed' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:666:13: style: struct member 'Togl::AccumGreen' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:667:13: style: struct member 'Togl::AccumBlue' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:668:13: style: struct member 'Togl::AccumAlpha' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:670:13: style: struct member 'Togl::AlphaSize' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:672:13: style: struct member 'Togl::StencilSize' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:675:13: style: struct member 'Togl::Stereo' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:676:13: style: struct member 'Togl::EyeSeparation' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:677:13: style: struct member 'Togl::Convergence' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:678:13: style: struct member 'Togl::AuxNumber' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:680:13: style: struct member 'Togl::PixelFormat' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:681:13: style: struct member 'Togl::SwapInterval' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:682:17: style: struct member 'Togl::ShareList' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:683:17: style: struct member 'Togl::ShareContext' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:685:17: style: struct member 'Togl::Ident' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:690:14: style: struct member 'Togl::CreateProc' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:691:14: style: struct member 'Togl::DisplayProc' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:692:14: style: struct member 'Togl::ReshapeProc' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:693:14: style: struct member 'Togl::DestroyProc' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:694:14: style: struct member 'Togl::TimerProc' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:704:14: style: struct member 'Togl::OverlayDisplayProc' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:707:13: style: struct member 'Togl::OverlayTransparentPixel' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:710:14: style: struct member 'Togl::EpsRedMap' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:711:14: style: struct member 'Togl::EpsGreenMap' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:712:14: style: struct member 'Togl::EpsBlueMap' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:713:13: style: struct member 'Togl::EpsMapSize' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:714:13: style: struct member 'Togl::currentStereoBuffer' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcFont.c:719:13: style: struct member 'Togl::badWindow' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcForces.c:56:203: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcForces.c:77:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcForces.c:153:5: error: Common realloc mistake: 'force' nulled but not freed upon failure [memleakOnRealloc] xcrysden-1.6.2/C/xcForces.c:150:17: style: Local variable 'max' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:9: note: Shadowed declaration xcrysden-1.6.2/C/xcForces.c:150:17: note: Shadow variable xcrysden-1.6.2/C/xcForces.c:148:33: style: Variable 'sizeMin' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/xcFractCoor.c:47:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcFractCoor.c:43:16: style: Local variable 'coor' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:692:11: note: Shadowed declaration xcrysden-1.6.2/C/xcFractCoor.c:43:16: note: Shadow variable xcrysden-1.6.2/C/xcFractCoor.c:91:26: style: Parameter 'ivec' can be declared as const array [constParameter] xcrysden-1.6.2/C/xcFractCoor.c:91:43: style: Parameter 'coor' can be declared as const array [constParameter] xcrysden-1.6.2/C/xcGLparam.c:159:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcGLparam.c:890:99: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcGLparam.c:2062:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcGLparam.c:2090:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_VOLATILE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcGLparam.c:524:11: style: Local variable 'tr' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:637:11: note: Shadowed declaration xcrysden-1.6.2/C/xcGLparam.c:524:11: note: Shadow variable xcrysden-1.6.2/C/xcGLparam.c:1375:11: style: Local variable 'tr' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:637:11: note: Shadowed declaration xcrysden-1.6.2/C/xcGLparam.c:1375:11: note: Shadow variable xcrysden-1.6.2/C/xcGLparam.c:507:8: error: Uninitialized struct member: glparam.what [uninitStructMember] xcrysden-1.6.2/C/xcGLparam.c:1333:8: error: Uninitialized struct member: glparam.what [uninitStructMember] xcrysden-1.6.2/C/xcGLparam.c:105:12: style: struct member 'GLParam::what' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcGLparam.c:106:12: style: struct member 'GLParam::mat_what' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcGLparam.c:107:12: style: struct member 'GLParam::mat_what_isosurf' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcGLparam.c:108:12: style: struct member 'GLParam::mat_what_isoside' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcGLparam.c:110:12: style: struct member 'GLParam::isonormal_what' is never used. [unusedStructMember] xcrysden-1.6.2/C/xcHBonds.c:35:254: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcHBonds.c:64:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcHBonds.c:292:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcHBonds.c:301:55: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/xcIsoDataGrid.c:53:129: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoDataGrid.c:54:5: error: Memory leak: argvList [memleak] xcrysden-1.6.2/C/xcIsoDataGrid.c:54:5: error: Memory leak: filename [memleak] xcrysden-1.6.2/C/xcIsoDataGrid.c:65:22: style: Local variable 'grid' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/xcIsoDataGrid.c:45:20: note: Shadowed declaration xcrysden-1.6.2/C/xcIsoDataGrid.c:65:22: note: Shadow variable xcrysden-1.6.2/C/xcIsoSpaceSel.c:113:251: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSpaceSel.c:566:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSpaceSel.c:599:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSpaceSel.c:663:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_BLEND [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSpaceSel.c:498:8: style: The if condition is the same as the previous if condition [duplicateCondition] xcrysden-1.6.2/C/xcIsoSpaceSel.c:440:8: note: First condition xcrysden-1.6.2/C/xcIsoSpaceSel.c:498:8: note: Second condition xcrysden-1.6.2/C/xcIsoSpaceSel.c:105:16: style: Local variable 'normal' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/isosurf.h:210:13: note: Shadowed declaration xcrysden-1.6.2/C/xcIsoSpaceSel.c:105:16: note: Shadow variable xcrysden-1.6.2/C/xcIsoSpaceSel.c:718:21: style: Parameter 'ivec' can be declared as const array [constParameter] xcrysden-1.6.2/C/xcIsoSurf.c:194:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSurf.c:302:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSurf.c:1135:102: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSurf.c:1252:85: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSurf.c:1335:137: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSurf.c:1453:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSurf.c:1669:149: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSurf.c:1889:162: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSurf.c:2031:138: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSurf.c:2215:171: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSurf.c:2463:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcIsoSurf.c:473:19: warning: Logical conjunction always evaluates to false: argc < 3 && argc > 4. [incorrectLogicOperator] xcrysden-1.6.2/C/xcIsoSurf.c:1515:35: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] xcrysden-1.6.2/C/xcIsoSurf.c:1525:31: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] xcrysden-1.6.2/C/xcIsoSurf.c:1049:9: style: Local variable 'min' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:14: note: Shadowed declaration xcrysden-1.6.2/C/xcIsoSurf.c:1049:9: note: Shadow variable xcrysden-1.6.2/C/xcIsoSurf.c:1056:9: style: Local variable 'max' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:755:9: note: Shadowed declaration xcrysden-1.6.2/C/xcIsoSurf.c:1056:9: note: Shadow variable xcrysden-1.6.2/C/xcIsoSurf.c:1797:14: error: Uninitialized variable: f3 [legacyUninitvar] xcrysden-1.6.2/C/xcIsoSurf.c:1839:14: error: Uninitialized variable: f3 [legacyUninitvar] xcrysden-1.6.2/C/xcIsoSurf.c:1797:21: error: Uninitialized variable: f31 [legacyUninitvar] xcrysden-1.6.2/C/xcIsoSurf.c:1839:21: error: Uninitialized variable: f31 [legacyUninitvar] xcrysden-1.6.2/C/xcLabels.c:45:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_UNPACK_ALIGNMENT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcLabels.c:66:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcLabels.c:87:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcLabels.c:133:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcLabels.c:182:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcLabels.c:220:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COMPILE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcLabels.c:181:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xcrysden-1.6.2/C/xcLabels.c:108:10: style: Variable 'arrow' can be declared as const array [constVariable] xcrysden-1.6.2/C/xcMolSurf.c:80:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_SMOOTH [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcMolSurf.c:152:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_DYNAMIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcMolSurf.c:222:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcMolSurf.c:470:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcMolSurf.c:945:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcMolSurf.c:72:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:72:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:73:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:73:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:76:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:76:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:77:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:77:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:78:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:78:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:79:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:79:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:80:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:80:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:81:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:81:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:82:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:82:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:85:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:85:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:86:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:86:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:87:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:87:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:89:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:89:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:90:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:90:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:91:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:91:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:93:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:93:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:94:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:94:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:95:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:95:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:96:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:96:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:98:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:98:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:99:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:99:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:101:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:101:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:102:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mols [nullPointerOutOfMemory] xcrysden-1.6.2/C/xcMolSurf.c:71:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xcMolSurf.c:71:10: note: Assignment 'mols=(struct MOL_SURF*)calloc(1,sizeof(struct MOL_SURF))', assigned value is 0 xcrysden-1.6.2/C/xcMolSurf.c:102:3: note: Null pointer dereference xcrysden-1.6.2/C/xcMolSurf.c:377:28: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] xcrysden-1.6.2/C/xcMolSurf.c:124:37: style: Parameter 'mols' can be declared as pointer to const. However it seems that 'MolSurfGauss' is a callback function, if 'mols' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xcrysden-1.6.2/C/xcMolSurf.c:707:25: note: You might need to cast the function pointer here xcrysden-1.6.2/C/xcMolSurf.c:124:37: note: Parameter 'mols' can be declared as pointer to const xcrysden-1.6.2/C/xcMolSurf.c:128:35: style: Parameter 'mols' can be declared as pointer to const. However it seems that 'MolSurfExp' is a callback function, if 'mols' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xcrysden-1.6.2/C/xcMolSurf.c:711:25: note: You might need to cast the function pointer here xcrysden-1.6.2/C/xcMolSurf.c:128:35: note: Parameter 'mols' can be declared as pointer to const xcrysden-1.6.2/C/xcMolSurf.c:132:42: style: Parameter 'mols' can be declared as pointer to const. However it seems that 'MolSurfGaussPlain' is a callback function, if 'mols' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xcrysden-1.6.2/C/xcMolSurf.c:714:25: note: You might need to cast the function pointer here xcrysden-1.6.2/C/xcMolSurf.c:132:42: note: Parameter 'mols' can be declared as pointer to const xcrysden-1.6.2/C/xcMolSurf.c:136:40: style: Parameter 'mols' can be declared as pointer to const. However it seems that 'MolSurfExpPlain' is a callback function, if 'mols' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xcrysden-1.6.2/C/xcMolSurf.c:716:25: note: You might need to cast the function pointer here xcrysden-1.6.2/C/xcMolSurf.c:136:40: note: Parameter 'mols' can be declared as pointer to const xcrysden-1.6.2/C/xcMolSurf.c:445:15: style: Variable 's_nstep' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/xcMolSurf.c:446:15: style: Variable 's_weight' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/xcMolSurf.c:447:15: style: Variable 's_level' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/xcMolSurf.c:448:15: style: Variable 's_algorithm' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/xcMolSurf.c:449:15: style: Variable 's_normals' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/xcPrimitives.c:39:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_QUADS [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcPrimitives.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LIGHTING [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcPrimitives.c:88:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_LOOP [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcPrimitives.c:83:34: style: Parameter 'p' can be declared as const array [constParameter] xcrysden-1.6.2/C/xcPrimitives.c:83:49: style: Parameter 'nml' can be declared as const array [constParameter] xcrysden-1.6.2/C/xcPrimitives.c:104:11: style: Variable 'color' can be declared as const array [constVariable] xcrysden-1.6.2/C/xcReadXSF.c:53:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcReadXSF.c:102:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Tcl_DString [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcReadXSF.c:267:87: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcReadXSF.c:127:14: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xcReadXSF.c:132:7: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xcReadXSF.c:143:17: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xcReadXSF.c:148:17: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xcReadXSF.c:163:14: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xcReadXSF.c:168:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xcReadXSF.c:175:6: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xcReadXSF.c:264:20: style: Variable 'grid' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/xcSelect.c:182:109: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcSelect.c:526:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcSelect.c:830:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcSelect.c:848:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcSelect.c:975:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcSelect.c:1126:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_COLOR_BUFFER_BIT [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcSelect.c:1282:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_LINE_STIPPLE [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcSelect.c:1314:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcSelect.c:234:9: style: Local variable 'sqn' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:241:6: note: Shadowed declaration xcrysden-1.6.2/C/xcSelect.c:234:9: note: Shadow variable xcrysden-1.6.2/C/xcSelect.c:272:9: style: Local variable 'sqn' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:241:6: note: Shadowed declaration xcrysden-1.6.2/C/xcSelect.c:272:9: note: Shadow variable xcrysden-1.6.2/C/xcSelect.c:1310:7: style: Local variable 'sqn' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/struct.h:241:6: note: Shadowed declaration xcrysden-1.6.2/C/xcSelect.c:1310:7: note: Shadow variable xcrysden-1.6.2/C/xcSelect.c:415:23: style: Parameter 'mat' can be declared as const array [constParameter] xcrysden-1.6.2/C/xcSuperCell.c:68:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcSuperCell.c:279:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] xcrysden-1.6.2/C/xcSuperCell.c:280:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] xcrysden-1.6.2/C/xcSuperCell.c:281:11: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] xcrysden-1.6.2/C/xcSuperCell.c:276:47: style: Parameter 'v1' can be declared as const array [constParameter] xcrysden-1.6.2/C/xcSuperCell.c:276:60: style: Parameter 'v2' can be declared as const array [constParameter] xcrysden-1.6.2/C/xcTclsh.c:43:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcTogl.c:48:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcTogl.c:102:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcTogl.c:154:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcTogl.c:188:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcTogl.c:228:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcTogl.c:349:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcTogl.c:404:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcTogl.c:490:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcTogl.c:376:22: style: Variable 'wc' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/xcTogl.c:464:22: style: Variable 'wc' can be declared as pointer to const [constVariablePointer] xcrysden-1.6.2/C/xcWigner.c:65:170: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_STATIC [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcWigner.c:86:10: style: Variable 'mode' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/xcballstick.c:87:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcballstick.c:232:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcballstick.c:295:14: style: Local variable 'rodz' shadows outer variable [shadowVariable] xcrysden-1.6.2/C/xcballstick.c:207:10: note: Shadowed declaration xcrysden-1.6.2/C/xcballstick.c:295:14: note: Shadow variable xcrysden-1.6.2/C/xcdebug.c:28:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcdebug.c:32:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcdebug.c:36:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcviewport.c:181:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GL_PROJECTION [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xcviewport.c:127:13: style: Variable 'cr' is assigned a value that is never used. [unreadVariable] xcrysden-1.6.2/C/xsf2xsf.c:68:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xsf2xsf.c:109:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xsf2xsf.c:325:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xsf2xsf.c:348:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xsf2xsf.c:417:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xsf2xsf.c:425:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xcrysden-1.6.2/C/xsf2xsf.c:113:14: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xsf2xsf.c:119:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xsf2xsf.c:150:7: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xsf2xsf.c:240:7: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xsf2xsf.c:249:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xsf2xsf.c:266:2: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xsf2xsf.c:275:7: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xsf2xsf.c:326:5: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xsf2xsf.c:327:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xsf2xsf.c:338:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xcrysden-1.6.2/C/xsf2xsf.c:113:38: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] xcrysden-1.6.2/C/xsf2xsf.c:92:31: note: Assuming allocation function fails xcrysden-1.6.2/C/xsf2xsf.c:92:16: note: Assignment 'line=(char*)malloc(sizeof(char)*20000)', assigned value is 0 xcrysden-1.6.2/C/xsf2xsf.c:108:22: note: Assuming condition is false xcrysden-1.6.2/C/xsf2xsf.c:113:38: note: Null pointer dereference xcrysden-1.6.2/C/xsf2xsf.c:326:29: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] xcrysden-1.6.2/C/xsf2xsf.c:320:31: note: Assuming allocation function fails xcrysden-1.6.2/C/xsf2xsf.c:320:16: note: Assignment 'line=(char*)malloc(sizeof(char)*256)', assigned value is 0 xcrysden-1.6.2/C/xsf2xsf.c:326:29: note: Null pointer dereference xcrysden-1.6.2/C/xsf2xsf.c:327:48: warning: If memory allocation fails, then there is a possible null pointer dereference: atm [nullPointerOutOfMemory] xcrysden-1.6.2/C/xsf2xsf.c:319:31: note: Assuming allocation function fails xcrysden-1.6.2/C/xsf2xsf.c:319:16: note: Assignment 'atm=(char*)malloc(sizeof(char)*10)', assigned value is 0 xcrysden-1.6.2/C/xsf2xsf.c:327:48: note: Null pointer dereference xcrysden-1.6.2/C/xsf2xsf.c:339:7: warning: If memory allocation fails, then there is a possible null pointer dereference: atm [nullPointerOutOfMemory] xcrysden-1.6.2/C/xsf2xsf.c:335:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xsf2xsf.c:335:15: note: Assignment 'atm=(char*)malloc(sizeof(char)*10)', assigned value is 0 xcrysden-1.6.2/C/xsf2xsf.c:339:7: note: Null pointer dereference xcrysden-1.6.2/C/xsf2xsf.c:341:16: warning: If memory allocation fails, then there is a possible null pointer dereference: atm [nullPointerOutOfMemory] xcrysden-1.6.2/C/xsf2xsf.c:335:30: note: Assuming allocation function fails xcrysden-1.6.2/C/xsf2xsf.c:335:15: note: Assignment 'atm=(char*)malloc(sizeof(char)*10)', assigned value is 0 xcrysden-1.6.2/C/xsf2xsf.c:341:16: note: Null pointer dereference xcrysden-1.6.2/C/xsf2xsf.c:89:20: style: Parameter 'inpfile' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/xsf2xsf.c:89:35: style: Parameter 'outfile' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/xsf2xsf.c:333:31: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] xcrysden-1.6.2/C/xsf2xsf.c:377:30: style: Parameter 'vec' can be declared as const array [constParameter] xcrysden-1.6.2/C/xsf2xsf.c:325:40: warning: Storing getc() return value in char variable and then comparing with EOF. [checkCastIntToCharAndBack] diff: head xcrysden-1.6.2/C/cryClip.c:236:58: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:236:58: note: Null pointer dereference head xcrysden-1.6.2/C/cryClip.c:237:58: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:237:58: note: Null pointer dereference head xcrysden-1.6.2/C/cryClip.c:238:58: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:238:58: note: Null pointer dereference head xcrysden-1.6.2/C/cryClip.c:239:58: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:239:58: note: Null pointer dereference head xcrysden-1.6.2/C/cryClip.c:240:58: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:240:58: note: Null pointer dereference head xcrysden-1.6.2/C/cryClip.c:241:58: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:241:58: note: Null pointer dereference head xcrysden-1.6.2/C/cryClip.c:242:58: warning: If memory allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfMemory] xcrysden-1.6.2/C/cryClip.c:225:32: note: Assuming allocation function fails xcrysden-1.6.2/C/cryClip.c:225:10: note: Assignment 'out=(struct ISOSURFACE*)calloc(1,sizeof(struct ISOSURFACE))', assigned value is 0 xcrysden-1.6.2/C/cryClip.c:242:58: note: Null pointer dereference 2.17.0 xcrysden-1.6.2/C/readstrf.c:1282:15: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1270:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1270:11: note: Assignment 'flag1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1282:15: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1282:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1270:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1270:11: note: Assignment 'flag1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1282:15: note: Null pointer addition 2.17.0 xcrysden-1.6.2/C/readstrf.c:1285:19: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1271:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1271:11: note: Assignment 'xat1=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1285:19: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1285:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1271:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1271:11: note: Assignment 'xat1=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1285:19: note: Null pointer addition 2.17.0 xcrysden-1.6.2/C/readstrf.c:1285:29: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1272:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1272:11: note: Assignment 'yat1=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1285:29: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1285:29: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1272:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1272:11: note: Assignment 'yat1=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1285:29: note: Null pointer addition 2.17.0 xcrysden-1.6.2/C/readstrf.c:1285:39: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1273:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1273:11: note: Assignment 'zat1=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1285:39: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1285:39: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1273:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1273:11: note: Assignment 'zat1=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1285:39: note: Null pointer addition 2.17.0 xcrysden-1.6.2/C/readstrf.c:1285:9: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1269:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1269:11: note: Assignment 'nat1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1285:9: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1285:9: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1269:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1269:11: note: Assignment 'nat1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1285:9: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1298:18: warning: If memory allocation fails, then there is a possible null pointer dereference: nat1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1269:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1269:11: note: Assignment 'nat1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1287:14: note: Assuming condition is false xcrysden-1.6.2/C/readstrf.c:1298:18: note: Null pointer dereference 2.17.0 xcrysden-1.6.2/C/readstrf.c:1420:60: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1409:29: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1409:15: note: Assignment 'frametype=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1420:60: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1420:60: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1409:29: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1409:15: note: Assignment 'frametype=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1420:60: note: Null pointer addition 2.17.0 xcrysden-1.6.2/C/readstrf.c:1421:11: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1410:29: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1410:12: note: Assignment 'xframe=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1421:11: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1421:11: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1410:29: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1410:12: note: Assignment 'xframe=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1421:11: note: Null pointer addition 2.17.0 xcrysden-1.6.2/C/readstrf.c:1421:23: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1411:29: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1411:12: note: Assignment 'yframe=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1421:23: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1421:23: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1411:29: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1411:12: note: Assignment 'yframe=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1421:23: note: Null pointer addition 2.17.0 xcrysden-1.6.2/C/readstrf.c:1421:35: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1412:29: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1412:12: note: Assignment 'zframe=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1421:35: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1421:35: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1412:29: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1412:12: note: Assignment 'zframe=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1421:35: note: Null pointer addition 2.17.0 xcrysden-1.6.2/C/readstrf.c:1422:12: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1413:30: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1413:13: note: Assignment 'xframe2=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1422:12: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1422:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1413:30: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1413:13: note: Assignment 'xframe2=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1422:12: note: Null pointer addition 2.17.0 xcrysden-1.6.2/C/readstrf.c:1422:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1414:30: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1414:13: note: Assignment 'yframe2=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1422:25: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1422:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1414:30: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1414:13: note: Assignment 'yframe2=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1422:25: note: Null pointer addition 2.17.0 xcrysden-1.6.2/C/readstrf.c:1422:38: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1415:30: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1415:13: note: Assignment 'zframe2=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1422:38: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1422:38: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1415:30: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1415:13: note: Assignment 'zframe2=(double*)malloc(sizeDA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1422:38: note: Null pointer addition 2.17.0 xcrysden-1.6.2/C/readstrf.c:1629:13: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1622:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1622:11: note: Assignment 'flag1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1629:13: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1629:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1622:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1622:11: note: Assignment 'flag1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1629:13: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1638:26: warning: If memory allocation fails, then there is a possible null pointer dereference: fv1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1626:32: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1626:10: note: Assignment 'fv1=(double(*)[3])malloc(sizeof(double[3])*(natoms+1))', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1630:40: note: Assuming condition is false xcrysden-1.6.2/C/readstrf.c:1638:26: note: Null pointer dereference head xcrysden-1.6.2/C/readstrf.c:1638:38: warning: If memory allocation fails, then there is a possible null pointer dereference: fv1 [nullPointerOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1626:32: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1626:10: note: Assignment 'fv1=(double(*)[3])malloc(sizeof(double[3])*(natoms+1))', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1630:40: note: Assuming condition is false xcrysden-1.6.2/C/readstrf.c:1638:38: note: Null pointer dereference 2.17.0 xcrysden-1.6.2/C/readstrf.c:1713:19: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1559:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1559:11: note: Assignment 'flag1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1580:14: note: Calling function 'CheckAtoms', 1st argument 'flag1' value is 0 xcrysden-1.6.2/C/readstrf.c:1712:20: note: Assuming condition is false xcrysden-1.6.2/C/readstrf.c:1713:19: note: Null pointer addition head xcrysden-1.6.2/C/readstrf.c:1713:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] xcrysden-1.6.2/C/readstrf.c:1559:28: note: Assuming allocation function fails xcrysden-1.6.2/C/readstrf.c:1559:11: note: Assignment 'flag1=(int*)malloc(sizeIA)', assigned value is 0 xcrysden-1.6.2/C/readstrf.c:1580:14: note: Calling function 'CheckAtoms', 1st argument 'flag1' value is 0 xcrysden-1.6.2/C/readstrf.c:1712:20: note: Assuming condition is false xcrysden-1.6.2/C/readstrf.c:1713:19: note: Null pointer addition DONE