2025-10-17 17:30 ftp://ftp.de.debian.org/debian/pool/main/libg/libgdchart-gd2/libgdchart-gd2_0.11.5.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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 -j4 platform: Linux-6.12.48+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: a4faec0 (2025-10-17 18:49:01 +0200) count: 83 83 elapsed-time: 7.6 7.7 head-timing-info: old-timing-info: head results: gdchart0.11.5dev/array_alloc.c:77:2: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] gdchart0.11.5dev/array_alloc.c:66:23: note: Assuming allocation function fails gdchart0.11.5dev/array_alloc.c:66:8: note: Assignment 'arr=(float**)malloc(nr*sizeof(float*))', assigned value is 0 gdchart0.11.5dev/array_alloc.c:77:2: note: Null pointer dereference gdchart0.11.5dev/array_alloc.c:90:3: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] gdchart0.11.5dev/array_alloc.c:66:23: note: Assuming allocation function fails gdchart0.11.5dev/array_alloc.c:66:8: note: Assignment 'arr=(float**)malloc(nr*sizeof(float*))', assigned value is 0 gdchart0.11.5dev/array_alloc.c:90:3: note: Null pointer dereference gdchart0.11.5dev/array_alloc.c:90:12: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] gdchart0.11.5dev/array_alloc.c:66:23: note: Assuming allocation function fails gdchart0.11.5dev/array_alloc.c:66:8: note: Assignment 'arr=(float**)malloc(nr*sizeof(float*))', assigned value is 0 gdchart0.11.5dev/array_alloc.c:90:12: note: Null pointer dereference gdchart0.11.5dev/array_alloc.c:120:2: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] gdchart0.11.5dev/array_alloc.c:109:22: note: Assuming allocation function fails gdchart0.11.5dev/array_alloc.c:109:8: note: Assignment 'arr=(char**)malloc(nr*sizeof(char*))', assigned value is 0 gdchart0.11.5dev/array_alloc.c:120:2: note: Null pointer dereference gdchart0.11.5dev/array_alloc.c:133:3: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] gdchart0.11.5dev/array_alloc.c:109:22: note: Assuming allocation function fails gdchart0.11.5dev/array_alloc.c:109:8: note: Assignment 'arr=(char**)malloc(nr*sizeof(char*))', assigned value is 0 gdchart0.11.5dev/array_alloc.c:133:3: note: Null pointer dereference gdchart0.11.5dev/ft_samp.c:16:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gdchart0.11.5dev/array_alloc.c:133:12: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] gdchart0.11.5dev/array_alloc.c:109:22: note: Assuming allocation function fails gdchart0.11.5dev/array_alloc.c:109:8: note: Assignment 'arr=(char**)malloc(nr*sizeof(char*))', assigned value is 0 gdchart0.11.5dev/array_alloc.c:133:12: note: Null pointer dereference gdchart0.11.5dev/ft_samp.c:68:1: portability: Omitted return type of function 'get_data' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gdchart0.11.5dev/array_alloc.c:164:2: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] gdchart0.11.5dev/array_alloc.c:153:21: note: Assuming allocation function fails gdchart0.11.5dev/array_alloc.c:153:8: note: Assignment 'arr=(int**)malloc(nr*sizeof(int*))', assigned value is 0 gdchart0.11.5dev/array_alloc.c:164:2: note: Null pointer dereference gdchart0.11.5dev/ft_samp.c:81:1: portability: Omitted return type of function 'get_individual_colors' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gdchart0.11.5dev/array_alloc.c:177:3: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] gdchart0.11.5dev/array_alloc.c:153:21: note: Assuming allocation function fails gdchart0.11.5dev/array_alloc.c:153:8: note: Assignment 'arr=(int**)malloc(nr*sizeof(int*))', assigned value is 0 gdchart0.11.5dev/array_alloc.c:177:3: note: Null pointer dereference gdchart0.11.5dev/array_alloc.c:177:12: warning: If memory allocation fails, then there is a possible null pointer dereference: arr [nullPointerOutOfMemory] gdchart0.11.5dev/array_alloc.c:153:21: note: Assuming allocation function fails gdchart0.11.5dev/array_alloc.c:153:8: note: Assignment 'arr=(int**)malloc(nr*sizeof(int*))', assigned value is 0 gdchart0.11.5dev/array_alloc.c:177:12: note: Null pointer dereference gdchart0.11.5dev/array_alloc.c:59:27: style:inconclusive: Function 'allocate_array_float' argument 1 names different: declaration 'nrs' definition 'nr'. [funcArgNamesDifferent] gdchart0.11.5dev/array_alloc.h:13:35: note: Function 'allocate_array_float' argument 1 names different: declaration 'nrs' definition 'nr'. gdchart0.11.5dev/array_alloc.c:59:27: note: Function 'allocate_array_float' argument 1 names different: declaration 'nrs' definition 'nr'. gdchart0.11.5dev/array_alloc.c:60:12: style:inconclusive: Function 'allocate_array_float' argument 2 names different: declaration 'ncs' definition 'nc'. [funcArgNamesDifferent] gdchart0.11.5dev/array_alloc.h:13:44: note: Function 'allocate_array_float' argument 2 names different: declaration 'ncs' definition 'nc'. gdchart0.11.5dev/array_alloc.c:60:12: note: Function 'allocate_array_float' argument 2 names different: declaration 'ncs' definition 'nc'. gdchart0.11.5dev/array_alloc.c:102:26: style:inconclusive: Function 'allocate_array_char' argument 1 names different: declaration 'nrs' definition 'nr'. [funcArgNamesDifferent] gdchart0.11.5dev/array_alloc.h:14:33: note: Function 'allocate_array_char' argument 1 names different: declaration 'nrs' definition 'nr'. gdchart0.11.5dev/array_alloc.c:102:26: note: Function 'allocate_array_char' argument 1 names different: declaration 'nrs' definition 'nr'. gdchart0.11.5dev/array_alloc.c:103:11: style:inconclusive: Function 'allocate_array_char' argument 2 names different: declaration 'ncs' definition 'nc'. [funcArgNamesDifferent] gdchart0.11.5dev/array_alloc.h:14:42: note: Function 'allocate_array_char' argument 2 names different: declaration 'ncs' definition 'nc'. gdchart0.11.5dev/array_alloc.c:103:11: note: Function 'allocate_array_char' argument 2 names different: declaration 'ncs' definition 'nc'. gdchart0.11.5dev/array_alloc.c:145:25: style:inconclusive: Function 'allocate_array_int' argument 1 names different: declaration 'nrs' definition 'nr'. [funcArgNamesDifferent] gdchart0.11.5dev/array_alloc.h:15:32: note: Function 'allocate_array_int' argument 1 names different: declaration 'nrs' definition 'nr'. gdchart0.11.5dev/array_alloc.c:145:25: note: Function 'allocate_array_int' argument 1 names different: declaration 'nrs' definition 'nr'. gdchart0.11.5dev/array_alloc.c:146:10: style:inconclusive: Function 'allocate_array_int' argument 2 names different: declaration 'ncs' definition 'nc'. [funcArgNamesDifferent] gdchart0.11.5dev/array_alloc.h:15:41: note: Function 'allocate_array_int' argument 2 names different: declaration 'ncs' definition 'nc'. gdchart0.11.5dev/array_alloc.c:146:10: note: Function 'allocate_array_int' argument 2 names different: declaration 'ncs' definition 'nc'. gdchart0.11.5dev/ft_samp.c:29:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDC_title_font [valueFlowBailoutIncompleteVar] gdchart0.11.5dev/ft_samp.c:77:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_MAX [valueFlowBailoutIncompleteVar] gdchart0.11.5dev/gdc.c:25:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdFontTiny [valueFlowBailoutIncompleteVar] gdchart0.11.5dev/gdc.c:283:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gdFontMediumBold [valueFlowBailoutIncompleteVar] gdchart0.11.5dev/gdc_pie_samp.c:13:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gdchart0.11.5dev/gdc_pie_samp.c:75:10: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] gdchart0.11.5dev/gdc_pie_samp.c:32:19: note: Assuming allocation function fails gdchart0.11.5dev/gdc_pie_samp.c:32:19: note: Assignment 'fp=fopen("pie.png","wb")', assigned value is 0 gdchart0.11.5dev/gdc_pie_samp.c:75:10: note: Null pointer dereference gdchart0.11.5dev/gdc_samp1.c:17:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gdchart0.11.5dev/gdc_samp2.c:22:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] gdchart0.11.5dev/gdc.c:158:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: sub_str [nullPointerOutOfMemory] gdchart0.11.5dev/gdc.c:149:2: note: Assuming allocation function fails gdchart0.11.5dev/gdc.c:149:2: note: Assignment 'sub_str=(unsigned char*)malloc((max_len+1)*sizeof(unsigned char))', assigned value is 0 gdchart0.11.5dev/gdc.c:158:3: note: Null pointer dereference gdchart0.11.5dev/gdc.c:152:11: style: Redundant initialization for 'strs_num'. The initialized value is overwritten before it is read. [redundantInitialization] gdchart0.11.5dev/gdc.c:148:19: note: strs_num is initialized gdchart0.11.5dev/gdc.c:152:11: note: strs_num is overwritten gdchart0.11.5dev/gdc.c:265:12: style:inconclusive: Function 'out_err' argument 6 names different: declaration 'str' definition 'err_str'. [funcArgNamesDifferent] gdchart0.11.5dev/gdc.h:156:14: note: Function 'out_err' argument 6 names different: declaration 'str' definition 'err_str'. gdchart0.11.5dev/gdc.c:265:12: note: Function 'out_err' argument 6 names different: declaration 'str' definition 'err_str'. gdchart0.11.5dev/gdc.c:37:15: style: Parameter 'nstr' can be declared as pointer to const [constParameterPointer] gdchart0.11.5dev/gdc_samp2.c:25:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] gdchart0.11.5dev/gdc_samp2.c:86:10: warning: If resource allocation fails, then there is a possible null pointer dereference: outpng1 [nullPointerOutOfResources] gdchart0.11.5dev/gdc_samp2.c:45:26: note: Assuming allocation function fails gdchart0.11.5dev/gdc_samp2.c:45:26: note: Assignment 'outpng1=fopen("g2.png","wb")', assigned value is 0 gdchart0.11.5dev/gdc_samp2.c:86:10: note: Null pointer dereference gdchart0.11.5dev/price_conv.c:29:12: style: Parameter 'fltfmt' can be declared as pointer to const [constParameterPointer] gdchart0.11.5dev/gdc_pie.c:197:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable h [valueFlowBailoutIncompleteVar] gdchart0.11.5dev/gdchart.c:93:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] gdchart0.11.5dev/gdchart.c:141:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] gdchart0.11.5dev/gdchart.c:217:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] gdchart0.11.5dev/gdchart.c:248:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] gdchart0.11.5dev/gdchart.c:388:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX [valueFlowBailoutIncompleteVar] gdchart0.11.5dev/gdchart.c:710:24: style: Redundant condition: GDC_xlabel_ctl. '!GDC_xlabel_ctl || (GDC_xlabel_ctl && GDC_xlabel_ctl[i])' is equivalent to '!GDC_xlabel_ctl || GDC_xlabel_ctl[i]' [redundantCondition] gdchart0.11.5dev/gdchart.c:76:3: warning: If memory allocation fails, then there is a possible null pointer dereference: slope [nullPointerOutOfMemory] gdchart0.11.5dev/gdchart.c:64:2: note: Assuming allocation function fails gdchart0.11.5dev/gdchart.c:64:2: note: Assignment 'slope=(float*)malloc((num_sets)*sizeof(float))', assigned value is 0 gdchart0.11.5dev/gdchart.c:76:3: note: Null pointer dereference gdchart0.11.5dev/gdchart.c:83:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ypts [nullPointerOutOfMemory] gdchart0.11.5dev/gdchart.c:67:2: note: Assuming allocation function fails gdchart0.11.5dev/gdchart.c:67:2: note: Assignment 'ypts=(struct YS*)malloc((num_sets)*sizeof(struct YS))', assigned value is 0 gdchart0.11.5dev/gdchart.c:83:4: note: Null pointer dereference gdchart0.11.5dev/gdchart.c:83:20: warning: If memory allocation fails, then there is a possible null pointer dereference: slope [nullPointerOutOfMemory] gdchart0.11.5dev/gdchart.c:64:2: note: Assuming allocation function fails gdchart0.11.5dev/gdchart.c:64:2: note: Assignment 'slope=(float*)malloc((num_sets)*sizeof(float))', assigned value is 0 gdchart0.11.5dev/gdchart.c:83:20: note: Null pointer dereference gdchart0.11.5dev/gdchart.c:84:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ypts [nullPointerOutOfMemory] gdchart0.11.5dev/gdchart.c:67:2: note: Assuming allocation function fails gdchart0.11.5dev/gdchart.c:67:2: note: Assignment 'ypts=(struct YS*)malloc((num_sets)*sizeof(struct YS))', assigned value is 0 gdchart0.11.5dev/gdchart.c:84:4: note: Null pointer dereference gdchart0.11.5dev/gdchart.c:84:20: warning: If memory allocation fails, then there is a possible null pointer dereference: slope [nullPointerOutOfMemory] gdchart0.11.5dev/gdchart.c:64:2: note: Assuming allocation function fails gdchart0.11.5dev/gdchart.c:64:2: note: Assignment 'slope=(float*)malloc((num_sets)*sizeof(float))', assigned value is 0 gdchart0.11.5dev/gdchart.c:84:20: note: Null pointer dereference gdchart0.11.5dev/gdchart.c:85:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ypts [nullPointerOutOfMemory] gdchart0.11.5dev/gdchart.c:67:2: note: Assuming allocation function fails gdchart0.11.5dev/gdchart.c:67:2: note: Assignment 'ypts=(struct YS*)malloc((num_sets)*sizeof(struct YS))', assigned value is 0 gdchart0.11.5dev/gdchart.c:85:4: note: Null pointer dereference gdchart0.11.5dev/gdchart.c:86:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ypts [nullPointerOutOfMemory] gdchart0.11.5dev/gdchart.c:67:2: note: Assuming allocation function fails gdchart0.11.5dev/gdchart.c:67:2: note: Assignment 'ypts=(struct YS*)malloc((num_sets)*sizeof(struct YS))', assigned value is 0 gdchart0.11.5dev/gdchart.c:86:4: note: Null pointer dereference gdchart0.11.5dev/gdchart.c:87:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ypts [nullPointerOutOfMemory] gdchart0.11.5dev/gdchart.c:67:2: note: Assuming allocation function fails gdchart0.11.5dev/gdchart.c:67:2: note: Assignment 'ypts=(struct YS*)malloc((num_sets)*sizeof(struct YS))', assigned value is 0 gdchart0.11.5dev/gdchart.c:87:4: note: Null pointer dereference gdchart0.11.5dev/gdchart.c:87:20: warning: If memory allocation fails, then there is a possible null pointer dereference: slope [nullPointerOutOfMemory] gdchart0.11.5dev/gdchart.c:64:2: note: Assuming allocation function fails gdchart0.11.5dev/gdchart.c:64:2: note: Assignment 'slope=(float*)malloc((num_sets)*sizeof(float))', assigned value is 0 gdchart0.11.5dev/gdchart.c:87:20: note: Null pointer dereference gdchart0.11.5dev/gdchart.c:89:10: warning: If memory allocation fails, then there is a possible null pointer dereference: ypts [nullPointerOutOfMemory] gdchart0.11.5dev/gdchart.c:67:2: note: Assuming allocation function fails gdchart0.11.5dev/gdchart.c:67:2: note: Assignment 'ypts=(struct YS*)malloc((num_sets)*sizeof(struct YS))', assigned value is 0 gdchart0.11.5dev/gdchart.c:89:10: note: Null pointer dereference gdchart0.11.5dev/gdchart.c:93:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ypts [nullPointerOutOfMemory] gdchart0.11.5dev/gdchart.c:67:2: note: Assuming allocation function fails gdchart0.11.5dev/gdchart.c:67:2: note: Assignment 'ypts=(struct YS*)malloc((num_sets)*sizeof(struct YS))', assigned value is 0 gdchart0.11.5dev/gdchart.c:93:4: note: Null pointer dereference gdchart0.11.5dev/gdchart.c:95:12: warning: If memory allocation fails, then there is a possible null pointer dereference: ypts [nullPointerOutOfMemory] gdchart0.11.5dev/gdchart.c:67:2: note: Assuming allocation function fails gdchart0.11.5dev/gdchart.c:67:2: note: Assignment 'ypts=(struct YS*)malloc((num_sets)*sizeof(struct YS))', assigned value is 0 gdchart0.11.5dev/gdchart.c:95:12: note: Null pointer dereference gdchart0.11.5dev/gdchart.c:344:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] gdchart0.11.5dev/gdchart.c:335:2: note: Assuming allocation function fails gdchart0.11.5dev/gdchart.c:335:2: note: Assignment 'data=(float*)malloc((num_arrays*num_points)*sizeof(float))', assigned value is 0 gdchart0.11.5dev/gdchart.c:344:15: note: Null pointer addition gdchart0.11.5dev/gdchart.c:437:2: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] gdchart0.11.5dev/gdchart.c:301:19: style:inconclusive: Function 'out_graph' argument 1 names different: declaration 'imgwidth' definition 'IMGWIDTH'. [funcArgNamesDifferent] gdchart0.11.5dev/gdchart.h:210:23: note: Function 'out_graph' argument 1 names different: declaration 'imgwidth' definition 'IMGWIDTH'. gdchart0.11.5dev/gdchart.c:301:19: note: Function 'out_graph' argument 1 names different: declaration 'imgwidth' definition 'IMGWIDTH'. gdchart0.11.5dev/gdchart.c:302:13: style:inconclusive: Function 'out_graph' argument 2 names different: declaration 'imgheight' definition 'IMGHEIGHT'. [funcArgNamesDifferent] gdchart0.11.5dev/gdchart.h:211:14: note: Function 'out_graph' argument 2 names different: declaration 'imgheight' definition 'IMGHEIGHT'. gdchart0.11.5dev/gdchart.c:302:13: note: Function 'out_graph' argument 2 names different: declaration 'imgheight' definition 'IMGHEIGHT'. gdchart0.11.5dev/gdchart.c:1376:11: style: Local variable 'k' shadows outer variable [shadowVariable] gdchart0.11.5dev/gdchart.c:377:14: note: Shadowed declaration gdchart0.11.5dev/gdchart.c:1376:11: note: Shadow variable gdchart0.11.5dev/gdchart.c:1391:11: style: Local variable 'k' shadows outer variable [shadowVariable] gdchart0.11.5dev/gdchart.c:377:14: note: Shadowed declaration gdchart0.11.5dev/gdchart.c:1391:11: note: Shadow variable gdchart0.11.5dev/gdchart.c:1495:11: style: Local variable 'j' shadows outer variable [shadowVariable] gdchart0.11.5dev/gdchart.c:377:11: note: Shadowed declaration gdchart0.11.5dev/gdchart.c:1495:11: note: Shadow variable gdchart0.11.5dev/gdchart.c:1513:12: style: Local variable 'k' shadows outer variable [shadowVariable] gdchart0.11.5dev/gdchart.c:377:14: note: Shadowed declaration gdchart0.11.5dev/gdchart.c:1513:12: note: Shadow variable gdchart0.11.5dev/gdchart.c:1711:10: style: Local variable 'j' shadows outer variable [shadowVariable] gdchart0.11.5dev/gdchart.c:377:11: note: Shadowed declaration gdchart0.11.5dev/gdchart.c:1711:10: note: Shadow variable gdchart0.11.5dev/gdchart.c:1495:13: style: Variable 'j' is assigned a value that is never used. [unreadVariable] gdchart0.11.5dev/gdchart.c:377:14: style: Unused variable: k [unusedVariable] gdchart0.11.5dev/gdchart.c:463:5: style: Unused variable: ThumbDColor [unusedVariable] gdchart0.11.5dev/gdchart.c:464:5: style: Unused variable: ThumbLblColor [unusedVariable] gdchart0.11.5dev/gdchart.c:465:5: style: Unused variable: ThumbUColor [unusedVariable] gdchart0.11.5dev/gdc_pie.c:265:16: style: Variable 'lbl_wdth' is reassigned a value before the old one has been used. [redundantAssignment] gdchart0.11.5dev/gdc_pie.c:252:15: note: lbl_wdth is assigned gdchart0.11.5dev/gdc_pie.c:265:16: note: lbl_wdth is overwritten gdchart0.11.5dev/gdc_pie.c:266:16: style: Variable 'lbl_hgt' is reassigned a value before the old one has been used. [redundantAssignment] gdchart0.11.5dev/gdc_pie.c:253:15: note: lbl_hgt is assigned gdchart0.11.5dev/gdc_pie.c:266:16: note: lbl_hgt is overwritten gdchart0.11.5dev/gdc_pie.c:115:22: style:inconclusive: Function 'GDC_out_pie' argument 1 names different: declaration 'width' definition 'IMGWIDTH'. [funcArgNamesDifferent] gdchart0.11.5dev/gdcpie.h:77:27: note: Function 'GDC_out_pie' argument 1 names different: declaration 'width' definition 'IMGWIDTH'. gdchart0.11.5dev/gdc_pie.c:115:22: note: Function 'GDC_out_pie' argument 1 names different: declaration 'width' definition 'IMGWIDTH'. gdchart0.11.5dev/gdc_pie.c:116:13: style:inconclusive: Function 'GDC_out_pie' argument 2 names different: declaration 'height' definition 'IMGHEIGHT'. [funcArgNamesDifferent] gdchart0.11.5dev/gdcpie.h:78:15: note: Function 'GDC_out_pie' argument 2 names different: declaration 'height' definition 'IMGHEIGHT'. gdchart0.11.5dev/gdc_pie.c:116:13: note: Function 'GDC_out_pie' argument 2 names different: declaration 'height' definition 'IMGHEIGHT'. gdchart0.11.5dev/gdc_pie.c:120:13: style:inconclusive: Function 'GDC_out_pie' argument 6 names different: declaration 'labels' definition 'lbl'. [funcArgNamesDifferent] gdchart0.11.5dev/gdcpie.h:82:15: note: Function 'GDC_out_pie' argument 6 names different: declaration 'labels' definition 'lbl'. gdchart0.11.5dev/gdc_pie.c:120:13: note: Function 'GDC_out_pie' argument 6 names different: declaration 'labels' definition 'lbl'. gdchart0.11.5dev/gdc_pie.c:121:13: style:inconclusive: Function 'GDC_out_pie' argument 7 names different: declaration 'data' definition 'val'. [funcArgNamesDifferent] gdchart0.11.5dev/gdcpie.h:83:15: note: Function 'GDC_out_pie' argument 7 names different: declaration 'data' definition 'val'. gdchart0.11.5dev/gdc_pie.c:121:13: note: Function 'GDC_out_pie' argument 7 names different: declaration 'data' definition 'val'. gdchart0.11.5dev/gdc_pie.c:433:12: style: Local variable 'rad' shadows outer variable [shadowVariable] gdchart0.11.5dev/gdc_pie.c:134:9: note: Shadowed declaration gdchart0.11.5dev/gdc_pie.c:433:12: note: Shadow variable gdchart0.11.5dev/gdc_pie.c:555:10: style: Local variable 'rad' shadows outer variable [shadowVariable] gdchart0.11.5dev/gdc_pie.c:134:9: note: Shadowed declaration gdchart0.11.5dev/gdc_pie.c:555:10: note: Shadow variable gdchart0.11.5dev/gdc_pie.c:660:12: style: Local variable 'rad' shadows outer variable [shadowVariable] gdchart0.11.5dev/gdc_pie.c:134:9: note: Shadowed declaration gdchart0.11.5dev/gdc_pie.c:660:12: note: Shadow variable gdchart0.11.5dev/gdc_pie.c:121:13: style: Parameter 'val' can be declared as const array [constParameter] gdchart0.11.5dev/gdc_pie.c:202:28: style: Variable 'label_explode_limit' is assigned a value that is never used. [unreadVariable] gdchart0.11.5dev/gdc_pie.c:146:9: style: Variable 'num_slices1' is assigned a value that is never used. [unreadVariable] gdchart0.11.5dev/gdc_pie.c:147:5: style: Variable 'num_slices2' is assigned a value that is never used. [unreadVariable] gdchart0.11.5dev/gdc_pie.c:148:8: style: Variable 'any_too_small' is assigned a value that is never used. [unreadVariable] gdchart0.11.5dev/gdc_pie.c:156:8: style: Variable 'do3Dx' is assigned a value that is never used. [unreadVariable] gdchart0.11.5dev/gdc_pie.c:157:5: style: Variable 'do3Dy' is assigned a value that is never used. [unreadVariable] gdchart0.11.5dev/gdc_pie.c:202:8: style: Variable 'label_explode_limit' is assigned a value that is never used. [unreadVariable] diff: DONE