2025-05-07 06:59 ftp://ftp.de.debian.org/debian/pool/main/p/pymca/pymca_5.9.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openmp --library=python --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: 8e656e5 (2025-05-06 23:42:00 +0200) count: 648 639 elapsed-time: 16.9 18.1 head-timing-info: old-timing-info: head results: pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/cython/default/_ctools.c:8:0: error: #error Python headers needed to compile C extensions, please install development version of Python. [preprocessorErrorDirective] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/cython/default/_ctools.c:8:6: error: #error Python headers needed to compile C extensions, please install development version of Python. [preprocessorErrorDirective] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:96:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAN [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:380:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MASK [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:254:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:255:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:257:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:258:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:260:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:261:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:263:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:264:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:266:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:267:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:327:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:328:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:330:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/Colormap.c:331:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:163:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:203:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:142:154: style: Parameter 'minValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:142:172: style: Parameter 'maxValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:148:14: style: Variable 'colormapInt32' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:182:152: style: Parameter 'minValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:182:170: style: Parameter 'maxValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:188:14: style: Variable 'colormapInt32' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:221:150: style: Parameter 'minValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:221:168: style: Parameter 'maxValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:227:14: style: Variable 'colormapInt32' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:260:160: style: Parameter 'minValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:260:178: style: Parameter 'maxValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:266:14: style: Variable 'colormapInt32' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:300:152: style: Parameter 'minValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:300:170: style: Parameter 'maxValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:306:14: style: Variable 'colormapInt32' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:339:162: style: Parameter 'minValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:339:180: style: Parameter 'maxValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:345:14: style: Variable 'colormapInt32' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:377:148: style: Parameter 'minValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:377:166: style: Parameter 'maxValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:383:14: style: Variable 'colormapInt32' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:416:158: style: Parameter 'minValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:416:176: style: Parameter 'maxValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:422:14: style: Variable 'colormapInt32' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:455:154: style: Parameter 'minValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:455:172: style: Parameter 'maxValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:461:14: style: Variable 'colormapInt32' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:494:156: style: Parameter 'minValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:494:174: style: Parameter 'maxValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:500:14: style: Variable 'colormapInt32' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:533:150: style: Parameter 'minValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:533:168: style: Parameter 'maxValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:539:14: style: Variable 'colormapInt32' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:572:160: style: Parameter 'minValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:572:178: style: Parameter 'maxValue' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:578:14: style: Variable 'colormapInt32' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:179:5: error: Uninitialized variable: usedMin [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:179:5: error: Uninitialized variable: usedMax [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:218:5: error: Uninitialized variable: usedMin [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:218:5: error: Uninitialized variable: usedMax [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:257:5: error: Uninitialized variable: usedMin [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:257:5: error: Uninitialized variable: usedMax [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:296:5: error: Uninitialized variable: usedMin [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:296:5: error: Uninitialized variable: usedMax [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:336:5: error: Uninitialized variable: usedMin [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:336:5: error: Uninitialized variable: usedMax [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:374:5: error: Uninitialized variable: usedMin [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:374:5: error: Uninitialized variable: usedMax [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:413:5: error: Uninitialized variable: usedMin [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:413:5: error: Uninitialized variable: usedMax [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:452:5: error: Uninitialized variable: usedMin [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:452:5: error: Uninitialized variable: usedMax [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:491:5: error: Uninitialized variable: usedMin [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:491:5: error: Uninitialized variable: usedMax [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:530:5: error: Uninitialized variable: usedMin [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:530:5: error: Uninitialized variable: usedMax [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:569:5: error: Uninitialized variable: usedMin [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:569:5: error: Uninitialized variable: usedMax [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:608:5: error: Uninitialized variable: usedMin [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/ColormapLUT.c:608:5: error: Uninitialized variable: usedMax [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:70:1: style:inconclusive: Function '_InsidePolygon' argument 4 names different: declaration 'bound_value' definition 'border_value'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/include/InsidePolygonWithBounds.h:65:106: note: Function '_InsidePolygon' argument 4 names different: declaration 'bound_value' definition 'border_value'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:70:1: note: Function '_InsidePolygon' argument 4 names different: declaration 'bound_value' definition 'border_value'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:71:1: style:inconclusive: Function '_InsidePolygonF' argument 4 names different: declaration 'bound_value' definition 'border_value'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/include/InsidePolygonWithBounds.h:50:108: note: Function '_InsidePolygonF' argument 4 names different: declaration 'bound_value' definition 'border_value'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:71:1: note: Function '_InsidePolygonF' argument 4 names different: declaration 'bound_value' definition 'border_value'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:72:1: style:inconclusive: Function '_InsidePolygonInt' argument 4 names different: declaration 'bound_value' definition 'border_value'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/include/InsidePolygonWithBounds.h:57:112: note: Function '_InsidePolygonInt' argument 4 names different: declaration 'bound_value' definition 'border_value'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:72:1: note: Function '_InsidePolygonInt' argument 4 names different: declaration 'bound_value' definition 'border_value'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:74:34: style:inconclusive: Function 'PointsInsidePolygon' argument 1 names different: declaration 'polygon_xy' definition 'vertices'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/include/InsidePolygonWithBounds.h:68:34: note: Function 'PointsInsidePolygon' argument 1 names different: declaration 'polygon_xy' definition 'vertices'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:74:34: note: Function 'PointsInsidePolygon' argument 1 names different: declaration 'polygon_xy' definition 'vertices'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:74:48: style:inconclusive: Function 'PointsInsidePolygon' argument 2 names different: declaration 'N_xy' definition 'N_vertices'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/include/InsidePolygonWithBounds.h:68:50: note: Function 'PointsInsidePolygon' argument 2 names different: declaration 'N_xy' definition 'N_vertices'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:74:48: note: Function 'PointsInsidePolygon' argument 2 names different: declaration 'N_xy' definition 'N_vertices'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:99:35: style:inconclusive: Function 'PointsInsidePolygonF' argument 1 names different: declaration 'polygon_xy' definition 'vertices'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/include/InsidePolygonWithBounds.h:53:35: note: Function 'PointsInsidePolygonF' argument 1 names different: declaration 'polygon_xy' definition 'vertices'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:99:35: note: Function 'PointsInsidePolygonF' argument 1 names different: declaration 'polygon_xy' definition 'vertices'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:99:49: style:inconclusive: Function 'PointsInsidePolygonF' argument 2 names different: declaration 'N_xy' definition 'N_vertices'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/include/InsidePolygonWithBounds.h:53:51: note: Function 'PointsInsidePolygonF' argument 2 names different: declaration 'N_xy' definition 'N_vertices'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:99:49: note: Function 'PointsInsidePolygonF' argument 2 names different: declaration 'N_xy' definition 'N_vertices'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:124:37: style:inconclusive: Function 'PointsInsidePolygonInt' argument 1 names different: declaration 'polygon_xy' definition 'vertices'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/include/InsidePolygonWithBounds.h:60:37: note: Function 'PointsInsidePolygonInt' argument 1 names different: declaration 'polygon_xy' definition 'vertices'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:124:37: note: Function 'PointsInsidePolygonInt' argument 1 names different: declaration 'polygon_xy' definition 'vertices'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:124:51: style:inconclusive: Function 'PointsInsidePolygonInt' argument 2 names different: declaration 'N_xy' definition 'N_vertices'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/include/InsidePolygonWithBounds.h:60:53: note: Function 'PointsInsidePolygonInt' argument 2 names different: declaration 'N_xy' definition 'N_vertices'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:124:51: note: Function 'PointsInsidePolygonInt' argument 2 names different: declaration 'N_xy' definition 'N_vertices'. pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:70:1: style: Parameter 'polygon' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:71:1: style: Parameter 'polygon' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:72:1: style: Parameter 'polygon' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:80:12: style: Variable 'point' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:105:13: style: Variable 'point' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/InsidePolygonWithBounds.c:130:15: style: Variable 'point' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/MinMaxImpl.c:140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLOATING [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/MinMaxImpl.c:107:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/MinMaxImpl.c:108:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/MinMaxImpl.c:110:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/MinMaxImpl.c:111:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/MinMaxImpl.c:113:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/MinMaxImpl.c:114:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/MinMaxImpl.c:116:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/MinMaxImpl.c:117:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/MinMaxImpl.c:119:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/src/MinMaxImpl.c:120:1: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/PyMcaIOHelper/PyMcaIOHelper.c:70:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_USHORT [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/PyMcaIOHelper/PyMcaIOHelper.c:149:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_UINT [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/PyMcaIOHelper/PyMcaIOHelper.c:169:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pymca5-5.9.4/src/PyMca5/PyMcaIO/PyMcaIOHelper/PyMcaIOHelper.c:175:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pymca5-5.9.4/src/PyMca5/PyMcaIO/PyMcaIOHelper/PyMcaIOHelper.c:56:39: style:inconclusive: Function 'PyMcaIOHelper_fillSupaVisio' argument 1 names different: declaration 'dummy' definition 'self'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/PyMcaIOHelper/PyMcaIOHelper.c:50:56: note: Function 'PyMcaIOHelper_fillSupaVisio' argument 1 names different: declaration 'dummy' definition 'self'. pymca5-5.9.4/src/PyMca5/PyMcaIO/PyMcaIOHelper/PyMcaIOHelper.c:56:39: note: Function 'PyMcaIOHelper_fillSupaVisio' argument 1 names different: declaration 'dummy' definition 'self'. pymca5-5.9.4/src/PyMca5/PyMcaIO/PyMcaIOHelper/PyMcaIOHelper.c:105:36: style:inconclusive: Function 'PyMcaIOHelper_readAifira' argument 1 names different: declaration 'dummy' definition 'self'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/PyMcaIOHelper/PyMcaIOHelper.c:51:53: note: Function 'PyMcaIOHelper_readAifira' argument 1 names different: declaration 'dummy' definition 'self'. pymca5-5.9.4/src/PyMca5/PyMcaIO/PyMcaIOHelper/PyMcaIOHelper.c:105:36: note: Function 'PyMcaIOHelper_readAifira' argument 1 names different: declaration 'dummy' definition 'self'. pymca5-5.9.4/src/PyMca5/PyMcaIO/PyMcaIOHelper/PyMcaIOHelper.c:61:21: style: Variable 'dataPointer' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/edf/FastEdf.c:87:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/edf/FastEdf.c:122:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AttributeError [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/edf/FastEdf.c:178:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/edf/FastEdf.c:351:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_Type [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/edf/FastEdf.c:83:12: style: Parameter 'args' can be declared as pointer to const. However it seems that 'FastEdfo_demo' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/edf/FastEdf.c:92:24: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/edf/FastEdf.c:83:12: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/edf/FastEdf.c:257:29: style: Parameter 'dims' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/edf/FastEdf.c:258:30: style: Parameter 'strides' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:135:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROW [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:210:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyMcaAtof [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:483:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_COL_NOT_FOUND [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:543:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_LINE_NOT_FOUND [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:627:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_COL_NOT_FOUND [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:226:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dinfo [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:225:37: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:225:19: note: Assignment 'dinfo=(long*)malloc(sizeof(long)*3)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:226:11: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:227:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dinfo [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:225:37: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:225:19: note: Assignment 'dinfo=(long*)malloc(sizeof(long)*3)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:227:11: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:228:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dinfo [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:225:37: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:225:19: note: Assignment 'dinfo=(long*)malloc(sizeof(long)*3)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:228:11: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:229:60: warning: If memory allocation fails, then there is a possible null pointer dereference: dinfo [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:225:37: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:225:19: note: Assignment 'dinfo=(long*)malloc(sizeof(long)*3)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:229:60: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:230:22: warning: If memory allocation fails, then there is a possible null pointer dereference: dinfo [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:225:37: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:225:19: note: Assignment 'dinfo=(long*)malloc(sizeof(long)*3)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:230:22: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:231:15: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:229:39: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:229:19: note: Assignment 'data=(double**)malloc(sizeof(double*)*dinfo[ROW])', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:231:15: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:231:60: warning: If memory allocation fails, then there is a possible null pointer dereference: dinfo [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:225:37: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:225:19: note: Assignment 'dinfo=(long*)malloc(sizeof(long)*3)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:231:60: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:232:22: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:229:39: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:229:19: note: Assignment 'data=(double**)malloc(sizeof(double*)*dinfo[ROW])', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:232:22: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:232:59: warning: If memory allocation fails, then there is a possible null pointer dereference: dinfo [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:225:37: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:225:19: note: Assignment 'dinfo=(long*)malloc(sizeof(long)*3)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:232:59: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:402:22: warning: If memory allocation fails, then there is a possible null pointer dereference: dataline [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:401:42: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:401:26: note: Assignment 'dataline=(double*)malloc(sizeof(double)*cols)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:402:22: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:505:51: warning: Either the condition 'dinfo!=(long*)NULL' is redundant or there is possible null pointer dereference: dinfo. [nullPointerRedundantCheck] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:508:19: note: Assuming that condition 'dinfo!=(long*)NULL' is not redundant pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:505:51: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:514:16: warning: Either the condition 'dinfo!=(long*)NULL' is redundant or there is possible null pointer dereference: dinfo. [nullPointerRedundantCheck] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:520:16: note: Assuming that condition 'dinfo!=(long*)NULL' is not redundant pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:514:16: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:518:11: warning: Either the condition 'dinfo!=(long*)NULL' is redundant or there is possible null pointer dereference: dinfo. [nullPointerRedundantCheck] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:520:16: note: Assuming that condition 'dinfo!=(long*)NULL' is not redundant pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:518:11: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:563:51: warning: Either the condition 'dinfo!=(long*)NULL' is redundant or there is possible null pointer dereference: dinfo. [nullPointerRedundantCheck] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:566:19: note: Assuming that condition 'dinfo!=(long*)NULL' is not redundant pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:563:51: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:573:53: warning: Either the condition 'dinfo!=(long*)NULL' is redundant or there is possible null pointer dereference: dinfo. [nullPointerRedundantCheck] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:577:16: note: Assuming that condition 'dinfo!=(long*)NULL' is not redundant pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:573:53: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:575:11: warning: Either the condition 'dinfo!=(long*)NULL' is redundant or there is possible null pointer dereference: dinfo. [nullPointerRedundantCheck] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:577:16: note: Assuming that condition 'dinfo!=(long*)NULL' is not redundant pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:575:11: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:639:53: warning: Either the condition 'dinfo!=(long*)NULL' is redundant or there is possible null pointer dereference: dinfo. [nullPointerRedundantCheck] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:642:23: note: Assuming that condition 'dinfo!=(long*)NULL' is not redundant pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:639:53: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:649:18: warning: Either the condition 'dinfo!=(long*)NULL' is redundant or there is possible null pointer dereference: dinfo. [nullPointerRedundantCheck] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:655:18: note: Assuming that condition 'dinfo!=(long*)NULL' is not redundant pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:649:18: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:653:13: warning: Either the condition 'dinfo!=(long*)NULL' is redundant or there is possible null pointer dereference: dinfo. [nullPointerRedundantCheck] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:655:18: note: Assuming that condition 'dinfo!=(long*)NULL' is not redundant pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:653:13: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:277:10: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:261:10: note: ptr is assigned pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:277:10: note: ptr is overwritten pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:470:58: style:inconclusive: Function 'SfDataCol' argument 4 names different: declaration 'data_col' definition 'retdata'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:97:52: note: Function 'SfDataCol' argument 4 names different: declaration 'data_col' definition 'retdata'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:470:58: note: Function 'SfDataCol' argument 4 names different: declaration 'data_col' definition 'retdata'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:530:59: style:inconclusive: Function 'SfDataLine' argument 4 names different: declaration 'data_line' definition 'retdata'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:95:52: note: Function 'SfDataLine' argument 4 names different: declaration 'data_line' definition 'retdata'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:530:59: note: Function 'SfDataLine' argument 4 names different: declaration 'data_line' definition 'retdata'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:587:66: style:inconclusive: Function 'SfDataColByName' argument 4 names different: declaration 'data_col' definition 'retdata'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:99:57: note: Function 'SfDataColByName' argument 4 names different: declaration 'data_col' definition 'retdata'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:587:66: note: Function 'SfDataColByName' argument 4 names different: declaration 'data_col' definition 'retdata'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:666:51: style:inconclusive: Function 'SfDataAsString' argument 3 names different: declaration 'data' definition 'retdata'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:93:51: note: Function 'SfDataAsString' argument 3 names different: declaration 'data' definition 'retdata'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:666:51: note: Function 'SfDataAsString' argument 3 names different: declaration 'data' definition 'retdata'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:190:12: style: Variable 'to' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:201:21: style: Variable 'lc' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:587:50: style: Parameter 'label' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:672:12: style: Variable 'to' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:260:7: style: Variable 'i' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:263:11: style: Variable 'cols' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfdata.c:367:31: style: Variable 'strval[i]' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:140:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_MEMORY_ALLOC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:275:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_LINE_EMPTY [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:433:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_USER_NOT_FOUND [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:493:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_LINE_EMPTY [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:518:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_GEOMETRY [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:590:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_MEMORY_ALLOC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:672:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FROM_SCAN [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:733:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_MEMORY_ALLOC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:784:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_MEMORY_ALLOC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:599:12: error: Common realloc mistake: 'lines' nulled but not freed upon failure [memleakOnRealloc] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:606:17: error: Common realloc mistake: 'lines' nulled but not freed upon failure [memleakOnRealloc] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:619:18: error: Common realloc mistake: 'lines' nulled but not freed upon failure [memleakOnRealloc] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:626:21: error: Common realloc mistake: 'lines' nulled but not freed upon failure [memleakOnRealloc] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:483:19: style: Variable 'ptr' is reassigned a value before the old one has been used. [redundantAssignment] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:481:10: note: ptr is assigned pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:483:19: note: ptr is overwritten pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:572:54: style:inconclusive: Function 'sfFindLines' argument 4 names different: declaration 'lines' definition 'ret'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:87:54: note: Function 'sfFindLines' argument 4 names different: declaration 'lines' definition 'ret'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:572:54: note: Function 'sfFindLines' argument 4 names different: declaration 'lines' definition 'ret'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:663:48: style:inconclusive: Function 'sfGetHeaderLine' argument 3 names different: declaration 'character' definition 'sf_char'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:80:61: note: Function 'sfGetHeaderLine' argument 3 names different: declaration 'character' definition 'sf_char'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:663:48: note: Function 'sfGetHeaderLine' argument 3 names different: declaration 'character' definition 'sf_char'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:469:19: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:572:39: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:663:28: style: Parameter 'sf' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:715:28: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfheader.c:761:31: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:144:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_MEMORY_ALLOC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:186:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scan_no [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:266:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_MEMORY_ALLOC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:489:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_FILE_READ [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:490:12: error: Memory leak: buffer [memleak] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:196:16: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:195:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:195:15: note: Assignment 'arr=(long*)malloc(sizeof(long)*i)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:196:16: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:493:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:485:33: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:485:15: note: Assignment 'buffer=(char*)malloc(size)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:488:17: note: Assuming condition is false pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:493:10: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:555:6: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:135:19: style: Parameter 'sf' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:175:22: style: Parameter 'sf' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:336:21: style: Parameter 'sf' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:455:41: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfindex.c:459:16: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:225:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_OPENFLAG [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:261:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_FILE_OPEN [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:497:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_MEMORY_ALLOC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:717:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCAN [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:733:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCAN [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:786:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SpecScan [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:397:6: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:277:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:277:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:278:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:278:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:279:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:279:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:281:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:281:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:282:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:282:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:283:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:283:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:284:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:284:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:285:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:285:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:286:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:286:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:287:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:287:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:288:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:288:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:290:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:290:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:291:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:291:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:292:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:292:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:293:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:293:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:294:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:294:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:295:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:295:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:296:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:296:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:297:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:297:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:298:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sf [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:273:9: note: Assignment 'sf=(SpecFile*)malloc(sizeof(SpecFile))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:298:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:748:25: style: Variable 'cursor->what' is reassigned a value before the old one has been used. [redundantAssignment] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:744:22: note: cursor->what is assigned pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:748:25: note: cursor->what is overwritten pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:462:13: style:inconclusive: Function 'SfError' argument 1 names different: declaration 'error' definition 'code'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:140:37: note: Function 'SfError' argument 1 names different: declaration 'error' definition 'code'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:462:13: note: Function 'SfError' argument 1 names different: declaration 'error' definition 'code'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:728:48: style:inconclusive: Function 'sfNewBlock' argument 3 names different: declaration 'how' definition 'newblock'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:156:68: note: Function 'sfNewBlock' argument 3 names different: declaration 'how' definition 'newblock'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:728:48: note: Function 'sfNewBlock' argument 3 names different: declaration 'how' definition 'newblock'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:758:36: style: Parameter 'cursor' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:792:31: style: Parameter 'sf' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:803:26: style: Variable 'scan2' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfinit.c:830:23: style: Parameter 'cursor' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:140:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_COL_NOT_FOUND [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:225:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_MEMORY_ALLOC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:357:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_MEMORY_ALLOC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_COL_NOT_FOUND [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:489:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyMcaAtof [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:578:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:622:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:206:14: warning: If memory allocation fails, then there is a possible null pointer dereference: labarr [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:204:34: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:204:19: note: Assignment 'labarr=(char**)malloc(sizeof(char*)*sf->no_labels)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:206:14: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:248:21: warning: If memory allocation fails, then there is a possible null pointer dereference: onelabel [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:247:41: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:247:25: note: Assignment 'onelabel=(char*)malloc(i+2)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:248:21: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:267:13: warning: If memory allocation fails, then there is a possible null pointer dereference: onelabel [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:266:33: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:266:17: note: Assignment 'onelabel=(char*)malloc(i+2)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:267:13: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:341:14: warning: If memory allocation fails, then there is a possible null pointer dereference: motarr [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:339:34: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:339:19: note: Assignment 'motarr=(char**)malloc(sizeof(char*)*sf->no_motor_names)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:341:14: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:373:23: warning: If memory allocation fails, then there is a possible null pointer dereference: onemot [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:372:41: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:372:25: note: Assignment 'onemot=(char*)malloc(i+2)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:373:23: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:391:16: warning: If memory allocation fails, then there is a possible null pointer dereference: onemot [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:390:34: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:390:18: note: Assignment 'onemot=(char*)malloc(i+2)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:391:16: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:503:14: warning: If memory allocation fails, then there is a possible null pointer dereference: posarr [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:501:35: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:501:19: note: Assignment 'posarr=(double*)malloc(sizeof(double)*sf->no_motor_pos)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:503:14: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:560:14: warning: If memory allocation fails, then there is a possible null pointer dereference: posarr [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:559:34: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:559:16: note: Assignment 'posarr=(double*)malloc(sizeof(double)*motct)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:560:14: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:414:41: style:inconclusive: Function 'SfMotor' argument 3 names different: declaration 'number' definition 'motnum'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:74:67: note: Function 'SfMotor' argument 3 names different: declaration 'number' definition 'motnum'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:414:41: note: Function 'SfMotor' argument 3 names different: declaration 'number' definition 'motnum'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:461:52: style:inconclusive: Function 'SfAllMotorPos' argument 3 names different: declaration 'pos' definition 'retpos'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:82:71: note: Function 'SfAllMotorPos' argument 3 names different: declaration 'pos' definition 'retpos'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:461:52: note: Function 'SfAllMotorPos' argument 3 names different: declaration 'pos' definition 'retpos'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:569:44: style:inconclusive: Function 'SfMotorPos' argument 3 names different: declaration 'number' definition 'motnum'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:78:67: note: Function 'SfMotorPos' argument 3 names different: declaration 'number' definition 'motnum'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:569:44: note: Function 'SfMotorPos' argument 3 names different: declaration 'number' definition 'motnum'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:314:13: style: Variable 'endline' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:465:13: style: Variable 'endline' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:480:21: style: Variable 'lc' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflabel.c:612:51: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflists.c:140:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ObjectList [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflists.c:81:25: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sflists.c:109:36: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:174:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyMcaAtof [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:267:26: error: Common realloc mistake: 'data' nulled but not freed upon failure [memleakOnRealloc] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:328:6: warning: If memory allocation fails, then there is a possible null pointer dereference: retdata [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:327:33: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:327:16: note: Assignment 'retdata=(double*)malloc(sizeof(double)*3)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:328:6: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:328:25: warning: If memory allocation fails, then there is a possible null pointer dereference: retdata [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:327:33: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:327:16: note: Assignment 'retdata=(double*)malloc(sizeof(double)*3)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:328:25: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:328:44: warning: If memory allocation fails, then there is a possible null pointer dereference: retdata [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:327:33: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:327:16: note: Assignment 'retdata=(double*)malloc(sizeof(double)*3)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:328:44: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:140:42: style:inconclusive: Function 'SfGetMca' argument 3 names different: declaration 'mcano' definition 'number'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:78:60: note: Function 'SfGetMca' argument 3 names different: declaration 'mcano' definition 'number'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:140:42: note: Function 'SfGetMca' argument 3 names different: declaration 'mcano' definition 'number'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:145:27: style: Variable 'last_from' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:152:12: style: Variable 'to' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:165:21: style: Variable 'lc' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:311:13: style: Variable 'strptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:281:24: style: Variable 'strval[i]' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sftools.c:135:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_SCAN_NOT_FOUND [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sftools.c:492:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_MEMORY_ALLOC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sftools.c:520:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ROW [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sftools.c:113:18: style: Variable 'flist' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sftools.c:114:18: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sftools.c:115:18: style: Variable 'fscan' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sftools.c:374:12: style: Variable 'n' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sftools.c:528:28: style: Parameter 'sf' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sftools.c:540:16: style: Variable 'scan' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfwrite.c:118:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SpecFileOut [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfwrite.c:168:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_MEMORY_ALLOC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfwrite.c:216:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_MEMORY_ALLOC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfwrite.c:379:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_MEMORY_ALLOC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfwrite.c:518:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfwrite.c:565:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SF_ERR_SCAN_NOT_FOUND [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfwrite.c:587:46: warning: Either the condition 'file_header!=-1' is redundant or write() argument nr 3 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfwrite.c:576:20: note: Assuming that condition 'file_header!=-1' is not redundant pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfwrite.c:574:53: note: Assignment to 'file_header=((SpecScan*)sf->current->contents)->size' pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfwrite.c:585:9: note: size is assigned '((SpecScan*)sf->current->contents)->size' here. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfwrite.c:587:46: note: Invalid argument pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfwrite.c:508:35: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:307:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:575:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:686:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:735:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:773:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:881:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1181:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1275:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1485:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_Type [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:382:9: error: Returning/dereferencing 'user' after it is deallocated / released [deallocret] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:381:9: note: Returning/dereferencing 'user' after it is deallocated / released pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:382:9: note: Returning/dereferencing 'user' after it is deallocated / released pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1046:9: style: Statements following 'return' will never be executed. [unreachableCode] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1086:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1123:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1314:43: style:inconclusive: Function 'scandata_slice' argument 2 names different: declaration 'lidx' definition 'ilow'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:265:63: note: Function 'scandata_slice' argument 2 names different: declaration 'lidx' definition 'ilow'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1314:43: note: Function 'scandata_slice' argument 2 names different: declaration 'lidx' definition 'ilow'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1314:60: style:inconclusive: Function 'scandata_slice' argument 3 names different: declaration 'hidx' definition 'ihigh'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:265:80: note: Function 'scandata_slice' argument 3 names different: declaration 'hidx' definition 'ihigh'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1314:60: note: Function 'scandata_slice' argument 3 names different: declaration 'hidx' definition 'ihigh'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:290:40: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_list' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:186:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:290:40: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:318:45: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_allmotors' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:187:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:318:45: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:346:41: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_title' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:188:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:346:41: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:368:40: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_user' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:189:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:368:40: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:389:40: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_date' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:190:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:389:40: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:411:41: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_epoch' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:191:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:411:41: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:431:42: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_update' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:192:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:431:42: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:449:42: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_scanno' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:193:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:449:42: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:452:21: style: Variable 'v' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:560:21: style: Variable 'f' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:597:21: style: Variable 'f' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:657:40: style: Parameter 'args' can be declared as pointer to const. However it seems that 'scandata_data' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:236:20: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:657:40: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:794:47: style: Parameter 'args' can be declared as pointer to const. However it seems that 'scandata_alllabels' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:239:20: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:794:47: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:818:47: style: Parameter 'args' can be declared as pointer to const. However it seems that 'scandata_allmotors' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:240:20: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:818:47: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:842:49: style: Parameter 'args' can be declared as pointer to const. However it seems that 'scandata_allmotorpos' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:241:20: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:842:49: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1012:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1255:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1314:26: style: Parameter 'self' can be declared as pointer to const. However it seems that 'scandata_slice' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1364:3: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1314:26: note: Parameter 'self' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1466:13: style: Parameter 'self' can be declared as pointer to const. However it seems that 'scandatatype_new' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1408:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1466:13: note: Parameter 'self' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1467:13: style: Parameter 'args' can be declared as pointer to const. However it seems that 'scandatatype_new' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1408:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1467:13: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py.c:1507:16: style: Parameter 'nolist' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:91:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:361:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_GenericNew [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:517:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:590:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:639:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:677:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:785:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:1085:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:1205:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_GenericNew [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:1230:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_IndexError [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:1309:5: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:165:9: error: Returning/dereferencing 'user' after it is deallocated / released [deallocret] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:164:9: note: Returning/dereferencing 'user' after it is deallocated / released pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:165:9: note: Returning/dereferencing 'user' after it is deallocated / released pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:950:9: style: Statements following 'return' will never be executed. [unreachableCode] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:990:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:1027:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:556:43: style:inconclusive: Function 'scandata_slice' argument 2 names different: declaration 'lidx' definition 'ilow'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:490:63: note: Function 'scandata_slice' argument 2 names different: declaration 'lidx' definition 'ilow'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:556:43: note: Function 'scandata_slice' argument 2 names different: declaration 'lidx' definition 'ilow'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:556:60: style:inconclusive: Function 'scandata_slice' argument 3 names different: declaration 'hidx' definition 'ihigh'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:490:80: note: Function 'scandata_slice' argument 3 names different: declaration 'hidx' definition 'ihigh'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:556:60: note: Function 'scandata_slice' argument 3 names different: declaration 'hidx' definition 'ihigh'. pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:74:40: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_list' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:259:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:74:40: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:102:45: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_allmotors' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:260:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:102:45: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:129:41: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_title' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:261:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:129:41: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:151:40: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_user' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:262:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:151:40: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:172:40: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_date' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:263:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:172:40: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:194:41: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_epoch' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:264:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:194:41: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:214:42: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_update' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:265:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:214:42: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:232:42: style: Parameter 'args' can be declared as pointer to const. However it seems that 'specfile_scanno' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:266:18: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:232:42: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:235:21: style: Variable 'v' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:404:21: style: Variable 'f' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:416:21: style: Variable 'f' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:497:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:556:26: style: Parameter 'self' can be declared as pointer to const. However it seems that 'scandata_slice' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:1136:3: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:556:26: note: Parameter 'self' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:561:40: style: Parameter 'args' can be declared as pointer to const. However it seems that 'scandata_data' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:461:20: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:561:40: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:698:47: style: Parameter 'args' can be declared as pointer to const. However it seems that 'scandata_alllabels' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:464:20: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:698:47: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:722:47: style: Parameter 'args' can be declared as pointer to const. However it seems that 'scandata_allmotors' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:465:20: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:722:47: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:746:49: style: Parameter 'args' can be declared as pointer to const. However it seems that 'scandata_allmotorpos' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:466:20: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:746:49: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:916:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:1317:16: style: Parameter 'nolist' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:327:15: style: Unused variable: input [unusedVariable] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/specfile_py3.c:335:24: style: Unused variable: fd [unusedVariable] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:465:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHM_MAX_IDS [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:505:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHM_IS_ARRAY [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:597:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHM_MAGIC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:727:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHM_MAGIC [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:867:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u32_t [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:935:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s32_t [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1338:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHM_RDONLY [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1393:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1414:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHM_OHEAD_SIZE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1535:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1613:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2086:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHM_STRING [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2176:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHM_STRING [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2248:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHM_STRING [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2641:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_PRIVATE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2687:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_PRIVATE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2739:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHM_MAX_IDS [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2777:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHM_IS_ARRAY [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1895:7: style: Condition 'private_shm' is always true [knownConditionTrueFalse] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:322:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2101:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2193:14: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2267:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1364:29: warning: Either the condition 'shm' is redundant or there is possible null pointer dereference: shm. [nullPointerRedundantCheck] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1366:7: note: Assuming that condition 'shm' is not redundant pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1364:29: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2640:11: style: The comparison 'key == -1' is always true. [knownConditionTrueFalse] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2635:28: note: 'key' is assigned value '-1' here. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2640:11: note: The comparison 'key == -1' is always true. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2686:11: style: The comparison 'key == -1' is always true. [knownConditionTrueFalse] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2680:28: note: 'key' is assigned value '-1' here. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2686:11: note: The comparison 'key == -1' is always true. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:881:18: style:inconclusive: Function 'SPS_Size' argument 1 names different: declaration 'type' definition 't'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:194:22: note: Function 'SPS_Size' argument 1 names different: declaration 'type' definition 't'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:881:18: note: Function 'SPS_Size' argument 1 names different: declaration 'type' definition 't'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1407:33: style:inconclusive: Function 'SPS_ReturnDataPointer' argument 1 names different: declaration 'pointer' definition 'data'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:193:37: note: Function 'SPS_ReturnDataPointer' argument 1 names different: declaration 'pointer' definition 'data'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1407:33: note: Function 'SPS_ReturnDataPointer' argument 1 names different: declaration 'pointer' definition 'data'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1456:30: style:inconclusive: Function 'SPS_CopyFromShared' argument 1 names different: declaration 'name' definition 'fullname'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:184:34: note: Function 'SPS_CopyFromShared' argument 1 names different: declaration 'name' definition 'fullname'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1456:30: note: Function 'SPS_CopyFromShared' argument 1 names different: declaration 'name' definition 'fullname'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1480:28: style:inconclusive: Function 'SPS_CopyToShared' argument 1 names different: declaration 'name' definition 'fullname'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:185:32: note: Function 'SPS_CopyToShared' argument 1 names different: declaration 'name' definition 'fullname'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1480:28: note: Function 'SPS_CopyToShared' argument 1 names different: declaration 'name' definition 'fullname'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1903:27: style:inconclusive: Function 'SPS_PutMetaData' argument 1 names different: declaration 'spec_version' definition 'fullname'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:205:31: note: Function 'SPS_PutMetaData' argument 1 names different: declaration 'spec_version' definition 'fullname'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1903:27: note: Function 'SPS_PutMetaData' argument 1 names different: declaration 'spec_version' definition 'fullname'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1903:43: style:inconclusive: Function 'SPS_PutMetaData' argument 2 names different: declaration 'array_name' definition 'array'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:205:51: note: Function 'SPS_PutMetaData' argument 2 names different: declaration 'array_name' definition 'array'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1903:43: note: Function 'SPS_PutMetaData' argument 2 names different: declaration 'array_name' definition 'array'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1903:56: style:inconclusive: Function 'SPS_PutMetaData' argument 3 names different: declaration 'data' definition 'meta'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:205:69: note: Function 'SPS_PutMetaData' argument 3 names different: declaration 'data' definition 'meta'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1903:56: note: Function 'SPS_PutMetaData' argument 3 names different: declaration 'data' definition 'meta'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1939:29: style:inconclusive: Function 'SPS_GetMetaData' argument 1 names different: declaration 'spec_version' definition 'fullname'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:203:32: note: Function 'SPS_GetMetaData' argument 1 names different: declaration 'spec_version' definition 'fullname'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1939:29: note: Function 'SPS_GetMetaData' argument 1 names different: declaration 'spec_version' definition 'fullname'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1939:45: style:inconclusive: Function 'SPS_GetMetaData' argument 2 names different: declaration 'array_name' definition 'array'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:203:52: note: Function 'SPS_GetMetaData' argument 2 names different: declaration 'array_name' definition 'array'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1939:45: note: Function 'SPS_GetMetaData' argument 2 names different: declaration 'array_name' definition 'array'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1987:29: style:inconclusive: Function 'SPS_PutInfoString' argument 1 names different: declaration 'spec_version' definition 'fullname'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:206:33: note: Function 'SPS_PutInfoString' argument 1 names different: declaration 'spec_version' definition 'fullname'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1987:29: note: Function 'SPS_PutInfoString' argument 1 names different: declaration 'spec_version' definition 'fullname'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1987:45: style:inconclusive: Function 'SPS_PutInfoString' argument 2 names different: declaration 'array_name' definition 'array'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:206:53: note: Function 'SPS_PutInfoString' argument 2 names different: declaration 'array_name' definition 'array'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1987:45: note: Function 'SPS_PutInfoString' argument 2 names different: declaration 'array_name' definition 'array'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2018:31: style:inconclusive: Function 'SPS_GetInfoString' argument 1 names different: declaration 'spec_version' definition 'fullname'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:204:34: note: Function 'SPS_GetInfoString' argument 1 names different: declaration 'spec_version' definition 'fullname'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2018:31: note: Function 'SPS_GetInfoString' argument 1 names different: declaration 'spec_version' definition 'fullname'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2018:47: style:inconclusive: Function 'SPS_GetInfoString' argument 2 names different: declaration 'array_name' definition 'array'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:204:54: note: Function 'SPS_GetInfoString' argument 2 names different: declaration 'array_name' definition 'array'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2018:47: note: Function 'SPS_GetInfoString' argument 2 names different: declaration 'array_name' definition 'array'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:218:38: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:240:39: style: Parameter 'fullname' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:276:45: style: Parameter 'array_name' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:278:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:297:35: style: Parameter 'version' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:318:33: style: Parameter 'fullname' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:337:29: style: Parameter 'fullname' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:718:57: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1176:22: style: Variable 'st' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1205:50: style: Parameter 'fullname' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1205:66: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1903:56: style: Parameter 'meta' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1906:20: style: Variable 'sh' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1944:20: style: Variable 'sh' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1987:58: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2022:20: style: Variable 'sh' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2068:59: style: Parameter 'identifier' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2070:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2131:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2231:15: style: Parameter 'identifier' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2231:33: style: Parameter 'set_value' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2336:27: style: Parameter 'fullname' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2336:43: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2497:24: style: Parameter 'spec_version' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2497:44: style: Parameter 'array_name' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2523:23: style: Parameter 'specversion' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2523:42: style: Parameter 'arrayname' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2567:49: style: Parameter 'shm' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2578:21: style: Parameter 'specversion' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2578:40: style: Parameter 'arrayname' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2605:27: style: Parameter 'shm' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2616:37: style: Parameter 'todel' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2634:18: style: Parameter 'specversion' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2634:37: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2679:25: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2261:42: error: Uninitialized variable: value [legacyUninitvar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:505:11: style: Variable 'no' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:507:13: style: Variable 'no' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:1144:11: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps.c:2786:14: style: Variable 'idx' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:151:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPS_USHORT [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:185:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPS_LINEAR [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:653:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:893:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1002:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPS_LSB [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1087:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1207:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPS_LINEAR [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1315:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPS_FLOAT [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1590:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1423:16: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1590:6: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1597:6: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1610:4: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1617:4: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:934:6: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:934:6: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:934:6: note: Assignment 'line=(double*)malloc(linesize=(sizeof(double)*pw))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:934:6: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:937:6: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:937:6: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:937:6: note: Assignment 'line=(double*)malloc(linesize=(sizeof(double)*pw))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:937:6: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:940:6: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:940:6: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:940:6: note: Assignment 'line=(int*)malloc(linesize=(sizeof(int)*pw))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:940:6: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:943:6: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:943:6: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:943:6: note: Assignment 'line=(unsigned int*)malloc(linesize=(sizeof(unsigned int)*pw))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:943:6: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:946:6: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:946:6: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:946:6: note: Assignment 'line=(int*)malloc(linesize=(sizeof(int)*pw))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:946:6: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:949:6: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:949:6: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:949:6: note: Assignment 'line=(unsigned int*)malloc(linesize=(sizeof(unsigned int)*pw))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:949:6: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:952:6: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:952:6: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:952:6: note: Assignment 'line=(short*)malloc(linesize=(sizeof(short)*pw))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:952:6: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:955:6: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:955:6: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:955:6: note: Assignment 'line=(unsigned short*)malloc(linesize=(sizeof(unsigned short)*pw))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:955:6: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:958:6: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:958:6: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:958:6: note: Assignment 'line=(long*)malloc(linesize=(sizeof(long)*pw))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:958:6: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:961:6: warning: If memory allocation fails, then there is a possible null pointer dereference: line [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:961:6: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:961:6: note: Assignment 'line=(unsigned long*)malloc(linesize=(sizeof(unsigned long)*pw))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:961:6: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1298:50: style:inconclusive: Function 'CreatePalette' argument 9 names different: declaration 'palette_code' definition 'palette_type'. [funcArgNamesDifferent] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:146:50: note: Function 'CreatePalette' argument 9 names different: declaration 'palette_code' definition 'palette_type'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1298:50: note: Function 'CreatePalette' argument 9 names different: declaration 'palette_code' definition 'palette_type'. pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:685:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:688:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:690:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:699:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:702:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:704:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:710:10: style: Variable 'xmiddle' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:712:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:715:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:717:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:723:10: style: Variable 'xmiddle' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:725:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:728:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:730:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:738:3: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:741:2: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:743:2: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:751:3: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:754:2: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:756:2: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:763:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:765:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:772:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:774:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:783:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:786:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:788:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:797:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:800:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:802:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1200:17: style: Variable 'full_palette' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1306:23: style: Variable 'palend' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1379:32: style: Variable 'end' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1385:30: style: Variable 'end' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:958:6: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:961:6: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:108:19: style: struct member 'Anonymous0::dummy' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1252:20: style: Variable 'j' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1274:20: style: Variable 'j' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_lut.c:1522:6: style: Variable 'length' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:58:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_UINT64 [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:79:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPS_LONG [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:325:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:420:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:428:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPS_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:638:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_NOTYPE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:685:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_NOTYPE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:733:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_NOTYPE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:838:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPS_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:868:3: warning: Return value of function PyModule_AddObject() is not used. [ignoredReturnValue] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:111:9: style: Variable 'key' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:136:9: style: Variable 'array' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:157:61: style: Parameter 'args' can be declared as pointer to const. However it seems that 'sps_getspeclist' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:764:22: note: You might need to cast the function pointer here pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:157:61: note: Parameter 'args' can be declared as pointer to const pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:159:9: style: Variable 'spec_version' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:215:37: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:252:38: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/sps_py.c:291:43: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/spslut_py.c:111:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPS_MSB [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/spslut_py.c:180:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_NOTYPE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/spslut_py.c:315:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_NOTYPE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/spslut_py.c:471:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPS_LINEAR [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/spslut_py.c:132:31: style: Variable 'as_r' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/spslut_py.c:265:31: style: Variable 'as_r' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/spslut_py.c:379:9: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/spslut_py.c:101:21: style: struct member 'Anonymous1::b1' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/spslut_py.c:102:21: style: struct member 'Anonymous1::b2' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaIO/sps/Src/spslut_py.c:103:21: style: struct member 'Anonymous1::b3' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/medianfilter.c:204:1: portability: Casting between char * and float * which have an incompatible binary data representation. [invalidPointerCast] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/medianfilter.c:205:1: portability: Casting between char * and double * which have an incompatible binary data representation. [invalidPointerCast] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/medianfilter.c:204:1: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/medianfilter.c:205:1: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/medianfilter.c:206:1: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/medianfilter.c:209:1: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/medianfilter.c:210:1: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/medianfilter.c:211:1: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/medianfilter.c:212:1: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/medianfilter.c:213:1: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/medianfilter.c:214:1: style: Parameter 'in' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/mediantools.c:130:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_LONG [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/mediantools.c:120:11: style: Variable 'lhelp' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/mediantools.c:48:9: style: struct member 'Generic_ptr::data' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/mediantools.c:49:7: style: struct member 'Generic_ptr::elsize' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/mediantools.c:53:9: style: struct member 'Generic_Vector::data' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/mediantools.c:55:7: style: struct member 'Generic_Vector::elsize' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/mediantools.c:56:9: style: struct member 'Generic_Vector::zero' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/mediantools.c:60:9: style: struct member 'Generic_Array::data' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/mediantools.c:61:8: style: struct member 'Generic_Array::nd' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/mediantools.c:62:14: style: struct member 'Generic_Array::dimensions' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/mediantools.c:63:8: style: struct member 'Generic_Array::elsize' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/mediantools.c:64:14: style: struct member 'Generic_Array::strides' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaMath/PyMcaSciPy/signal/mediantools.c:65:9: style: struct member 'Generic_Array::zero' is never used. [unusedStructMember] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:96:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:159:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:210:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:266:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:321:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:422:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:538:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:667:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:810:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:963:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:1103:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:1277:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:1444:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:1627:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:1752:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:1877:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2013:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2142:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2271:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2398:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2478:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2574:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2889:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3190:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3532:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3798:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_NOTYPE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3991:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4068:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NPY_DOUBLE [valueFlowBailoutIncompleteVar] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3682:38: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3677:30: note: outer condition: badpoint==0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3682:38: note: identical inner condition: badpoint==0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3558:9: error: Memory leak: xdata [memleak] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3647:9: warning: If memory allocation fails, then there is a possible null pointer dereference: indices [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3645:21: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3645:21: note: Assignment 'indices=malloc(nd_y*sizeof(npy_intp))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3647:9: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4110:12: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4109:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4109:12: note: Assignment 'data=(double*)malloc(n*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4110:12: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4116:42: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4109:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4109:12: note: Assignment 'data=(double*)malloc(n*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4116:42: note: Null pointer addition pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2635:19: style: Variable 'expected_pars' is reassigned a value before the old one has been used. [redundantAssignment] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2634:19: note: expected_pars is assigned pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2635:19: note: expected_pars is overwritten pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2950:19: style: Variable 'expected_pars' is reassigned a value before the old one has been used. [redundantAssignment] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2949:19: note: expected_pars is assigned pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2950:19: note: expected_pars is overwritten pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2989:16: style: Variable 'phyper' is reassigned a value before the old one has been used. [redundantAssignment] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2985:12: note: phyper is assigned pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2989:16: note: phyper is overwritten pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3326:9: style: Variable 'cch' is reassigned a value before the old one has been used. [redundantAssignment] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3319:9: note: cch is assigned pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3326:9: note: cch is overwritten pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:314:14: style: Variable 'anchordata' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:416:14: style: Variable 'anchordata' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:510:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:654:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:789:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:943:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:1089:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:1263:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:1429:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:1614:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:1739:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:1863:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:1999:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2128:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2256:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2390:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2470:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2556:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2871:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3516:21: style: Variable 'nvalue' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3516:30: style: Variable 'x1' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3516:35: style: Variable 'x2' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3524:13: style: Variable 'helppointer' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3785:14: style: Variable 'data_pointer' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3984:14: style: Variable 'px' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3984:26: style: Variable 'pall' can be declared as pointer to const [constVariablePointer] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:2670:12: style: Variable 'phyper' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3289:17: style: Variable 'sum_factors' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:3296:21: style: Variable 'sum_factors' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:49:9: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:6: note: Assignment 'p=(double*)malloc(size0*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:79:12: note: Calling function 'smooth1d', 1st argument 'p' value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:45:11: note: Assuming condition is false pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:49:9: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:52:29: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:6: note: Assignment 'p=(double*)malloc(size0*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:79:12: note: Calling function 'smooth1d', 1st argument 'p' value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:45:11: note: Assuming condition is false pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:52:29: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:52:39: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:6: note: Assignment 'p=(double*)malloc(size0*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:79:12: note: Calling function 'smooth1d', 1st argument 'p' value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:45:11: note: Assuming condition is false pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:52:39: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:53:10: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:6: note: Assignment 'p=(double*)malloc(size0*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:79:12: note: Calling function 'smooth1d', 1st argument 'p' value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:45:11: note: Assuming condition is false pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:53:10: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:54:3: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:6: note: Assignment 'p=(double*)malloc(size0*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:79:12: note: Calling function 'smooth1d', 1st argument 'p' value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:45:11: note: Assuming condition is false pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:54:3: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:56:2: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:6: note: Assignment 'p=(double*)malloc(size0*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:79:12: note: Calling function 'smooth1d', 1st argument 'p' value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:45:11: note: Assuming condition is false pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:56:2: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:56:38: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:6: note: Assignment 'p=(double*)malloc(size0*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:79:12: note: Calling function 'smooth1d', 1st argument 'p' value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:45:11: note: Assuming condition is false pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:56:38: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:77:4: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:6: note: Assignment 'p=(double*)malloc(size0*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:77:4: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:77:11: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:101:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:101:6: note: Assignment 'p=(double*)malloc(size*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:114:12: note: Calling function 'smooth2d', 1st argument 'p' value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:77:11: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:111:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:101:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:101:6: note: Assignment 'p=(double*)malloc(size*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:111:5: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:129:5: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:120:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:120:6: note: Assignment 'p=(double*)malloc(size*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:129:5: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:53:13: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:53:17: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:71:9: style: Expression 'exp(x) - 1' can be replaced by 'expm1(x)' to avoid loss of precision. [unpreciseMathCall] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:71:13: style: Expression 'exp(x) - 1' can be replaced by 'expm1(x)' to avoid loss of precision. [unpreciseMathCall] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:145:5: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:136:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:136:6: note: Assignment 'w=(double*)malloc(n_channels*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:145:5: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:149:22: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:136:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:136:6: note: Assignment 'w=(double*)malloc(n_channels*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:149:22: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:133:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip2d.c:83:5: warning: If memory allocation fails, then there is a possible null pointer dereference: w [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip2d.c:56:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip2d.c:56:6: note: Assignment 'w=(double*)malloc(size*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip2d.c:83:5: note: Null pointer dereference pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip3d.c:67:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip3d.c:68:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip3d.c:69:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip3d.c:72:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip3d.c:73:11: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip3d.c:74:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip3d.c:174:12: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip3d.c:177:13: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] pymca5-5.9.4/src/PyMca5/PyMcaMath/mva/_cython_kmeans/default/kmeans.c:8:0: error: #error Python headers needed to compile C extensions, please install development version of Python. [preprocessorErrorDirective] pymca5-5.9.4/src/PyMca5/PyMcaMath/mva/_cython_kmeans/default/kmeans.c:8:6: error: #error Python headers needed to compile C extensions, please install development version of Python. [preprocessorErrorDirective] pymca5-5.9.4/src/PyMca5/PyMcaPhysics/xas/_xas/cython/default/_xas.c:8:0: error: #error Python headers needed to compile C extensions, please install development version of Python. [preprocessorErrorDirective] pymca5-5.9.4/src/PyMca5/PyMcaPhysics/xas/_xas/cython/default/_xas.c:8:6: error: #error Python headers needed to compile C extensions, please install development version of Python. [preprocessorErrorDirective] pymca5-5.9.4/src/PyMca5/PyMcaPhysics/xas/_xas/src/polspl.c:30:21: style: Parameter 'xx' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaPhysics/xas/_xas/src/polspl.c:30:33: style: Parameter 'yy' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaPhysics/xas/_xas/src/polspl.c:30:45: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] pymca5-5.9.4/src/PyMca5/PyMcaPhysics/xas/_xas/src/polspl.c:30:100: style: Parameter 'nc' can be declared as pointer to const [constParameterPointer] diff: head pymca5-5.9.4/src/PyMca5/PyMcaGraph/ctools/_ctools/cython/default/_ctools.c:8:6: error: #error Python headers needed to compile C extensions, please install development version of Python. [preprocessorErrorDirective] head pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:328:25: warning: If memory allocation fails, then there is a possible null pointer dereference: retdata [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:327:33: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:327:16: note: Assignment 'retdata=(double*)malloc(sizeof(double)*3)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:328:25: note: Null pointer dereference head pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:328:44: warning: If memory allocation fails, then there is a possible null pointer dereference: retdata [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:327:33: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:327:16: note: Assignment 'retdata=(double*)malloc(sizeof(double)*3)', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaIO/specfile/src/sfmca.c:328:44: note: Null pointer dereference 2.17.0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4116:42: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4109:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4109:12: note: Assignment 'data=(double*)malloc(n*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4116:42: note: Null pointer addition head pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4116:42: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4109:29: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4109:12: note: Assignment 'data=(double*)malloc(n*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/SpecfitFuns.c:4116:42: note: Null pointer addition head pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:52:39: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:6: note: Assignment 'p=(double*)malloc(size0*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:79:12: note: Calling function 'smooth1d', 1st argument 'p' value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:45:11: note: Assuming condition is false pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:52:39: note: Null pointer dereference head pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:56:38: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:23: note: Assuming allocation function fails pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:72:6: note: Assignment 'p=(double*)malloc(size0*sizeof(double))', assigned value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:79:12: note: Calling function 'smooth1d', 1st argument 'p' value is 0 pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:45:11: note: Assuming condition is false pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/smoothnd.c:56:38: note: Null pointer dereference head pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:53:17: style: Expression 'log(1 + x)' can be replaced by 'log1p(x)' to avoid loss of precision. [unpreciseMathCall] head pymca5-5.9.4/src/PyMca5/PyMcaMath/fitting/specfit/snip1d.c:71:13: style: Expression 'exp(x) - 1' can be replaced by 'expm1(x)' to avoid loss of precision. [unpreciseMathCall] head pymca5-5.9.4/src/PyMca5/PyMcaMath/mva/_cython_kmeans/default/kmeans.c:8:6: error: #error Python headers needed to compile C extensions, please install development version of Python. [preprocessorErrorDirective] head pymca5-5.9.4/src/PyMca5/PyMcaPhysics/xas/_xas/cython/default/_xas.c:8:6: error: #error Python headers needed to compile C extensions, please install development version of Python. [preprocessorErrorDirective] DONE