2026-03-29 12:31 ftp://ftp.de.debian.org/debian/pool/main/libm/libmypaint/libmypaint_1.6.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openmp --library=gtk --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-106-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e06e98f (2026-03-28 10:25:12 +0100) count: 94 147 elapsed-time: 1.1 2.5 head-timing-info: old-timing-info: head results: libmypaint-1.6.0/brushmodes.c:581:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] libmypaint-1.6.0/brushmodes.c:94:19: style: Checking if unsigned expression 'rgba[3]' is less than zero. [unsignedLessThanZero] libmypaint-1.6.0/brushmodes.c:461:19: style: Checking if unsigned expression 'rgba[3]' is less than zero. [unsignedLessThanZero] libmypaint-1.6.0/brushmodes.c:139:49: style:inconclusive: Function 'draw_dab_pixels_BlendMode_Posterize' argument 3 names different: declaration 'posterize' definition 'opacity'. [funcArgNamesDifferent] libmypaint-1.6.0/brushmodes.h:29:43: note: Function 'draw_dab_pixels_BlendMode_Posterize' argument 3 names different: declaration 'posterize' definition 'opacity'. libmypaint-1.6.0/brushmodes.c:139:49: note: Function 'draw_dab_pixels_BlendMode_Posterize' argument 3 names different: declaration 'posterize' definition 'opacity'. libmypaint-1.6.0/fifo.c:44:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] libmypaint-1.6.0/fifo.c:43:46: note: Assuming allocation function fails libmypaint-1.6.0/fifo.c:43:24: note: Assignment 'ret=(struct fifo*)malloc(sizeof(struct fifo))', assigned value is 0 libmypaint-1.6.0/fifo.c:44:5: note: Null pointer dereference libmypaint-1.6.0/fifo.c:45:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] libmypaint-1.6.0/fifo.c:43:46: note: Assuming allocation function fails libmypaint-1.6.0/fifo.c:43:24: note: Assignment 'ret=(struct fifo*)malloc(sizeof(struct fifo))', assigned value is 0 libmypaint-1.6.0/fifo.c:45:5: note: Null pointer dereference libmypaint-1.6.0/fifo.c:46:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ret [nullPointerOutOfMemory] libmypaint-1.6.0/fifo.c:43:46: note: Assuming allocation function fails libmypaint-1.6.0/fifo.c:43:24: note: Assignment 'ret=(struct fifo*)malloc(sizeof(struct fifo))', assigned value is 0 libmypaint-1.6.0/fifo.c:46:5: note: Null pointer dereference libmypaint-1.6.0/fifo.c:75:5: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] libmypaint-1.6.0/fifo.c:74:56: note: Assuming allocation function fails libmypaint-1.6.0/fifo.c:74:30: note: Assignment 'item=(struct fifo_item*)malloc(sizeof(struct fifo_item))', assigned value is 0 libmypaint-1.6.0/fifo.c:75:5: note: Null pointer dereference libmypaint-1.6.0/fifo.c:76:5: warning: If memory allocation fails, then there is a possible null pointer dereference: item [nullPointerOutOfMemory] libmypaint-1.6.0/fifo.c:74:56: note: Assuming allocation function fails libmypaint-1.6.0/fifo.c:74:30: note: Assignment 'item=(struct fifo_item*)malloc(sizeof(struct fifo_item))', assigned value is 0 libmypaint-1.6.0/fifo.c:76:5: note: Null pointer dereference libmypaint-1.6.0/fifo.c:55:29: style:inconclusive: Function 'fifo_free' argument 1 names different: declaration 'self' definition 'queue'. [funcArgNamesDifferent] libmypaint-1.6.0/fifo.h:8:22: note: Function 'fifo_free' argument 1 names different: declaration 'self' definition 'queue'. libmypaint-1.6.0/fifo.c:55:29: note: Function 'fifo_free' argument 1 names different: declaration 'self' definition 'queue'. libmypaint-1.6.0/fifo.c:72:29: style:inconclusive: Function 'fifo_push' argument 1 names different: declaration 'self' definition 'queue'. [funcArgNamesDifferent] libmypaint-1.6.0/fifo.h:10:22: note: Function 'fifo_push' argument 1 names different: declaration 'self' definition 'queue'. libmypaint-1.6.0/fifo.c:72:29: note: Function 'fifo_push' argument 1 names different: declaration 'self' definition 'queue'. libmypaint-1.6.0/fifo.c:89:29: style:inconclusive: Function 'fifo_pop' argument 1 names different: declaration 'self' definition 'queue'. [funcArgNamesDifferent] libmypaint-1.6.0/fifo.h:11:22: note: Function 'fifo_pop' argument 1 names different: declaration 'self' definition 'queue'. libmypaint-1.6.0/fifo.c:89:29: note: Function 'fifo_pop' argument 1 names different: declaration 'self' definition 'queue'. libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:75:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEGL_BUFFER_READ [valueFlowBailoutIncompleteVar] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:143:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEGL_AUTO_ROWSTRIDE [valueFlowBailoutIncompleteVar] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:199:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GEGL_TYPE_BUFFER [valueFlowBailoutIncompleteVar] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:43:27: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:209:62: note: Calling function 'buffer_is_native', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:43:27: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:47:18: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:209:62: note: Calling function 'buffer_is_native', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:47:18: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:51:60: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:209:62: note: Calling function 'buffer_is_native', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:51:60: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:51:77: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:209:62: note: Calling function 'buffer_is_native', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:51:77: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:189:9: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:189:9: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:199:9: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:199:9: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:200:32: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:200:32: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:200:58: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:200:58: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:201:36: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:201:36: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:201:71: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:201:71: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:202:37: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:202:37: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:203:41: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:203:41: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:203:80: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:203:80: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:206:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:206:5: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:209:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:209:5: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:220:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:220:5: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:221:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:221:5: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:223:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:223:5: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:225:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:225:5: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:229:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:229:5: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:232:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:232:5: note: Null pointer dereference libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:172:64: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libmypaint-1.6.0/helpers.c:489:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] libmypaint-1.6.0/helpers.c:441:6: note: r is assigned libmypaint-1.6.0/helpers.c:489:5: note: r is overwritten libmypaint-1.6.0/helpers.c:490:5: style: Variable 'g' is reassigned a value before the old one has been used. [redundantAssignment] libmypaint-1.6.0/helpers.c:442:6: note: g is assigned libmypaint-1.6.0/helpers.c:490:5: note: g is overwritten libmypaint-1.6.0/helpers.c:491:5: style: Variable 'b' is reassigned a value before the old one has been used. [redundantAssignment] libmypaint-1.6.0/helpers.c:443:6: note: b is assigned libmypaint-1.6.0/helpers.c:491:5: note: b is overwritten libmypaint-1.6.0/helpers.c:547:25: style: Parameter 'spectral' can be declared as pointer to const [constParameterPointer] libmypaint-1.6.0/helpers.c:564:27: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] libmypaint-1.6.0/helpers.c:564:37: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] libmypaint-1.6.0/mypaint-glib-compat.h:23:9: error: syntax error [syntaxError] libmypaint-1.6.0/mypaint-matrix.c:88:55: style:inconclusive: Function 'mypaint_transform_point' argument 1 names different: declaration 'transform' definition 't'. [funcArgNamesDifferent] libmypaint-1.6.0/mypaint-matrix.h:101:60: note: Function 'mypaint_transform_point' argument 1 names different: declaration 'transform' definition 't'. libmypaint-1.6.0/mypaint-matrix.c:88:55: note: Function 'mypaint_transform_point' argument 1 names different: declaration 'transform' definition 't'. libmypaint-1.6.0/mypaint-matrix.c:88:83: style:inconclusive: Function 'mypaint_transform_point' argument 4 names different: declaration 'x_out' definition 'xout'. [funcArgNamesDifferent] libmypaint-1.6.0/mypaint-matrix.h:101:96: note: Function 'mypaint_transform_point' argument 4 names different: declaration 'x_out' definition 'xout'. libmypaint-1.6.0/mypaint-matrix.c:88:83: note: Function 'mypaint_transform_point' argument 4 names different: declaration 'x_out' definition 'xout'. libmypaint-1.6.0/mypaint-matrix.c:88:96: style:inconclusive: Function 'mypaint_transform_point' argument 5 names different: declaration 'y_out' definition 'yout'. [funcArgNamesDifferent] libmypaint-1.6.0/mypaint-matrix.h:101:110: note: Function 'mypaint_transform_point' argument 5 names different: declaration 'y_out' definition 'yout'. libmypaint-1.6.0/mypaint-matrix.c:88:96: note: Function 'mypaint_transform_point' argument 5 names different: declaration 'y_out' definition 'yout'. libmypaint-1.6.0/operationqueue.c:74:13: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/operationqueue.c:94:52: note: Assuming allocation function fails libmypaint-1.6.0/operationqueue.c:94:28: note: Assignment 'self=(struct OperationQueue*)malloc(sizeof(struct OperationQueue))', assigned value is 0 libmypaint-1.6.0/operationqueue.c:103:28: note: Calling function 'operation_queue_resize', 1st argument 'self' value is 0 libmypaint-1.6.0/operationqueue.c:74:13: note: Null pointer dereference libmypaint-1.6.0/operationqueue.c:84:9: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/operationqueue.c:94:52: note: Assuming allocation function fails libmypaint-1.6.0/operationqueue.c:94:28: note: Assignment 'self=(struct OperationQueue*)malloc(sizeof(struct OperationQueue))', assigned value is 0 libmypaint-1.6.0/operationqueue.c:103:28: note: Calling function 'operation_queue_resize', 1st argument 'self' value is 0 libmypaint-1.6.0/operationqueue.c:84:9: note: Null pointer dereference libmypaint-1.6.0/operationqueue.c:85:9: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/operationqueue.c:94:52: note: Assuming allocation function fails libmypaint-1.6.0/operationqueue.c:94:28: note: Assignment 'self=(struct OperationQueue*)malloc(sizeof(struct OperationQueue))', assigned value is 0 libmypaint-1.6.0/operationqueue.c:103:28: note: Calling function 'operation_queue_resize', 1st argument 'self' value is 0 libmypaint-1.6.0/operationqueue.c:85:9: note: Null pointer dereference libmypaint-1.6.0/operationqueue.c:96:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/operationqueue.c:94:52: note: Assuming allocation function fails libmypaint-1.6.0/operationqueue.c:94:28: note: Assignment 'self=(struct OperationQueue*)malloc(sizeof(struct OperationQueue))', assigned value is 0 libmypaint-1.6.0/operationqueue.c:96:5: note: Null pointer dereference libmypaint-1.6.0/operationqueue.c:97:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/operationqueue.c:94:52: note: Assuming allocation function fails libmypaint-1.6.0/operationqueue.c:94:28: note: Assignment 'self=(struct OperationQueue*)malloc(sizeof(struct OperationQueue))', assigned value is 0 libmypaint-1.6.0/operationqueue.c:97:5: note: Null pointer dereference libmypaint-1.6.0/operationqueue.c:98:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/operationqueue.c:94:52: note: Assuming allocation function fails libmypaint-1.6.0/operationqueue.c:94:28: note: Assignment 'self=(struct OperationQueue*)malloc(sizeof(struct OperationQueue))', assigned value is 0 libmypaint-1.6.0/operationqueue.c:98:5: note: Null pointer dereference libmypaint-1.6.0/rng-double.c:76:3: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/rng-double.c:74:40: note: Assuming allocation function fails libmypaint-1.6.0/rng-double.c:74:21: note: Assignment 'self=(struct RngDouble*)malloc(sizeof(struct RngDouble))', assigned value is 0 libmypaint-1.6.0/rng-double.c:76:3: note: Null pointer dereference libmypaint-1.6.0/tests/gegl/test-gegl-surface.c:8:31: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'gegl_surface_factory' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libmypaint-1.6.0/tests/gegl/test-gegl-surface.c:20:55: note: You might need to cast the function pointer here libmypaint-1.6.0/tests/gegl/test-gegl-surface.c:8:31: note: Parameter 'user_data' can be declared as pointer to const libmypaint-1.6.0/tests/mypaint-benchmark.c:74:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libmypaint-1.6.0/tests/mypaint-benchmark.c:93:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libmypaint-1.6.0/tests/mypaint-benchmark.c:61:12: style: Variable 'enabled' can be declared as pointer to const [constVariablePointer] libmypaint-1.6.0/tests/mypaint-test-surface.c:123:30: style: Parameter 'title' can be declared as pointer to const [constParameterPointer] libmypaint-1.6.0/tests/mypaint-test-surface.c:181:17: warning: Uninitialized variables: test_data.test_case_id, test_data.factory_function, test_data.factory_user_data, test_data.brush_size, test_data.scale, test_data.iterations, test_data.brush_file, test_data.surface_transaction [uninitvar] libmypaint-1.6.0/tests/mypaint-test-surface.c:161:35: note: Assuming condition is false libmypaint-1.6.0/tests/mypaint-test-surface.c:181:17: note: Uninitialized variables: test_data.test_case_id, test_data.factory_function, test_data.factory_user_data, test_data.brush_size, test_data.scale, test_data.iterations, test_data.brush_file, test_data.surface_transaction libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:113:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:105:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:123:16: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:64:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:62:72: note: Assuming allocation function fails libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:62:38: note: Assignment 'self=(struct MyPaintUtilsStrokePlayer*)malloc(sizeof(struct MyPaintUtilsStrokePlayer))', assigned value is 0 libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:64:5: note: Null pointer dereference libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:65:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:62:72: note: Assuming allocation function fails libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:62:38: note: Assignment 'self=(struct MyPaintUtilsStrokePlayer*)malloc(sizeof(struct MyPaintUtilsStrokePlayer))', assigned value is 0 libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:65:5: note: Null pointer dereference libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:66:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:62:72: note: Assuming allocation function fails libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:62:38: note: Assignment 'self=(struct MyPaintUtilsStrokePlayer*)malloc(sizeof(struct MyPaintUtilsStrokePlayer))', assigned value is 0 libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:66:5: note: Null pointer dereference libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:67:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:62:72: note: Assuming allocation function fails libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:62:38: note: Assignment 'self=(struct MyPaintUtilsStrokePlayer*)malloc(sizeof(struct MyPaintUtilsStrokePlayer))', assigned value is 0 libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:67:5: note: Null pointer dereference libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:62:72: note: Assuming allocation function fails libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:62:38: note: Assignment 'self=(struct MyPaintUtilsStrokePlayer*)malloc(sizeof(struct MyPaintUtilsStrokePlayer))', assigned value is 0 libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:68:5: note: Null pointer dereference libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:69:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:62:72: note: Assuming allocation function fails libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:62:38: note: Assignment 'self=(struct MyPaintUtilsStrokePlayer*)malloc(sizeof(struct MyPaintUtilsStrokePlayer))', assigned value is 0 libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:69:5: note: Null pointer dereference libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:70:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:62:72: note: Assuming allocation function fails libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:62:38: note: Assignment 'self=(struct MyPaintUtilsStrokePlayer*)malloc(sizeof(struct MyPaintUtilsStrokePlayer))', assigned value is 0 libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:70:5: note: Null pointer dereference libmypaint-1.6.0/tests/mypaint-utils-stroke-player.c:105:12: style: Variable 'line' can be declared as pointer to const [constVariablePointer] libmypaint-1.6.0/tests/test-brush-persistence.c:16:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMYPAINT_TESTING_ABS_TOP_SRCDIR [valueFlowBailoutIncompleteVar] libmypaint-1.6.0/tests/test-brush-persistence.c:110:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBMYPAINT_TESTING_ABS_TOP_SRCDIR [valueFlowBailoutIncompleteVar] libmypaint-1.6.0/tests/test-brush-persistence.c:210:22: style: Local variable 'i' shadows outer variable [shadowVariable] libmypaint-1.6.0/tests/test-brush-persistence.c:195:14: note: Shadowed declaration libmypaint-1.6.0/tests/test-brush-persistence.c:210:22: note: Shadow variable libmypaint-1.6.0/tests/test-brush-persistence.c:222:26: style: Local variable 'i' shadows outer variable [shadowVariable] libmypaint-1.6.0/tests/test-brush-persistence.c:210:22: note: Shadowed declaration libmypaint-1.6.0/tests/test-brush-persistence.c:222:26: note: Shadow variable libmypaint-1.6.0/tests/test-details.c:19:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MYPAINT_TILE_SIZE [valueFlowBailoutIncompleteVar] libmypaint-1.6.0/tests/test-fixed-tiled-surface.c:8:32: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'fixed_surface_factory' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libmypaint-1.6.0/tests/test-fixed-tiled-surface.c:17:49: note: You might need to cast the function pointer here libmypaint-1.6.0/tests/test-fixed-tiled-surface.c:8:32: note: Parameter 'user_data' can be declared as pointer to const libmypaint-1.6.0/tests/testutils.c:44:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libmypaint-1.6.0/tests/testutils.c:54:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libmypaint-1.6.0/tests/testutils.c:65:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libmypaint-1.6.0/tests/testutils.c:83:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libmypaint-1.6.0/tests/testutils.c:65:75: style: Condition 'actual' is always false [knownConditionTrueFalse] libmypaint-1.6.0/tests/testutils.c:63:9: note: Assuming that condition '!actual' is not redundant libmypaint-1.6.0/tests/testutils.c:65:75: note: Condition 'actual' is always false libmypaint-1.6.0/tests/testutils.c:28:27: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] libmypaint-1.6.0/tests/testutils.c:27:34: note: Assuming allocation function fails libmypaint-1.6.0/tests/testutils.c:27:20: note: Assignment 'buffer=(char*)malloc(sizeof(char)*file_size)', assigned value is 0 libmypaint-1.6.0/tests/testutils.c:28:27: note: Null pointer dereference libmypaint-1.6.0/tilemap.c:29:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tilemap.c:27:38: note: Assuming allocation function fails libmypaint-1.6.0/tilemap.c:27:21: note: Assignment 'self=(struct TileMap*)malloc(sizeof(struct TileMap))', assigned value is 0 libmypaint-1.6.0/tilemap.c:29:5: note: Null pointer dereference libmypaint-1.6.0/tilemap.c:30:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tilemap.c:27:38: note: Assuming allocation function fails libmypaint-1.6.0/tilemap.c:27:21: note: Assignment 'self=(struct TileMap*)malloc(sizeof(struct TileMap))', assigned value is 0 libmypaint-1.6.0/tilemap.c:30:5: note: Null pointer dereference libmypaint-1.6.0/tilemap.c:31:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tilemap.c:27:38: note: Assuming allocation function fails libmypaint-1.6.0/tilemap.c:27:21: note: Assignment 'self=(struct TileMap*)malloc(sizeof(struct TileMap))', assigned value is 0 libmypaint-1.6.0/tilemap.c:31:5: note: Null pointer dereference libmypaint-1.6.0/tilemap.c:32:28: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tilemap.c:27:38: note: Assuming allocation function fails libmypaint-1.6.0/tilemap.c:27:21: note: Assignment 'self=(struct TileMap*)malloc(sizeof(struct TileMap))', assigned value is 0 libmypaint-1.6.0/tilemap.c:32:28: note: Null pointer dereference libmypaint-1.6.0/tilemap.c:32:41: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tilemap.c:27:38: note: Assuming allocation function fails libmypaint-1.6.0/tilemap.c:27:21: note: Assignment 'self=(struct TileMap*)malloc(sizeof(struct TileMap))', assigned value is 0 libmypaint-1.6.0/tilemap.c:32:41: note: Null pointer dereference libmypaint-1.6.0/tilemap.c:33:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tilemap.c:27:38: note: Assuming allocation function fails libmypaint-1.6.0/tilemap.c:27:21: note: Assignment 'self=(struct TileMap*)malloc(sizeof(struct TileMap))', assigned value is 0 libmypaint-1.6.0/tilemap.c:33:5: note: Null pointer dereference libmypaint-1.6.0/tilemap.c:33:33: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tilemap.c:27:38: note: Assuming allocation function fails libmypaint-1.6.0/tilemap.c:27:21: note: Assignment 'self=(struct TileMap*)malloc(sizeof(struct TileMap))', assigned value is 0 libmypaint-1.6.0/tilemap.c:33:33: note: Null pointer dereference libmypaint-1.6.0/tilemap.c:35:9: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/tilemap.c:27:38: note: Assuming allocation function fails libmypaint-1.6.0/tilemap.c:27:21: note: Assignment 'self=(struct TileMap*)malloc(sizeof(struct TileMap))', assigned value is 0 libmypaint-1.6.0/tilemap.c:35:9: note: Null pointer dereference libmypaint-1.6.0/tilemap.c:58:23: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libmypaint-1.6.0/tilemap.c:84:28: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:43:27: warning: If memory allocation fails, then there is a possible null pointer dereference: self [ctunullpointerOutOfMemory] libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:70: note: Assuming allocation function fails libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:215:37: note: Assignment 'self=(struct MyPaintGeglTiledSurface*)malloc(sizeof(struct MyPaintGeglTiledSurface))', assigned value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:234:43: note: Calling function 'mypaint_gegl_tiled_surface_set_buffer', 1st argument 'self' value is 0 libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:209:61: note: Calling function buffer_is_native, 1st argument is null libmypaint-1.6.0/gegl/mypaint-gegl-surface.c:43:27: note: Dereferencing argument self that is null diff: 2.20.0 libmypaint-1.6.0/mypaint-brush.c:1054:20: style: Variable 'bucket' can be declared as pointer to const [constVariablePointer] 2.20.0 libmypaint-1.6.0/mypaint-brush.c:1564:45: style: Parameter 'setting_name' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-brush.c:1570:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.20.0 libmypaint-1.6.0/mypaint-brush.c:1634:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.20.0 libmypaint-1.6.0/mypaint-brush.c:273:60: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-brush.c:573:33: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-brush.c:573:46: style: Parameter 'inputs' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-brush.c:896:18: style: Variable 'smudge_new' can be declared as pointer to const [constVariablePointer] 2.20.0 libmypaint-1.6.0/mypaint-brush.c:932:22: style: Variable 'color_new' can be declared as pointer to const [constVariablePointer] 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:106:34: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:72: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:38: note: Assignment 'self=(struct MyPaintFixedTiledSurface*)malloc(sizeof(struct MyPaintFixedTiledSurface))', assigned value is 0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:106:34: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:109:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:72: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:38: note: Assignment 'self=(struct MyPaintFixedTiledSurface*)malloc(sizeof(struct MyPaintFixedTiledSurface))', assigned value is 0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:109:5: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:122:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:128:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:72: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:38: note: Assignment 'self=(struct MyPaintFixedTiledSurface*)malloc(sizeof(struct MyPaintFixedTiledSurface))', assigned value is 0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:121:9: note: Assuming condition is false libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:128:5: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:129:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:72: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:38: note: Assignment 'self=(struct MyPaintFixedTiledSurface*)malloc(sizeof(struct MyPaintFixedTiledSurface))', assigned value is 0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:121:9: note: Assuming condition is false libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:129:5: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:130:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:72: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:38: note: Assignment 'self=(struct MyPaintFixedTiledSurface*)malloc(sizeof(struct MyPaintFixedTiledSurface))', assigned value is 0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:121:9: note: Assuming condition is false libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:130:5: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:131:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:72: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:38: note: Assignment 'self=(struct MyPaintFixedTiledSurface*)malloc(sizeof(struct MyPaintFixedTiledSurface))', assigned value is 0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:121:9: note: Assuming condition is false libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:131:5: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:132:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:72: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:38: note: Assignment 'self=(struct MyPaintFixedTiledSurface*)malloc(sizeof(struct MyPaintFixedTiledSurface))', assigned value is 0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:121:9: note: Assuming condition is false libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:132:5: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:133:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:72: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:38: note: Assignment 'self=(struct MyPaintFixedTiledSurface*)malloc(sizeof(struct MyPaintFixedTiledSurface))', assigned value is 0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:121:9: note: Assuming condition is false libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:133:5: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:134:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:72: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:38: note: Assignment 'self=(struct MyPaintFixedTiledSurface*)malloc(sizeof(struct MyPaintFixedTiledSurface))', assigned value is 0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:121:9: note: Assuming condition is false libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:134:5: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:33:12: warning: If memory allocation fails, then there is a possible null pointer dereference: self [ctunullpointerOutOfMemory] libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:72: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:38: note: Assignment 'self=(struct MyPaintFixedTiledSurface*)malloc(sizeof(struct MyPaintFixedTiledSurface))', assigned value is 0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:121:9: note: Assuming condition is false libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:136:20: note: Calling function reset_null_tile, 1st argument is null libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:33:12: note: Dereferencing argument self that is null 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:33:12: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:72: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:38: note: Assignment 'self=(struct MyPaintFixedTiledSurface*)malloc(sizeof(struct MyPaintFixedTiledSurface))', assigned value is 0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:121:9: note: Assuming condition is false libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:136:21: note: Calling function 'reset_null_tile', 1st argument 'self' value is 0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:33:12: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:33:32: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:72: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:102:38: note: Assignment 'self=(struct MyPaintFixedTiledSurface*)malloc(sizeof(struct MyPaintFixedTiledSurface))', assigned value is 0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:121:9: note: Assuming condition is false libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:136:21: note: Calling function 'reset_null_tile', 1st argument 'self' value is 0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:33:32: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:63:74: style: Parameter 'request' can be declared as pointer to const. However it seems that 'tile_request_end' is a callback function, if 'request' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:104:67: note: You might need to cast the function pointer here libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:63:74: note: Parameter 'request' can be declared as pointer to const 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:85:65: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-fixed-tiled-surface.c:91:66: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-glib-compat.h:20:1: debug: Failed to parse 'typedef void * void * ;'. The checking continues anyway. [simplifyTypedef] head libmypaint-1.6.0/mypaint-glib-compat.h:23:9: error: syntax error [syntaxError] 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:102:45: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:105:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:124:50: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:135:55: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:141:51: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:146:51: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:146:65: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:58:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-mapping.c:56:52: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-mapping.c:56:28: note: Assignment 'self=(struct MyPaintMapping*)malloc(sizeof(struct MyPaintMapping))', assigned value is 0 libmypaint-1.6.0/mypaint-mapping.c:58:5: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:59:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-mapping.c:56:52: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-mapping.c:56:28: note: Assignment 'self=(struct MyPaintMapping*)malloc(sizeof(struct MyPaintMapping))', assigned value is 0 libmypaint-1.6.0/mypaint-mapping.c:59:5: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:59:70: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-mapping.c:56:52: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-mapping.c:56:28: note: Assignment 'self=(struct MyPaintMapping*)malloc(sizeof(struct MyPaintMapping))', assigned value is 0 libmypaint-1.6.0/mypaint-mapping.c:59:70: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:61:17: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-mapping.c:56:52: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-mapping.c:56:28: note: Assignment 'self=(struct MyPaintMapping*)malloc(sizeof(struct MyPaintMapping))', assigned value is 0 libmypaint-1.6.0/mypaint-mapping.c:61:17: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:61:36: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-mapping.c:56:52: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-mapping.c:56:28: note: Assignment 'self=(struct MyPaintMapping*)malloc(sizeof(struct MyPaintMapping))', assigned value is 0 libmypaint-1.6.0/mypaint-mapping.c:61:36: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:63:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-mapping.c:56:52: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-mapping.c:56:28: note: Assignment 'self=(struct MyPaintMapping*)malloc(sizeof(struct MyPaintMapping))', assigned value is 0 libmypaint-1.6.0/mypaint-mapping.c:63:5: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:64:5: warning: If memory allocation fails, then there is a possible null pointer dereference: self [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-mapping.c:56:52: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-mapping.c:56:28: note: Assignment 'self=(struct MyPaintMapping*)malloc(sizeof(struct MyPaintMapping))', assigned value is 0 libmypaint-1.6.0/mypaint-mapping.c:64:5: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-mapping.c:76:54: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-rectangle.c:33:42: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-rectangle.c:33:42: style:inconclusive: Function 'mypaint_rectangle_copy' argument 1 names different: declaration 'r' definition 'self'. [funcArgNamesDifferent] libmypaint-1.6.0/mypaint-rectangle.h:108:42: note: Function 'mypaint_rectangle_copy' argument 1 names different: declaration 'r' definition 'self'. libmypaint-1.6.0/mypaint-rectangle.c:33:42: note: Function 'mypaint_rectangle_copy' argument 1 names different: declaration 'r' definition 'self'. 2.20.0 libmypaint-1.6.0/mypaint-rectangle.c:54:81: style: Parameter 'other' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-symmetry.c:114:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.20.0 libmypaint-1.6.0/mypaint-symmetry.c:127:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] 2.20.0 libmypaint-1.6.0/mypaint-symmetry.c:12:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.20.0 libmypaint-1.6.0/mypaint-symmetry.c:68:58: style:inconclusive: Function 'mypaint_update_symmetry_state' argument 1 names different: declaration 'symmetry_data' definition 'self'. [funcArgNamesDifferent] libmypaint-1.6.0/mypaint-symmetry.h:136:64: note: Function 'mypaint_update_symmetry_state' argument 1 names different: declaration 'symmetry_data' definition 'self'. libmypaint-1.6.0/mypaint-symmetry.c:68:58: note: Function 'mypaint_update_symmetry_state' argument 1 names different: declaration 'symmetry_data' definition 'self'. 2.20.0 libmypaint-1.6.0/mypaint-tiled-surface.c:1055:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.20.0 libmypaint-1.6.0/mypaint-tiled-surface.c:233:16: style: Variable 'r_near' is assigned a value that is never used. [unreadVariable] 2.20.0 libmypaint-1.6.0/mypaint-tiled-surface.c:429:50: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-tiled-surface.c:530:65: style: Parameter 'op' can be declared as pointer to const [constParameterPointer] 2.20.0 libmypaint-1.6.0/mypaint-tiled-surface.c:610:14: warning: If memory allocation fails, then there is a possible null pointer dereference: op_copy [nullPointerOutOfMemory] libmypaint-1.6.0/mypaint-tiled-surface.c:609:75: note: Assuming allocation function fails libmypaint-1.6.0/mypaint-tiled-surface.c:609:45: note: Assignment 'op_copy=(struct OperationDataDrawDab*)malloc(sizeof(struct OperationDataDrawDab))', assigned value is 0 libmypaint-1.6.0/mypaint-tiled-surface.c:610:14: note: Null pointer dereference 2.20.0 libmypaint-1.6.0/mypaint-tiled-surface.c:983:26: style: Variable 'symm_data' can be declared as pointer to const [constVariablePointer] DONE