2026-01-16 13:41 ftp://ftp.de.debian.org/debian/pool/main/g/g2/g2_0.72.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --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 -j8 platform: Linux-6.17.12+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.11 client-version: 1.3.69 compiler: g++ (Debian 15.2.0-12) 15.2.0 cppcheck: head 2.19.0 head-info: a8f83c1c (2026-01-15 10:50:53 +0100) count: 466 466 elapsed-time: 0.2 0.6 head-timing-info: old-timing-info: head results: g2-0.72/demo/demo_cpp.cpp:38:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] g2-0.72/demo/handles.c:29:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G2_PD_HANDLES_SIZE [valueFlowBailoutIncompleteVar] g2-0.72/demo/g2_arc.c:30:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G2_VERSION [valueFlowBailoutIncompleteVar] g2-0.72/demo/simple_gd.c:32:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g2_gd_png [valueFlowBailoutIncompleteVar] g2-0.72/demo/g2_splines_demo.c:62:11: style: Variable 'dy' can be declared as const array [constVariable] g2-0.72/demo/g2_splines_demo.c:96:26: style: Parameter 'argv' can be declared as const array [constParameter] g2-0.72/g2_python/g2module.c:65:4: error: syntax error [syntaxError] g2-0.72/demo/g2_splines_demo.c:98:15: style: Variable 'dev' is assigned a value that is never used. [unreadVariable] g2-0.72/demo/g2_anim.c:36:11: style: Unused variable: dwin [unusedVariable] g2-0.72/demo/g2_anim.c:36:16: style: Unused variable: dX11 [unusedVariable] g2-0.72/demo/g2_arc.c:27:23: style: Variable 'dev' is assigned a value that is never used. [unreadVariable] g2-0.72/demo/g2_arc.c:28:13: style: Variable 'ndev' is assigned a value that is never used. [unreadVariable] g2-0.72/demo/g2_arc.c:28:9: style: Variable 'ndev' is assigned a value that is never used. [unreadVariable] g2-0.72/src/GD/g2_gd.c:76:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g2_IntCoor [valueFlowBailoutIncompleteVar] g2-0.72/src/GD/g2_gd.c:217:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdFontTiny [valueFlowBailoutIncompleteVar] g2-0.72/src/GD/g2_gd.c:248:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] g2-0.72/src/GD/g2_gd.c:301:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdPoint [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:78:1: portability: Omitted return type of function 'g2_win32_SetPen' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] g2-0.72/src/Win32/g2_win32_thread.c:36:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32_thread.c:56:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWL_USERDATA [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32_thread.c:136:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WS_POPUPWINDOW [valueFlowBailoutIncompleteVar] g2-0.72/src/GD/g2_gd.c:67:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pdp [nullPointerOutOfMemory] g2-0.72/src/GD/g2_gd.c:65:33: note: Assuming allocation function fails g2-0.72/src/GD/g2_gd.c:65:11: note: Assignment 'pdp=(struct g2_gd_STRUCT*)malloc(sizeof(struct g2_gd_STRUCT))', assigned value is 0 g2-0.72/src/GD/g2_gd.c:67:5: note: Null pointer dereference g2-0.72/src/GD/g2_gd.c:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pdp [nullPointerOutOfMemory] g2-0.72/src/GD/g2_gd.c:65:33: note: Assuming allocation function fails g2-0.72/src/GD/g2_gd.c:65:11: note: Assignment 'pdp=(struct g2_gd_STRUCT*)malloc(sizeof(struct g2_gd_STRUCT))', assigned value is 0 g2-0.72/src/GD/g2_gd.c:68:5: note: Null pointer dereference g2-0.72/src/GD/g2_gd.c:69:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pdp [nullPointerOutOfMemory] g2-0.72/src/GD/g2_gd.c:65:33: note: Assuming allocation function fails g2-0.72/src/GD/g2_gd.c:65:11: note: Assignment 'pdp=(struct g2_gd_STRUCT*)malloc(sizeof(struct g2_gd_STRUCT))', assigned value is 0 g2-0.72/src/GD/g2_gd.c:69:5: note: Null pointer dereference g2-0.72/src/GD/g2_gd.c:70:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pdp [nullPointerOutOfMemory] g2-0.72/src/GD/g2_gd.c:65:33: note: Assuming allocation function fails g2-0.72/src/GD/g2_gd.c:65:11: note: Assignment 'pdp=(struct g2_gd_STRUCT*)malloc(sizeof(struct g2_gd_STRUCT))', assigned value is 0 g2-0.72/src/GD/g2_gd.c:70:5: note: Null pointer dereference g2-0.72/src/GD/g2_gd.c:71:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pdp [nullPointerOutOfMemory] g2-0.72/src/GD/g2_gd.c:65:33: note: Assuming allocation function fails g2-0.72/src/GD/g2_gd.c:65:11: note: Assignment 'pdp=(struct g2_gd_STRUCT*)malloc(sizeof(struct g2_gd_STRUCT))', assigned value is 0 g2-0.72/src/GD/g2_gd.c:71:5: note: Null pointer dereference g2-0.72/src/GD/g2_gd.c:72:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pdp [nullPointerOutOfMemory] g2-0.72/src/GD/g2_gd.c:65:33: note: Assuming allocation function fails g2-0.72/src/GD/g2_gd.c:65:11: note: Assignment 'pdp=(struct g2_gd_STRUCT*)malloc(sizeof(struct g2_gd_STRUCT))', assigned value is 0 g2-0.72/src/GD/g2_gd.c:72:5: note: Null pointer dereference g2-0.72/src/GD/g2_gd.c:73:5: warning: If memory allocation fails, then there is a possible null pointer dereference: pdp [nullPointerOutOfMemory] g2-0.72/src/GD/g2_gd.c:65:33: note: Assuming allocation function fails g2-0.72/src/GD/g2_gd.c:65:11: note: Assignment 'pdp=(struct g2_gd_STRUCT*)malloc(sizeof(struct g2_gd_STRUCT))', assigned value is 0 g2-0.72/src/GD/g2_gd.c:73:5: note: Null pointer dereference g2-0.72/src/GD/g2_gd.c:103:28: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: (struct g2_gd_STRUCT*)pdp [nullPointerOutOfMemory] g2-0.72/src/GD/g2_gd.c:65:33: note: Assuming allocation function fails g2-0.72/src/GD/g2_gd.c:65:11: note: Assignment 'pdp=(struct g2_gd_STRUCT*)malloc(sizeof(struct g2_gd_STRUCT))', assigned value is 0 g2-0.72/src/GD/g2_gd.c:80:21: note: Calling function 'g2_gd_Clear', 2nd argument 'pdp' value is 0 g2-0.72/src/GD/g2_gd.c:103:28: note: Null pointer dereference g2-0.72/src/GD/g2_gd.c:304:3: warning: If memory allocation fails, then there is a possible null pointer dereference: GIFPolygon [nullPointerOutOfMemory] g2-0.72/src/GD/g2_gd.c:301:32: note: Assuming allocation function fails g2-0.72/src/GD/g2_gd.c:301:15: note: Assignment 'GIFPolygon=(gdPoint*)malloc(N*sizeof(gdPoint))', assigned value is 0 g2-0.72/src/GD/g2_gd.c:304:3: note: Null pointer dereference g2-0.72/src/GD/g2_gd.c:305:3: warning: If memory allocation fails, then there is a possible null pointer dereference: GIFPolygon [nullPointerOutOfMemory] g2-0.72/src/GD/g2_gd.c:301:32: note: Assuming allocation function fails g2-0.72/src/GD/g2_gd.c:301:15: note: Assignment 'GIFPolygon=(gdPoint*)malloc(N*sizeof(gdPoint))', assigned value is 0 g2-0.72/src/GD/g2_gd.c:305:3: note: Null pointer dereference g2-0.72/src/GD/g2_gd.c:261:52: style:inconclusive: Function 'g2_gd_PolyLine' argument 4 names different: declaration 'p' definition 'points'. [funcArgNamesDifferent] g2-0.72/src/GD/g2_gd_P.h:86:52: note: Function 'g2_gd_PolyLine' argument 4 names different: declaration 'p' definition 'points'. g2-0.72/src/GD/g2_gd.c:261:52: note: Function 'g2_gd_PolyLine' argument 4 names different: declaration 'p' definition 'points'. g2-0.72/src/GD/g2_gd.c:280:45: style:inconclusive: Function 'g2_gd_Rectangle' argument 3 names different: declaration 'x1' definition 'x'. [funcArgNamesDifferent] g2-0.72/src/GD/g2_gd_P.h:96:45: note: Function 'g2_gd_Rectangle' argument 3 names different: declaration 'x1' definition 'x'. g2-0.72/src/GD/g2_gd.c:280:45: note: Function 'g2_gd_Rectangle' argument 3 names different: declaration 'x1' definition 'x'. g2-0.72/src/GD/g2_gd.c:280:52: style:inconclusive: Function 'g2_gd_Rectangle' argument 4 names different: declaration 'y1' definition 'y'. [funcArgNamesDifferent] g2-0.72/src/GD/g2_gd_P.h:96:53: note: Function 'g2_gd_Rectangle' argument 4 names different: declaration 'y1' definition 'y'. g2-0.72/src/GD/g2_gd.c:280:52: note: Function 'g2_gd_Rectangle' argument 4 names different: declaration 'y1' definition 'y'. g2-0.72/src/GD/g2_gd.c:286:51: style:inconclusive: Function 'g2_gd_FilledRectangle' argument 3 names different: declaration 'x1' definition 'x'. [funcArgNamesDifferent] g2-0.72/src/GD/g2_gd_P.h:98:12: note: Function 'g2_gd_FilledRectangle' argument 3 names different: declaration 'x1' definition 'x'. g2-0.72/src/GD/g2_gd.c:286:51: note: Function 'g2_gd_FilledRectangle' argument 3 names different: declaration 'x1' definition 'x'. g2-0.72/src/GD/g2_gd.c:286:58: style:inconclusive: Function 'g2_gd_FilledRectangle' argument 4 names different: declaration 'y1' definition 'y'. [funcArgNamesDifferent] g2-0.72/src/GD/g2_gd_P.h:98:20: note: Function 'g2_gd_FilledRectangle' argument 4 names different: declaration 'y1' definition 'y'. g2-0.72/src/GD/g2_gd.c:286:58: note: Function 'g2_gd_FilledRectangle' argument 4 names different: declaration 'y1' definition 'y'. g2-0.72/src/GD/g2_gd.c:292:51: style:inconclusive: Function 'g2_gd_Polygon' argument 4 names different: declaration 'p' definition 'points'. [funcArgNamesDifferent] g2-0.72/src/GD/g2_gd_P.h:87:51: note: Function 'g2_gd_Polygon' argument 4 names different: declaration 'p' definition 'points'. g2-0.72/src/GD/g2_gd.c:292:51: note: Function 'g2_gd_Polygon' argument 4 names different: declaration 'p' definition 'points'. g2-0.72/src/GD/g2_gd.c:297:57: style:inconclusive: Function 'g2_gd_FilledPolygon' argument 4 names different: declaration 'p' definition 'points'. [funcArgNamesDifferent] g2-0.72/src/GD/g2_gd_P.h:88:57: note: Function 'g2_gd_FilledPolygon' argument 4 names different: declaration 'p' definition 'points'. g2-0.72/src/GD/g2_gd.c:297:57: note: Function 'g2_gd_FilledPolygon' argument 4 names different: declaration 'p' definition 'points'. g2-0.72/src/Win32/g2_win32_thread.c:125:7: style: Local variable 'hmenu' shadows outer variable [shadowVariable] g2-0.72/src/Win32/g2_win32_P.h:25:14: note: Shadowed declaration g2-0.72/src/Win32/g2_win32_thread.c:125:7: note: Shadow variable g2-0.72/src/GD/g2_gd.c:131:32: style: Parameter 'pdp' can be declared as pointer to const. However it seems that 'g2_gd_Flush' is a callback function, if 'pdp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/GD/g2_gd_funix.h:36:13: note: You might need to cast the function pointer here g2-0.72/src/GD/g2_gd.c:131:32: note: Parameter 'pdp' can be declared as pointer to const g2-0.72/src/GD/g2_gd.c:204:34: style: Parameter 'pdp' can be declared as pointer to const [constParameterPointer] g2-0.72/src/GD/g2_gd.c:204:52: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] g2-0.72/src/GD/g2_gd.c:209:35: style: Parameter 'pdp' can be declared as pointer to const [constParameterPointer] g2-0.72/src/GD/g2_gd.c:209:55: style: Parameter 'dashes' can be declared as pointer to const [constParameterPointer] g2-0.72/src/GD/g2_gd.c:261:35: style: Parameter 'pdp' can be declared as pointer to const [constParameterPointer] g2-0.72/src/GD/g2_gd.c:261:52: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/src/GD/g2_gd.c:266:35: style: Parameter 'pdp' can be declared as pointer to const [constParameterPointer] g2-0.72/src/GD/g2_gd.c:273:41: style: Parameter 'pdp' can be declared as pointer to const [constParameterPointer] g2-0.72/src/GD/g2_gd.c:292:34: style: Parameter 'pdp' can be declared as pointer to const [constParameterPointer] g2-0.72/src/GD/g2_gd.c:292:51: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/src/GD/g2_gd.c:297:57: style: Parameter 'points' can be declared as pointer to const. However it seems that 'g2_gd_FilledPolygon' is a callback function, if 'points' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/GD/g2_gd_funix.h:43:21: note: You might need to cast the function pointer here g2-0.72/src/GD/g2_gd.c:297:57: note: Parameter 'points' can be declared as pointer to const g2-0.72/src/GD/g2_gd.c:318:39: style: Parameter 'pdp' can be declared as pointer to const [constParameterPointer] g2-0.72/perl/g2_wrap.c:411:1: debug: Failed to parse 'typedef XS ( SwigPerlWrapper ) ;'. The checking continues anyway. [simplifyTypedef] g2-0.72/src/GD/g2_gd.c:323:34: style: Parameter 'pdp' can be declared as pointer to const [constParameterPointer] g2-0.72/src/GD/g2_gd.c:328:40: style: Parameter 'pdp' can be declared as pointer to const [constParameterPointer] g2-0.72/src/GD/g2_gd.c:339:36: style: Parameter 'pdp' can be declared as pointer to const [constParameterPointer] g2-0.72/src/FIG/g2_FIG.c:72:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Error [valueFlowBailoutIncompleteVar] g2-0.72/src/FIG/g2_FIG.c:136:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G2_VERSION [valueFlowBailoutIncompleteVar] g2-0.72/src/PS/g2_PS.c:63:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/PS/g2_PS.c:205:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G2_VERSION [valueFlowBailoutIncompleteVar] g2-0.72/src/PS/g2_PS.c:373:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g2_PSFont [valueFlowBailoutIncompleteVar] g2-0.72/demo/g2_test.c:54:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G2_VERSION [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PS_SOLID [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:144:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WM_CLOSE [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:181:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:215:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLORREF [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:263:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:280:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FW_NORMAL [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:315:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POINT [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:335:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_BRUSH [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:353:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POINT [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:374:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POINT [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:395:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_BRUSH [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:412:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULL_BRUSH [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:436:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRANSPARENT [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:458:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VK_LBUTTON [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:478:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FORMAT_MESSAGE_ALLOCATE_BUFFER [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:502:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CS_HREDRAW [valueFlowBailoutIncompleteVar] g2-0.72/src/Win32/g2_win32.c:574:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] g2-0.72/src/FIG/g2_FIG.c:477:5: portability: %d in format string (no. 4) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] g2-0.72/src/FIG/g2_FIG.c:131:45: style:inconclusive: Function 'g2_FIG_write_file_header' argument 1 names different: declaration 'figd' definition 'fig'. [funcArgNamesDifferent] g2-0.72/src/FIG/g2_FIG_P.h:46:45: note: Function 'g2_FIG_write_file_header' argument 1 names different: declaration 'figd' definition 'fig'. g2-0.72/src/FIG/g2_FIG.c:131:45: note: Function 'g2_FIG_write_file_header' argument 1 names different: declaration 'figd' definition 'fig'. g2-0.72/src/FIG/g2_FIG.c:219:42: style: Parameter 'pdp' can be declared as pointer to const [constParameterPointer] g2-0.72/src/FIG/g2_FIG.c:226:41: style: Parameter 'pdp' can be declared as pointer to const [constParameterPointer] g2-0.72/src/FIG/g2_FIG.c:242:53: style: Parameter 'data' can be declared as pointer to const. However it seems that 'g2_FIG_set_dash' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/FIG/g2_FIG_funix.h:32:27: note: You might need to cast the function pointer here g2-0.72/src/FIG/g2_FIG.c:242:53: note: Parameter 'data' can be declared as pointer to const g2-0.72/src/FIG/g2_FIG.c:277:33: style: Parameter 'pdp' can be declared as pointer to const. However it seems that 'g2_FIG_clear' is a callback function, if 'pdp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/FIG/g2_FIG_funix.h:34:27: note: You might need to cast the function pointer here g2-0.72/src/FIG/g2_FIG.c:277:33: note: Parameter 'pdp' can be declared as pointer to const g2-0.72/src/FIG/g2_FIG.c:315:54: style: Parameter 'points' can be declared as pointer to const. However it seems that 'g2_FIG_poly_line' is a callback function, if 'points' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/FIG/g2_FIG_funix.h:39:27: note: You might need to cast the function pointer here g2-0.72/src/FIG/g2_FIG.c:315:54: note: Parameter 'points' can be declared as pointer to const g2-0.72/src/FIG/g2_FIG.c:330:52: style: Parameter 'points' can be declared as pointer to const. However it seems that 'g2_FIG_polygon' is a callback function, if 'points' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/FIG/g2_FIG_funix.h:40:27: note: You might need to cast the function pointer here g2-0.72/src/FIG/g2_FIG.c:330:52: note: Parameter 'points' can be declared as pointer to const g2-0.72/src/FIG/g2_FIG.c:350:59: style: Parameter 'points' can be declared as pointer to const. However it seems that 'g2_FIG_filled_polygon' is a callback function, if 'points' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/FIG/g2_FIG_funix.h:41:27: note: You might need to cast the function pointer here g2-0.72/src/FIG/g2_FIG.c:350:59: note: Parameter 'points' can be declared as pointer to const g2-0.72/src/PS/g2_PS.c:178:43: style:inconclusive: Function 'g2_PS_write_file_header' argument 1 names different: declaration 'psd' definition 'ps'. [funcArgNamesDifferent] g2-0.72/src/PS/g2_PS_P.h:51:43: note: Function 'g2_PS_write_file_header' argument 1 names different: declaration 'psd' definition 'ps'. g2-0.72/src/PS/g2_PS.c:178:43: note: Function 'g2_PS_write_file_header' argument 1 names different: declaration 'psd' definition 'ps'. g2-0.72/src/PS/g2_PS.c:326:41: style: Parameter 'pdp' can be declared as pointer to const. However it seems that 'g2_PS_set_background' is a callback function, if 'pdp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/PS/g2_PS_funix.h:29:27: note: You might need to cast the function pointer here g2-0.72/src/PS/g2_PS.c:326:41: note: Parameter 'pdp' can be declared as pointer to const g2-0.72/src/PS/g2_PS.c:354:55: style: Parameter 'data' can be declared as pointer to const. However it seems that 'g2_PS_set_dash' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/PS/g2_PS_funix.h:32:27: note: You might need to cast the function pointer here g2-0.72/src/PS/g2_PS.c:354:55: note: Parameter 'data' can be declared as pointer to const g2-0.72/src/PS/g2_PS.c:424:56: style: Parameter 'points' can be declared as pointer to const. However it seems that 'g2_PS_poly_line' is a callback function, if 'points' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/PS/g2_PS_funix.h:39:27: note: You might need to cast the function pointer here g2-0.72/src/PS/g2_PS.c:424:56: note: Parameter 'points' can be declared as pointer to const g2-0.72/src/PS/g2_PS.c:441:54: style: Parameter 'points' can be declared as pointer to const. However it seems that 'g2_PS_polygon' is a callback function, if 'points' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/PS/g2_PS_funix.h:40:27: note: You might need to cast the function pointer here g2-0.72/src/PS/g2_PS.c:441:54: note: Parameter 'points' can be declared as pointer to const g2-0.72/src/PS/g2_PS.c:458:61: style: Parameter 'points' can be declared as pointer to const. However it seems that 'g2_PS_filled_polygon' is a callback function, if 'points' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/PS/g2_PS_funix.h:41:27: note: You might need to cast the function pointer here g2-0.72/src/PS/g2_PS.c:458:61: note: Parameter 'points' can be declared as pointer to const g2-0.72/src/Win32/g2_win32.c:559:2: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct g2_win32_STRUCT*)pdp [nullPointerOutOfMemory] g2-0.72/src/Win32/g2_win32.c:557:33: note: Assuming allocation function fails g2-0.72/src/Win32/g2_win32.c:557:8: note: Assignment 'pdp=(struct g2_win32_STRUCT*)malloc(sizeof(struct g2_win32_STRUCT))', assigned value is 0 g2-0.72/src/Win32/g2_win32.c:559:2: note: Null pointer dereference g2-0.72/src/Win32/g2_win32.c:560:2: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct g2_win32_STRUCT*)pdp [nullPointerOutOfMemory] g2-0.72/src/Win32/g2_win32.c:557:33: note: Assuming allocation function fails g2-0.72/src/Win32/g2_win32.c:557:8: note: Assignment 'pdp=(struct g2_win32_STRUCT*)malloc(sizeof(struct g2_win32_STRUCT))', assigned value is 0 g2-0.72/src/Win32/g2_win32.c:560:2: note: Null pointer dereference g2-0.72/src/Win32/g2_win32.c:561:2: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct g2_win32_STRUCT*)pdp [nullPointerOutOfMemory] g2-0.72/src/Win32/g2_win32.c:557:33: note: Assuming allocation function fails g2-0.72/src/Win32/g2_win32.c:557:8: note: Assignment 'pdp=(struct g2_win32_STRUCT*)malloc(sizeof(struct g2_win32_STRUCT))', assigned value is 0 g2-0.72/src/Win32/g2_win32.c:561:2: note: Null pointer dereference g2-0.72/src/Win32/g2_win32.c:562:2: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct g2_win32_STRUCT*)pdp [nullPointerOutOfMemory] g2-0.72/src/Win32/g2_win32.c:557:33: note: Assuming allocation function fails g2-0.72/src/Win32/g2_win32.c:557:8: note: Assignment 'pdp=(struct g2_win32_STRUCT*)malloc(sizeof(struct g2_win32_STRUCT))', assigned value is 0 g2-0.72/src/Win32/g2_win32.c:562:2: note: Null pointer dereference g2-0.72/src/Win32/g2_win32.c:563:2: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct g2_win32_STRUCT*)pdp [nullPointerOutOfMemory] g2-0.72/src/Win32/g2_win32.c:557:33: note: Assuming allocation function fails g2-0.72/src/Win32/g2_win32.c:557:8: note: Assignment 'pdp=(struct g2_win32_STRUCT*)malloc(sizeof(struct g2_win32_STRUCT))', assigned value is 0 g2-0.72/src/Win32/g2_win32.c:563:2: note: Null pointer dereference g2-0.72/src/Win32/g2_win32.c:564:2: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct g2_win32_STRUCT*)pdp [nullPointerOutOfMemory] g2-0.72/src/Win32/g2_win32.c:557:33: note: Assuming allocation function fails g2-0.72/src/Win32/g2_win32.c:557:8: note: Assignment 'pdp=(struct g2_win32_STRUCT*)malloc(sizeof(struct g2_win32_STRUCT))', assigned value is 0 g2-0.72/src/Win32/g2_win32.c:564:2: note: Null pointer dereference g2-0.72/src/Win32/g2_win32.c:565:2: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct g2_win32_STRUCT*)pdp [nullPointerOutOfMemory] g2-0.72/src/Win32/g2_win32.c:557:33: note: Assuming allocation function fails g2-0.72/src/Win32/g2_win32.c:557:8: note: Assignment 'pdp=(struct g2_win32_STRUCT*)malloc(sizeof(struct g2_win32_STRUCT))', assigned value is 0 g2-0.72/src/Win32/g2_win32.c:565:2: note: Null pointer dereference g2-0.72/src/Win32/g2_win32.c:566:2: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct g2_win32_STRUCT*)pdp [nullPointerOutOfMemory] g2-0.72/src/Win32/g2_win32.c:557:33: note: Assuming allocation function fails g2-0.72/src/Win32/g2_win32.c:557:8: note: Assignment 'pdp=(struct g2_win32_STRUCT*)malloc(sizeof(struct g2_win32_STRUCT))', assigned value is 0 g2-0.72/src/Win32/g2_win32.c:566:2: note: Null pointer dereference g2-0.72/src/Win32/g2_win32.c:567:2: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct g2_win32_STRUCT*)pdp [nullPointerOutOfMemory] g2-0.72/src/Win32/g2_win32.c:557:33: note: Assuming allocation function fails g2-0.72/src/Win32/g2_win32.c:557:8: note: Assignment 'pdp=(struct g2_win32_STRUCT*)malloc(sizeof(struct g2_win32_STRUCT))', assigned value is 0 g2-0.72/src/Win32/g2_win32.c:567:2: note: Null pointer dereference g2-0.72/src/Win32/g2_win32.c:568:2: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct g2_win32_STRUCT*)pdp [nullPointerOutOfMemory] g2-0.72/src/Win32/g2_win32.c:557:33: note: Assuming allocation function fails g2-0.72/src/Win32/g2_win32.c:557:8: note: Assignment 'pdp=(struct g2_win32_STRUCT*)malloc(sizeof(struct g2_win32_STRUCT))', assigned value is 0 g2-0.72/src/Win32/g2_win32.c:568:2: note: Null pointer dereference g2-0.72/src/Win32/g2_win32.c:569:2: warning: If memory allocation fails, then there is a possible null pointer dereference: (struct g2_win32_STRUCT*)pdp [nullPointerOutOfMemory] g2-0.72/src/Win32/g2_win32.c:557:33: note: Assuming allocation function fails g2-0.72/src/Win32/g2_win32.c:557:8: note: Assignment 'pdp=(struct g2_win32_STRUCT*)malloc(sizeof(struct g2_win32_STRUCT))', assigned value is 0 g2-0.72/src/Win32/g2_win32.c:569:2: note: Null pointer dereference g2-0.72/src/Win32/g2_win32.c:345:2: style: Statements following 'return' will never be executed. [unreachableCode] g2-0.72/src/Win32/g2_win32.c:404:2: style: Statements following 'return' will never be executed. [unreachableCode] g2-0.72/src/Win32/g2_win32.c:310:55: style:inconclusive: Function 'g2_win32_PolyLine' argument 4 names different: declaration 'p' definition 'points'. [funcArgNamesDifferent] g2-0.72/src/Win32/g2_win32_P.h:84:55: note: Function 'g2_win32_PolyLine' argument 4 names different: declaration 'p' definition 'points'. g2-0.72/src/Win32/g2_win32.c:310:55: note: Function 'g2_win32_PolyLine' argument 4 names different: declaration 'p' definition 'points'. g2-0.72/src/Win32/g2_win32.c:333:48: style:inconclusive: Function 'g2_win32_Rectangle' argument 3 names different: declaration 'x1' definition 'x'. [funcArgNamesDifferent] g2-0.72/src/Win32/g2_win32_P.h:94:48: note: Function 'g2_win32_Rectangle' argument 3 names different: declaration 'x1' definition 'x'. g2-0.72/src/Win32/g2_win32.c:333:48: note: Function 'g2_win32_Rectangle' argument 3 names different: declaration 'x1' definition 'x'. g2-0.72/src/Win32/g2_win32.c:333:55: style:inconclusive: Function 'g2_win32_Rectangle' argument 4 names different: declaration 'y1' definition 'y'. [funcArgNamesDifferent] g2-0.72/src/Win32/g2_win32_P.h:94:56: note: Function 'g2_win32_Rectangle' argument 4 names different: declaration 'y1' definition 'y'. g2-0.72/src/Win32/g2_win32.c:333:55: note: Function 'g2_win32_Rectangle' argument 4 names different: declaration 'y1' definition 'y'. g2-0.72/src/Win32/g2_win32.c:349:54: style:inconclusive: Function 'g2_win32_Polygon' argument 4 names different: declaration 'p' definition 'points'. [funcArgNamesDifferent] g2-0.72/src/Win32/g2_win32_P.h:85:54: note: Function 'g2_win32_Polygon' argument 4 names different: declaration 'p' definition 'points'. g2-0.72/src/Win32/g2_win32.c:349:54: note: Function 'g2_win32_Polygon' argument 4 names different: declaration 'p' definition 'points'. g2-0.72/src/Win32/g2_win32.c:370:60: style:inconclusive: Function 'g2_win32_FilledPolygon' argument 4 names different: declaration 'p' definition 'points'. [funcArgNamesDifferent] g2-0.72/src/Win32/g2_win32_P.h:86:60: note: Function 'g2_win32_FilledPolygon' argument 4 names different: declaration 'p' definition 'points'. g2-0.72/src/Win32/g2_win32.c:370:60: note: Function 'g2_win32_FilledPolygon' argument 4 names different: declaration 'p' definition 'points'. g2-0.72/src/Win32/g2_win32.c:550:55: style:inconclusive: Function 'g2_open_win32' argument 3 names different: declaration 'filename' definition 'title'. [funcArgNamesDifferent] g2-0.72/src/Win32/g2_win32.h:59:63: note: Function 'g2_open_win32' argument 3 names different: declaration 'filename' definition 'title'. g2-0.72/src/Win32/g2_win32.c:550:55: note: Function 'g2_open_win32' argument 3 names different: declaration 'filename' definition 'title'. g2-0.72/src/Win32/g2_win32.c:254:54: style: Parameter 'data' can be declared as pointer to const. However it seems that 'g2_win32_SetDash' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/Win32/g2_win32_funix.h:32:27: note: You might need to cast the function pointer here g2-0.72/src/Win32/g2_win32.c:254:54: note: Parameter 'data' can be declared as pointer to const g2-0.72/src/Win32/g2_win32.c:310:55: style: Parameter 'points' can be declared as pointer to const. However it seems that 'g2_win32_PolyLine' is a callback function, if 'points' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/Win32/g2_win32_funix.h:39:27: note: You might need to cast the function pointer here g2-0.72/src/Win32/g2_win32.c:310:55: note: Parameter 'points' can be declared as pointer to const g2-0.72/src/Win32/g2_win32.c:349:54: style: Parameter 'points' can be declared as pointer to const. However it seems that 'g2_win32_Polygon' is a callback function, if 'points' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/Win32/g2_win32_funix.h:40:27: note: You might need to cast the function pointer here g2-0.72/src/Win32/g2_win32.c:349:54: note: Parameter 'points' can be declared as pointer to const g2-0.72/src/Win32/g2_win32.c:370:60: style: Parameter 'points' can be declared as pointer to const. However it seems that 'g2_win32_FilledPolygon' is a callback function, if 'points' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/Win32/g2_win32_funix.h:41:27: note: You might need to cast the function pointer here g2-0.72/src/Win32/g2_win32.c:370:60: note: Parameter 'points' can be declared as pointer to const g2-0.72/src/Win32/g2_win32.c:480:12: error: Uninitialized variable: lpMessageBuffer [uninitvar] g2-0.72/src/Win32/g2_win32.c:587:32: error: Uninitialized variable: ThreadID [uninitvar] g2-0.72/src/Win32/g2_win32.c:553:7: style: Variable 'ThreadID' is not assigned a value. [unassignedVariable] g2-0.72/src/g2_fif.c:222:29: style: Parameter 'vd_dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:222:45: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:228:29: style: Parameter 'vd_dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:228:45: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:235:28: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:241:37: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:241:50: style: Parameter 'on_off' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:247:44: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:248:16: style: Parameter 'x_origin' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:248:34: style: Parameter 'y_origin' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:249:16: style: Parameter 'x_mul' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:249:34: style: Parameter 'y_mul' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:263:29: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:270:28: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:276:27: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:284:26: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:284:39: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:284:50: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:285:12: style: Parameter 'r1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:285:24: style: Parameter 'r2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:285:36: style: Parameter 'a1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:285:48: style: Parameter 'a2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:291:29: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:291:42: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:291:53: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:291:64: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:297:28: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:303:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:309:29: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:309:42: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:309:53: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:309:64: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:321:30: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:321:43: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:321:54: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:321:65: style: Parameter 'r1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:321:77: style: Parameter 'r2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:327:33: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:327:46: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:327:57: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:328:12: style: Parameter 'r1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:328:24: style: Parameter 'r2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:329:12: style: Parameter 'a1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:329:24: style: Parameter 'a2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:335:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:335:49: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:335:60: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:335:71: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:341:37: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:341:50: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:341:61: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:341:72: style: Parameter 'r1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:341:84: style: Parameter 'r2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:347:38: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:347:51: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:347:63: style: Parameter 'y1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:348:17: style: Parameter 'x2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:348:29: style: Parameter 'y2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:349:17: style: Parameter 'x3' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:349:29: style: Parameter 'y3' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:355:29: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:355:42: style: Parameter 'red' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:355:55: style: Parameter 'green' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:355:70: style: Parameter 'blue' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:361:27: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:361:40: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:361:52: style: Parameter 'y1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:361:64: style: Parameter 'x2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:361:76: style: Parameter 'y2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:367:32: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:367:45: style: Parameter 'N_pt' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:376:30: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:376:43: style: Parameter 'N_pt' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:385:37: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:385:50: style: Parameter 'N_pt' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:394:29: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:394:42: style: Parameter 'dx' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:394:54: style: Parameter 'dy' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:400:30: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:400:43: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_control_pd.c:236:60: style: Parameter 'dashes' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:400:54: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:406:27: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:406:40: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:406:51: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:412:29: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:412:42: style: Parameter 'dx' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:412:54: style: Parameter 'dy' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:418:26: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:418:39: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:424:27: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:424:40: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:424:51: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:430:29: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:430:42: style: Parameter 'dx' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:430:54: style: Parameter 'dy' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:436:32: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:437:18: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:437:30: style: Parameter 'y1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:438:18: style: Parameter 'x2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:438:30: style: Parameter 'y2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:444:39: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:445:18: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:445:30: style: Parameter 'y1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:173:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Error [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:446:18: style: Parameter 'x2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:326:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:446:30: style: Parameter 'y2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:346:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:452:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:363:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:458:37: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:379:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:458:50: style: Parameter 'color' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:423:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:464:31: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:464:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCLineWidth [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:464:44: style: Parameter 'N' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:476:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LineSolid [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:473:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:509:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g2_X11Font [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:473:49: style: Parameter 'size' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:549:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:479:37: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:567:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:479:50: style: Parameter 'w' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:587:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:485:31: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:609:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:485:44: style: Parameter 'x1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:626:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:485:56: style: Parameter 'y1' can be declared as pointer to const [constParameterPointer] g2-0.72/src/X11/g2_X11.c:748:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZPixmap [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_fif.c:486:17: style: Parameter 'x2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:486:29: style: Parameter 'y2' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:487:17: style: Parameter 'x3' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:487:29: style: Parameter 'y3' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:493:29: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:493:42: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:493:53: style: Parameter 'shape' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:499:30: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:499:43: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:499:54: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:506:28: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:506:41: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:506:52: style: Parameter 'y' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:506:63: style: Parameter 'x_size' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:506:79: style: Parameter 'y_size' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:507:14: style: Parameter 'pens' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:526:29: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:526:42: style: Parameter 'N_pt' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:526:72: style: Parameter 'o' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:534:31: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:534:44: style: Parameter 'N_pt' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:534:74: style: Parameter 'o' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:542:29: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:542:42: style: Parameter 'N_pt' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:542:72: style: Parameter 'tn' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:550:29: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:550:42: style: Parameter 'N_pt' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:558:29: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:558:42: style: Parameter 'N_pt' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:566:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:566:49: style: Parameter 'N_pt' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:566:79: style: Parameter 'o' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:574:38: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:574:51: style: Parameter 'N_pt' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:574:81: style: Parameter 'o' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:582:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:582:49: style: Parameter 'N_pt' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:582:79: style: Parameter 'tn' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:590:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:590:49: style: Parameter 'N_pt' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:598:36: style: Parameter 'dev' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_fif.c:598:49: style: Parameter 'N_pt' can be declared as pointer to const [constParameterPointer] g2-0.72/perl/g2_wrap.c:350:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SVt_PVHV [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:467:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MGVTBL [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:551:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_device.c:45:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:572:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_device.c:128:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:593:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_device.c:192:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:617:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:642:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:663:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:680:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:698:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:715:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:732:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:749:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:765:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:785:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:809:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:825:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:845:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:869:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:888:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:911:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:930:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:948:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:964:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:980:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:996:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1013:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1032:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1054:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1076:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1098:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1122:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1148:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1170:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1192:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1220:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1254:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1286:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1314:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1340:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1364:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1389:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1414:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1440:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1468:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1498:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1532:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1563:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1590:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1619:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1640:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1666:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1718:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1744:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1770:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1796:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1820:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1845:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1871:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1897:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1923:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1947:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:1970:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/perl/g2_wrap.c:2120:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:69:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:105:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:141:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:181:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:218:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:262:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:305:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:342:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:377:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:413:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:450:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:488:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:528:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:556:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_virtual_device.c:80:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_virtual_device.c:127:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_control.c:301:16: style: Variable 'devp' can be declared as pointer to const [constVariablePointer] g2-0.72/src/g2_ui_virtual_device.c:77:26: style: Variable 'devp' can be declared as pointer to const [constVariablePointer] g2-0.72/src/g2_splines.c:129:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_splines.c:245:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_splines.c:411:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_splines.c:566:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_util.c:155:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_util.c:172:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_util.c:222:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:46:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:86:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:126:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:170:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:199:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:243:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:268:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:294:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:346:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:401:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:451:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:498:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:543:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:585:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:629:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:677:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:724:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:771:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:823:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:875:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:921:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:969:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_ui_graphic.c:1017:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] g2-0.72/src/g2_virtual_device.c:55:16: style: Variable 'vdp' can be declared as pointer to const [constVariablePointer] g2-0.72/src/g2_virtual_device.c:55:22: style: Variable 'devp' can be declared as pointer to const [constVariablePointer] g2-0.72/src/g2_util.c:46:40: style: Parameter 'pd' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_util.c:64:43: style: Parameter 'pd' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_util.c:82:40: style: Parameter 'pd' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_util.c:97:43: style: Parameter 'pd' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_util.c:112:36: style: Parameter 'pd' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_util.c:199:34: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_ui_graphic.c:165:32: style:inconclusive: Function 'g2_plot_r' argument 2 names different: declaration 'dx' definition 'rx'. [funcArgNamesDifferent] g2-0.72/src/g2.h:133:36: note: Function 'g2_plot_r' argument 2 names different: declaration 'dx' definition 'rx'. g2-0.72/src/g2_ui_graphic.c:165:32: note: Function 'g2_plot_r' argument 2 names different: declaration 'dx' definition 'rx'. g2-0.72/src/g2_ui_graphic.c:165:43: style:inconclusive: Function 'g2_plot_r' argument 3 names different: declaration 'dy' definition 'ry'. [funcArgNamesDifferent] g2-0.72/src/g2.h:133:47: note: Function 'g2_plot_r' argument 3 names different: declaration 'dy' definition 'ry'. g2-0.72/src/g2_ui_graphic.c:165:43: note: Function 'g2_plot_r' argument 3 names different: declaration 'dy' definition 'ry'. g2-0.72/src/g2_ui_graphic.c:167:16: style: Variable 'devp' can be declared as pointer to const [constVariablePointer] g2-0.72/src/g2_ui_graphic.c:240:16: style: Variable 'devp' can be declared as pointer to const [constVariablePointer] g2-0.72/src/g2_ui_graphic.c:265:16: style: Variable 'devp' can be declared as pointer to const [constVariablePointer] g2-0.72/src/g2_ui_graphic.c:1013:16: style: Variable 'devp' can be declared as pointer to const [constVariablePointer] g2-0.72/src/g2_graphic_pd.c:103:23: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_graphic_pd.c:321:21: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_graphic_pd.c:364:21: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/perl/g2_wrap.c:2136:29: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] g2-0.72/perl/g2_wrap.c:532:8: style: Redundant assignment of 'sv' to itself. [selfAssignment] g2-0.72/perl/g2_wrap.c:532:17: style: Redundant assignment of 'mg' to itself. [selfAssignment] g2-0.72/perl/g2_wrap.c:127:22: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] g2-0.72/perl/g2_wrap.c:187:24: style: Variable 'equiv' can be declared as pointer to const [constVariablePointer] g2-0.72/src/g2_splines.c:641:6: style: Redundant assignment of 'm' to itself. [selfAssignment] g2-0.72/src/g2_splines.c:764:6: style: Redundant assignment of 'm' to itself. [selfAssignment] g2-0.72/src/g2_splines.c:207:20: style:inconclusive: Function 'g2_spline' argument 1 names different: declaration 'id' definition 'dev'. [funcArgNamesDifferent] g2-0.72/src/g2.h:176:24: note: Function 'g2_spline' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:207:20: note: Function 'g2_spline' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:225:27: style:inconclusive: Function 'g2_filled_spline' argument 1 names different: declaration 'id' definition 'dev'. [funcArgNamesDifferent] g2-0.72/src/g2.h:181:31: note: Function 'g2_filled_spline' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:225:27: note: Function 'g2_filled_spline' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:308:22: style:inconclusive: Function 'g2_b_spline' argument 1 names different: declaration 'id' definition 'dev'. [funcArgNamesDifferent] g2-0.72/src/g2.h:177:26: note: Function 'g2_b_spline' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:308:22: note: Function 'g2_b_spline' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:326:29: style:inconclusive: Function 'g2_filled_b_spline' argument 1 names different: declaration 'id' definition 'dev'. [funcArgNamesDifferent] g2-0.72/src/g2.h:182:33: note: Function 'g2_filled_b_spline' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:326:29: note: Function 'g2_filled_b_spline' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:469:20: style:inconclusive: Function 'g2_raspln' argument 1 names different: declaration 'id' definition 'dev'. [funcArgNamesDifferent] g2-0.72/src/g2.h:178:24: note: Function 'g2_raspln' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:469:20: note: Function 'g2_raspln' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:495:27: style:inconclusive: Function 'g2_filled_raspln' argument 1 names different: declaration 'id' definition 'dev'. [funcArgNamesDifferent] g2-0.72/src/g2.h:183:31: note: Function 'g2_filled_raspln' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:495:27: note: Function 'g2_filled_raspln' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:717:20: style:inconclusive: Function 'g2_para_3' argument 1 names different: declaration 'id' definition 'dev'. [funcArgNamesDifferent] g2-0.72/src/g2.h:179:24: note: Function 'g2_para_3' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:717:20: note: Function 'g2_para_3' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:734:27: style:inconclusive: Function 'g2_filled_para_3' argument 1 names different: declaration 'id' definition 'dev'. [funcArgNamesDifferent] g2-0.72/src/g2.h:184:31: note: Function 'g2_filled_para_3' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:734:27: note: Function 'g2_filled_para_3' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:840:20: style:inconclusive: Function 'g2_para_5' argument 1 names different: declaration 'id' definition 'dev'. [funcArgNamesDifferent] g2-0.72/src/g2.h:180:24: note: Function 'g2_para_5' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:840:20: note: Function 'g2_para_5' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:857:27: style:inconclusive: Function 'g2_filled_para_5' argument 1 names different: declaration 'id' definition 'dev'. [funcArgNamesDifferent] g2-0.72/src/g2.h:185:31: note: Function 'g2_filled_para_5' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:857:27: note: Function 'g2_filled_para_5' argument 1 names different: declaration 'id' definition 'dev'. g2-0.72/src/g2_splines.c:207:40: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_splines.c:225:47: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_splines.c:308:42: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_splines.c:326:49: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_splines.c:469:40: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_splines.c:495:47: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_splines.c:717:40: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_splines.c:734:47: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_splines.c:840:40: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/src/g2_splines.c:857:47: style: Parameter 'points' can be declared as pointer to const [constParameterPointer] g2-0.72/perl/g2_wrap.c:532:8: style: Variable 'sv' is assigned a value that is never used. [unreadVariable] g2-0.72/perl/g2_wrap.c:532:17: style: Variable 'mg' is assigned a value that is never used. [unreadVariable] g2-0.72/src/g2_splines.c:641:6: style: Variable 'm' is assigned a value that is never used. [unreadVariable] g2-0.72/src/g2_splines.c:764:6: style: Variable 'm' is assigned a value that is never used. [unreadVariable] g2-0.72/src/X11/g2_X11.c:742:2: warning: If memory allocation fails, then there is a possible null pointer dereference: ink_array [nullPointerOutOfMemory] g2-0.72/src/X11/g2_X11.c:740:21: note: Assuming allocation function fails g2-0.72/src/X11/g2_X11.c:740:21: note: Assignment 'ink_array=malloc(sizeof(unsigned long)*width*height)', assigned value is 0 g2-0.72/src/X11/g2_X11.c:742:2: note: Null pointer dereference g2-0.72/src/X11/g2_X11.c:204:15: style: Checking if unsigned expression 'icon_width' is less than zero. [unsignedLessThanZero] g2-0.72/src/X11/g2_X11.c:204:33: style: Checking if unsigned expression 'icon_height' is less than zero. [unsignedLessThanZero] g2-0.72/src/X11/g2_X11.c:469:53: style: Parameter 'data' can be declared as pointer to const. However it seems that 'g2_X11_set_dash' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/X11/g2_X11_funix.h:33:27: note: You might need to cast the function pointer here g2-0.72/src/X11/g2_X11.c:469:53: note: Parameter 'data' can be declared as pointer to const g2-0.72/src/X11/g2_X11.c:544:54: style: Parameter 'p' can be declared as pointer to const. However it seems that 'g2_X11_poly_line' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/X11/g2_X11_funix.h:40:27: note: You might need to cast the function pointer here g2-0.72/src/X11/g2_X11.c:544:54: note: Parameter 'p' can be declared as pointer to const g2-0.72/src/X11/g2_X11.c:562:52: style: Parameter 'p' can be declared as pointer to const. However it seems that 'g2_X11_polygon' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/X11/g2_X11_funix.h:41:27: note: You might need to cast the function pointer here g2-0.72/src/X11/g2_X11.c:562:52: note: Parameter 'p' can be declared as pointer to const g2-0.72/src/X11/g2_X11.c:582:59: style: Parameter 'p' can be declared as pointer to const. However it seems that 'g2_X11_filled_polygon' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] g2-0.72/src/X11/g2_X11_funix.h:42:27: note: You might need to cast the function pointer here g2-0.72/src/X11/g2_X11.c:582:59: note: Parameter 'p' can be declared as pointer to const g2-0.72/src/X11/g2_X11.c:732:46: style: Parameter 'pen_array' can be declared as pointer to const [constParameterPointer] diff: DONE