2026-05-05 22:02 ftp://ftp.de.debian.org/debian/pool/main/x/xfig/xfig_3.2.9a.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.12.85+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.70 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.20.0 head-info: 6278f6b (2026-05-05 15:01:04 +0200) count: 1199 1129 elapsed-time: 38.3 31.9 head-timing-info: old-timing-info: head results: xfig-3.2.9a/lib/strstr.c:24:30: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/d_arc.c:75:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/d_arc.c:137:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/d_arc.c:157:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/d_arc.c:319:38: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] xfig-3.2.9a/src/d_spline.c:171:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/d_subspline.c:138:22: style: Condition 'prev2==prev1' is always true [knownConditionTrueFalse] xfig-3.2.9a/src/d_subspline.c:128:40: note: Assuming that condition 'prev2==prev1' is not redundant xfig-3.2.9a/src/d_subspline.c:138:22: note: Condition 'prev2==prev1' is always true xfig-3.2.9a/src/d_subspline.c:104:23: style: Local variable 'last_point' shadows outer function [shadowFunction] xfig-3.2.9a/src/u_list.h:49:17: note: Shadowed declaration xfig-3.2.9a/src/d_subspline.c:104:23: note: Shadow variable xfig-3.2.9a/src/d_subspline.c:106:31: style: Local variable 'last_sfactor' shadows outer function [shadowFunction] xfig-3.2.9a/src/u_list.h:50:17: note: Shadowed declaration xfig-3.2.9a/src/d_subspline.c:106:31: note: Shadow variable xfig-3.2.9a/src/d_subspline.c:106:14: style: Variable 'sfactor_cursor' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/d_text.c:826:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_Left [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/d_text.c:1189:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNAreaNeeded [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/d_text.c:1198:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNArea [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/d_text.c:1212:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/d_text.c:1252:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPreeditPosition [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/d_text.c:1364:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPreeditPosition [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/d_text.c:1430:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/d_text.c:1462:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/d_text.c:1358:18: style:inconclusive: Function 'xim_set_spot' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/d_text.c:1358:25: style:inconclusive: Function 'xim_set_spot' argument 2 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/d_text.c:1404:24: style:inconclusive: Function 'close_preedit_proc' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/d_text.c:1404:31: style:inconclusive: Function 'close_preedit_proc' argument 2 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/d_text.c:1418:23: style:inconclusive: Function 'open_preedit_proc' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/d_text.c:1418:30: style:inconclusive: Function 'open_preedit_proc' argument 2 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/d_text.c:1454:24: style:inconclusive: Function 'paste_preedit_proc' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/d_text.c:1454:31: style:inconclusive: Function 'paste_preedit_proc' argument 2 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/d_text.c:583:25: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/d_text.c:727:31: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/d_text.c:740:29: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/d_text.c:807:29: style: Parameter 'c' can be declared as pointer to const. However it seems that 'char_handler' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/d_text.c:465:32: note: You might need to cast the function pointer here xfig-3.2.9a/src/d_text.c:807:29: note: Parameter 'c' can be declared as pointer to const xfig-3.2.9a/src/d_text.c:1320:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_addpt.c:202:90: style: Parameter 'right_point' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/e_chop.c:126:5: error: Common realloc mistake: 'axe_objects' nulled but not freed upon failure [memleakOnRealloc] xfig-3.2.9a/src/e_chop.c:643:7: warning: If memory allocation fails, then there is a possible null pointer dereference: s_points [nullPointerOutOfMemory] xfig-3.2.9a/src/e_chop.c:615:22: note: Assuming allocation function fails xfig-3.2.9a/src/e_chop.c:615:22: note: Assignment 's_points=malloc(isect_cb.nr_isects*sizeof(struct s_point_s))', assigned value is 0 xfig-3.2.9a/src/e_chop.c:643:7: note: Null pointer dereference xfig-3.2.9a/src/e_chop.c:644:7: warning: If memory allocation fails, then there is a possible null pointer dereference: s_points [nullPointerOutOfMemory] xfig-3.2.9a/src/e_chop.c:615:22: note: Assuming allocation function fails xfig-3.2.9a/src/e_chop.c:615:22: note: Assignment 's_points=malloc(isect_cb.nr_isects*sizeof(struct s_point_s))', assigned value is 0 xfig-3.2.9a/src/e_chop.c:644:7: note: Null pointer dereference xfig-3.2.9a/src/e_chop.c:646:7: warning: If memory allocation fails, then there is a possible null pointer dereference: s_points [nullPointerOutOfMemory] xfig-3.2.9a/src/e_chop.c:615:22: note: Assuming allocation function fails xfig-3.2.9a/src/e_chop.c:615:22: note: Assignment 's_points=malloc(isect_cb.nr_isects*sizeof(struct s_point_s))', assigned value is 0 xfig-3.2.9a/src/e_chop.c:646:7: note: Null pointer dereference xfig-3.2.9a/src/e_chop.c:650:11: warning: If memory allocation fails, then there is a possible null pointer dereference: s_points [nullPointerOutOfMemory] xfig-3.2.9a/src/e_chop.c:615:22: note: Assuming allocation function fails xfig-3.2.9a/src/e_chop.c:615:22: note: Assignment 's_points=malloc(isect_cb.nr_isects*sizeof(struct s_point_s))', assigned value is 0 xfig-3.2.9a/src/e_chop.c:650:11: note: Null pointer dereference xfig-3.2.9a/src/e_chop.c:746:7: warning: If memory allocation fails, then there is a possible null pointer dereference: s_points [nullPointerOutOfMemory] xfig-3.2.9a/src/e_chop.c:744:22: note: Assuming allocation function fails xfig-3.2.9a/src/e_chop.c:744:22: note: Assignment 's_points=malloc((isect_cb.nr_isects+1)*sizeof(struct s_point_s))', assigned value is 0 xfig-3.2.9a/src/e_chop.c:746:7: note: Null pointer dereference xfig-3.2.9a/src/e_chop.c:747:7: warning: If memory allocation fails, then there is a possible null pointer dereference: s_points [nullPointerOutOfMemory] xfig-3.2.9a/src/e_chop.c:744:22: note: Assuming allocation function fails xfig-3.2.9a/src/e_chop.c:744:22: note: Assignment 's_points=malloc((isect_cb.nr_isects+1)*sizeof(struct s_point_s))', assigned value is 0 xfig-3.2.9a/src/e_chop.c:747:7: note: Null pointer dereference xfig-3.2.9a/src/e_chop.c:748:7: warning: If memory allocation fails, then there is a possible null pointer dereference: s_points [nullPointerOutOfMemory] xfig-3.2.9a/src/e_chop.c:744:22: note: Assuming allocation function fails xfig-3.2.9a/src/e_chop.c:744:22: note: Assignment 's_points=malloc((isect_cb.nr_isects+1)*sizeof(struct s_point_s))', assigned value is 0 xfig-3.2.9a/src/e_chop.c:748:7: note: Null pointer dereference xfig-3.2.9a/src/e_chop.c:751:11: warning: If memory allocation fails, then there is a possible null pointer dereference: s_points [nullPointerOutOfMemory] xfig-3.2.9a/src/e_chop.c:744:22: note: Assuming allocation function fails xfig-3.2.9a/src/e_chop.c:744:22: note: Assignment 's_points=malloc((isect_cb.nr_isects+1)*sizeof(struct s_point_s))', assigned value is 0 xfig-3.2.9a/src/e_chop.c:751:11: note: Null pointer dereference xfig-3.2.9a/src/e_chop.c:110:25: style:inconclusive: Function 'select_axe_object' argument 1 names different: declaration '' definition 'obj'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:110:34: style:inconclusive: Function 'select_axe_object' argument 2 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:110:44: style:inconclusive: Function 'select_axe_object' argument 3 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:110:51: style:inconclusive: Function 'select_axe_object' argument 4 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:110:63: style:inconclusive: Function 'select_axe_object' argument 5 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:110:76: style:inconclusive: Function 'select_axe_object' argument 6 names different: declaration '' definition 'q'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:134:25: style:inconclusive: Function 'clear_axe_objects' argument 1 names different: declaration '' definition 'obj'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:134:34: style:inconclusive: Function 'clear_axe_objects' argument 2 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:134:44: style:inconclusive: Function 'clear_axe_objects' argument 3 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:134:51: style:inconclusive: Function 'clear_axe_objects' argument 4 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:134:63: style:inconclusive: Function 'clear_axe_objects' argument 5 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:134:76: style:inconclusive: Function 'clear_axe_objects' argument 6 names different: declaration '' definition 'q'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:829:25: style:inconclusive: Function 'select_log_object' argument 1 names different: declaration '' definition 'obj'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:829:34: style:inconclusive: Function 'select_log_object' argument 2 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:829:44: style:inconclusive: Function 'select_log_object' argument 3 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:829:51: style:inconclusive: Function 'select_log_object' argument 4 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:829:63: style:inconclusive: Function 'select_log_object' argument 5 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:829:75: style:inconclusive: Function 'select_log_object' argument 6 names different: declaration '' definition 'q'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_chop.c:197:20: style: Local variable 'prev_point' shadows outer function [shadowFunction] xfig-3.2.9a/src/u_list.h:66:17: note: Shadowed declaration xfig-3.2.9a/src/e_chop.c:197:20: note: Shadow variable xfig-3.2.9a/src/e_chop.c:234:7: style: Local variable 'last_x' shadows outer variable [shadowVariable] xfig-3.2.9a/src/w_canvas.h:57:12: note: Shadowed declaration xfig-3.2.9a/src/e_chop.c:234:7: note: Shadow variable xfig-3.2.9a/src/e_chop.c:235:7: style: Local variable 'last_y' shadows outer variable [shadowVariable] xfig-3.2.9a/src/w_canvas.h:57:20: note: Shadowed declaration xfig-3.2.9a/src/e_chop.c:235:7: note: Shadow variable xfig-3.2.9a/src/e_chop.c:340:7: style: Local variable 'last_x' shadows outer variable [shadowVariable] xfig-3.2.9a/src/w_canvas.h:57:12: note: Shadowed declaration xfig-3.2.9a/src/e_chop.c:340:7: note: Shadow variable xfig-3.2.9a/src/e_chop.c:341:7: style: Local variable 'last_y' shadows outer variable [shadowVariable] xfig-3.2.9a/src/w_canvas.h:57:20: note: Shadowed declaration xfig-3.2.9a/src/e_chop.c:341:7: note: Shadow variable xfig-3.2.9a/src/e_chop.c:144:18: style: Parameter 'a' can be declared as pointer to const. However it seems that 'point_sort_fcn' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/e_chop.c:751:60: note: You might need to cast the function pointer here xfig-3.2.9a/src/e_chop.c:144:18: note: Parameter 'a' can be declared as pointer to const xfig-3.2.9a/src/e_chop.c:145:18: style: Parameter 'b' can be declared as pointer to const. However it seems that 'point_sort_fcn' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/e_chop.c:751:60: note: You might need to cast the function pointer here xfig-3.2.9a/src/e_chop.c:145:18: note: Parameter 'b' can be declared as pointer to const xfig-3.2.9a/src/e_chop.c:153:18: style: Parameter 'a' can be declared as pointer to const. However it seems that 'point_sort_reverse_fcn' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/e_chop.c:651:26: note: You might need to cast the function pointer here xfig-3.2.9a/src/e_chop.c:153:18: note: Parameter 'a' can be declared as pointer to const xfig-3.2.9a/src/e_chop.c:154:18: style: Parameter 'b' can be declared as pointer to const. However it seems that 'point_sort_reverse_fcn' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/e_chop.c:651:26: note: You might need to cast the function pointer here xfig-3.2.9a/src/e_chop.c:154:18: note: Parameter 'b' can be declared as pointer to const xfig-3.2.9a/src/e_chop.c:162:85: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/e_chop.c:477:24: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_compound.c:257:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNallowShellResize [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_convert.c:122:16: style: Local variable 'new_l' shadows outer variable [shadowVariable] xfig-3.2.9a/src/object.h:509:24: note: Shadowed declaration xfig-3.2.9a/src/e_convert.c:122:16: note: Shadow variable xfig-3.2.9a/src/e_convert.c:340:14: style: Local variable 'last_sfactor' shadows outer function [shadowFunction] xfig-3.2.9a/src/u_list.h:50:17: note: Shadowed declaration xfig-3.2.9a/src/e_convert.c:340:14: note: Shadow variable xfig-3.2.9a/src/e_convert.c:221:21: style: Variable 'tmppoint' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_copy.c:147:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_delete.c:188:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_delete.c:251:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWRITE [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:766:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtitle [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:910:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:991:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNonexclusive [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:1044:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:1093:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:1127:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:1170:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:1256:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:1409:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:1778:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:2221:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:2488:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:2749:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:2878:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNborderWidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:3328:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtitle [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:3823:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4018:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4097:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4117:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FillOpaqueStippled [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4224:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4252:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4284:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4326:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4335:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4397:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4443:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4473:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4502:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4531:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4582:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4666:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4751:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:4851:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:5003:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:5095:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:5160:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:5182:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:5209:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:5223:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:5237:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:5255:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:5274:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:5345:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:5444:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:5887:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:5935:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/e_edit.c:5870:17: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xfig-3.2.9a/src/e_edit.c:5872:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xfig-3.2.9a/src/e_edit.c:921:9: style: Condition 'x<0' is always false [knownConditionTrueFalse] xfig-3.2.9a/src/e_edit.c:919:19: note: Assignment 'x=rootlx-10-w', assigned value is greater than -1 xfig-3.2.9a/src/e_edit.c:921:9: note: Condition 'x<0' is always false xfig-3.2.9a/src/e_edit.c:1970:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xfig-3.2.9a/src/e_edit.c:2319:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xfig-3.2.9a/src/e_edit.c:3317:39: style:inconclusive: Function 'generic_window' argument 5 names different: declaration '' definition 'generics'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_edit.c:3317:57: style:inconclusive: Function 'generic_window' argument 6 names different: declaration '' definition 'arrows'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_edit.c:3318:9: style:inconclusive: Function 'generic_window' argument 7 names different: declaration '' definition 'comments'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/e_edit.c:5311:38: style:inconclusive: Function 'pen_color_select' argument 2 names different: declaration 'new_color' definition 'client_data'. [funcArgNamesDifferent] xfig-3.2.9a/src/e_edit.c:152:50: note: Function 'pen_color_select' argument 2 names different: declaration 'new_color' definition 'client_data'. xfig-3.2.9a/src/e_edit.c:5311:38: note: Function 'pen_color_select' argument 2 names different: declaration 'new_color' definition 'client_data'. xfig-3.2.9a/src/e_edit.c:726:10: style: Local variable 'form' shadows outer variable [shadowVariable] xfig-3.2.9a/src/e_edit.c:206:22: note: Shadowed declaration xfig-3.2.9a/src/e_edit.c:726:10: note: Shadow variable xfig-3.2.9a/src/e_edit.c:727:17: style: Local variable 'actions_added' shadows outer variable [shadowVariable] xfig-3.2.9a/src/e_edit.c:343:16: note: Shadowed declaration xfig-3.2.9a/src/e_edit.c:727:17: note: Shadow variable xfig-3.2.9a/src/e_edit.c:4846:8: style: Local variable 'buf' shadows outer variable [shadowVariable] xfig-3.2.9a/src/e_edit.c:274:13: note: Shadowed declaration xfig-3.2.9a/src/e_edit.c:4846:8: note: Shadow variable xfig-3.2.9a/src/e_edit.c:4848:22: style: Local variable 'beside' shadows outer variable [shadowVariable] xfig-3.2.9a/src/e_edit.c:207:22: note: Shadowed declaration xfig-3.2.9a/src/e_edit.c:4848:22: note: Shadow variable xfig-3.2.9a/src/e_edit.c:5086:8: style: Local variable 'buf' shadows outer variable [shadowVariable] xfig-3.2.9a/src/e_edit.c:274:13: note: Shadowed declaration xfig-3.2.9a/src/e_edit.c:5086:8: note: Shadow variable xfig-3.2.9a/src/e_edit.c:5152:7: style: Local variable 'buf' shadows outer variable [shadowVariable] xfig-3.2.9a/src/e_edit.c:274:13: note: Shadowed declaration xfig-3.2.9a/src/e_edit.c:5152:7: note: Shadow variable xfig-3.2.9a/src/e_edit.c:972:12: style: Parameter 'previous_point' can be declared as pointer to const. However it seems that 'edit_spline_point' is a callback function, if 'previous_point' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/e_edit.c:693:24: note: You might need to cast the function pointer here xfig-3.2.9a/src/e_edit.c:972:12: note: Parameter 'previous_point' can be declared as pointer to const xfig-3.2.9a/src/e_edit.c:972:37: style: Parameter 'the_point' can be declared as pointer to const. However it seems that 'edit_spline_point' is a callback function, if 'the_point' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/e_edit.c:693:24: note: You might need to cast the function pointer here xfig-3.2.9a/src/e_edit.c:972:37: note: Parameter 'the_point' can be declared as pointer to const xfig-3.2.9a/src/e_edit.c:3151:8: style: Variable 'val' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_edit.c:3316:22: style: Parameter 'object_type' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/e_edit.c:4011:8: style: Variable 'sval' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_edit.c:4746:21: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/e_edit.c:4845:18: style: Variable 'pts' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_edit.c:5136:8: style: Variable 'str' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_edit.c:5567:8: style: Variable 'sval' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_edit.c:5649:38: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/e_edit.c:5660:37: style: Parameter 'length' can be declared as pointer to const. However it seems that 'get_clipboard' is a callback function, if 'length' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/e_edit.c:5654:48: note: You might need to cast the function pointer here xfig-3.2.9a/src/e_edit.c:5660:37: note: Parameter 'length' can be declared as pointer to const xfig-3.2.9a/src/e_edit.c:5668:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_flip.c:196:15: style: Local variable 'new_a' shadows outer variable [shadowVariable] xfig-3.2.9a/src/object.h:510:23: note: Shadowed declaration xfig-3.2.9a/src/e_flip.c:196:15: note: Shadow variable xfig-3.2.9a/src/e_flip.c:218:20: style: Local variable 'new_c' shadows outer variable [shadowVariable] xfig-3.2.9a/src/object.h:514:28: note: Shadowed declaration xfig-3.2.9a/src/e_flip.c:218:20: note: Shadow variable xfig-3.2.9a/src/e_flip.c:240:19: style: Local variable 'new_e' shadows outer variable [shadowVariable] xfig-3.2.9a/src/object.h:511:27: note: Shadowed declaration xfig-3.2.9a/src/e_flip.c:240:19: note: Shadow variable xfig-3.2.9a/src/e_flip.c:260:16: style: Local variable 'new_l' shadows outer variable [shadowVariable] xfig-3.2.9a/src/object.h:509:24: note: Shadowed declaration xfig-3.2.9a/src/e_flip.c:260:16: note: Shadow variable xfig-3.2.9a/src/e_flip.c:280:18: style: Local variable 'new_s' shadows outer variable [shadowVariable] xfig-3.2.9a/src/object.h:513:26: note: Shadowed declaration xfig-3.2.9a/src/e_flip.c:280:18: note: Shadow variable xfig-3.2.9a/src/e_glue.c:335:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_joinsplit.c:212:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] xfig-3.2.9a/src/e_joinsplit.c:205:11: warning: Either the condition 'point' is redundant or there is possible null pointer dereference: point. [nullPointerRedundantCheck] xfig-3.2.9a/src/e_joinsplit.c:206:9: note: Assuming that condition 'point' is not redundant xfig-3.2.9a/src/e_joinsplit.c:205:11: note: Null pointer dereference xfig-3.2.9a/src/e_joinsplit.c:205:30: warning: Either the condition 'point' is redundant or there is possible null pointer dereference: point. [nullPointerRedundantCheck] xfig-3.2.9a/src/e_joinsplit.c:206:9: note: Assuming that condition 'point' is not redundant xfig-3.2.9a/src/e_joinsplit.c:205:30: note: Null pointer dereference xfig-3.2.9a/src/e_joinsplit.c:143:35: style: Parameter 'prev_point' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/e_joinsplit.c:167:41: style: Parameter 'prev_point' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/e_joinsplit.c:194:27: style: Parameter 'point' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/e_joinsplit.c:203:33: style: Parameter 'point' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/e_joinsplit.c:226:58: style: Parameter 'p' can be declared as pointer to const. However it seems that 'join_line2' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/e_joinsplit.c:151:23: note: You might need to cast the function pointer here xfig-3.2.9a/src/e_joinsplit.c:226:58: note: Parameter 'p' can be declared as pointer to const xfig-3.2.9a/src/e_joinsplit.c:226:70: style: Parameter 'q' can be declared as pointer to const. However it seems that 'join_line2' is a callback function, if 'q' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/e_joinsplit.c:151:23: note: You might need to cast the function pointer here xfig-3.2.9a/src/e_joinsplit.c:226:70: note: Parameter 'q' can be declared as pointer to const xfig-3.2.9a/src/e_joinsplit.c:275:60: style: Parameter 'p' can be declared as pointer to const. However it seems that 'join_spline2' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/e_joinsplit.c:177:23: note: You might need to cast the function pointer here xfig-3.2.9a/src/e_joinsplit.c:275:60: note: Parameter 'p' can be declared as pointer to const xfig-3.2.9a/src/e_joinsplit.c:275:72: style: Parameter 'q' can be declared as pointer to const. However it seems that 'join_spline2' is a callback function, if 'q' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/e_joinsplit.c:177:23: note: You might need to cast the function pointer here xfig-3.2.9a/src/e_joinsplit.c:275:72: note: Parameter 'q' can be declared as pointer to const xfig-3.2.9a/src/e_joinsplit.c:537:17: style: Variable 'splitp' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_joinsplit.c:669:14: style: Parameter 'csf' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/e_joinsplit.c:671:17: style: Variable 'splitp' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_placelib.c:104:13: warning: If memory allocation fails, then there is a possible null pointer dereference: com [nullPointerOutOfMemory] xfig-3.2.9a/src/e_placelib.c:103:14: note: Assuming allocation function fails xfig-3.2.9a/src/e_placelib.c:103:14: note: Assignment 'com=strdup(lib_compounds[cur_library_object]->compound->comments)', assigned value is 0 xfig-3.2.9a/src/e_placelib.c:104:13: note: Null pointer dereference xfig-3.2.9a/src/e_placelib.c:119:34: style: Parameter 'c' can be declared as pointer to const. However it seems that 'transform_lib_obj' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/e_placelib.c:166:35: note: You might need to cast the function pointer here xfig-3.2.9a/src/e_placelib.c:119:34: note: Parameter 'c' can be declared as pointer to const xfig-3.2.9a/src/e_rotate.c:485:21: style: Variable 'l' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_scale.c:535:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_scale.c:1323:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_update.c:565:26: style:inconclusive: Function 'fix_fillstyle' argument 1 names different: declaration 'object' definition 'obj'. [funcArgNamesDifferent] xfig-3.2.9a/src/e_update.h:25:33: note: Function 'fix_fillstyle' argument 1 names different: declaration 'object' definition 'obj'. xfig-3.2.9a/src/e_update.c:565:26: note: Function 'fix_fillstyle' argument 1 names different: declaration 'object' definition 'obj'. xfig-3.2.9a/src/e_update.c:111:24: style: Parameter 'object' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/e_update.c:148:16: style: Variable 'dtext' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/e_update.c:315:29: style: Parameter 'arrow' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_load.c:122:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_load.c:166:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_load.c:353:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_load.c:367:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_load.c:264:6: style: Condition 'c' is always true [knownConditionTrueFalse] xfig-3.2.9a/src/f_load.c:302:26: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_neuclrtab.c:199:56: debug: Function::addArguments found argument 'cs' with varid 0. [varid0] xfig-3.2.9a/src/f_neuclrtab.c:148:27: debug: Function::addArguments found argument 'cs' with varid 0. [varid0] xfig-3.2.9a/src/f_neuclrtab.c:190:55: debug: Function::addArguments found argument 'cs' with varid 0. [varid0] xfig-3.2.9a/src/f_neuclrtab.c:151:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cs [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_neuclrtab.c:193:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cs [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_neuclrtab.c:215:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cs [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_neuclrtab.c:449:6: error: Array 'freq[256]' accessed at index -1, which is out of bounds. [negativeIndex] xfig-3.2.9a/src/f_neuclrtab.c:430:13: note: Assignment 'bestpos=-1', assigned value is -1 xfig-3.2.9a/src/f_neuclrtab.c:435:13: note: Assuming condition is false xfig-3.2.9a/src/f_neuclrtab.c:449:6: note: Negative array index xfig-3.2.9a/src/f_neuclrtab.c:450:6: error: Array 'bias[256]' accessed at index -1, which is out of bounds. [negativeIndex] xfig-3.2.9a/src/f_neuclrtab.c:430:13: note: Assignment 'bestpos=-1', assigned value is -1 xfig-3.2.9a/src/f_neuclrtab.c:435:13: note: Assuming condition is false xfig-3.2.9a/src/f_neuclrtab.c:450:6: note: Negative array index xfig-3.2.9a/src/f_neuclrtab.c:199:56: style:inconclusive: Function 'neu_dith_colrs' argument 2 names different: declaration '' definition 'cs'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/f_neuclrtab.c:135:26: style: Parameter 'col' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_neuclrtab.c:184:30: style: Parameter 'col' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_neuclrtab.c:369:16: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_neuclrtab.c:426:23: style: Variable 'n' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_neuclrtab.c:481:20: style: Variable 'q' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_neuclrtab.c:519:17: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_picobj.c:116:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_picobj.c:272:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_picobj.c:383:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_picobj.c:486:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_picobj.c:581:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_picobj.c:190:19: warning: Either the condition '*found=new_string(name_len+5-1)' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] xfig-3.2.9a/src/f_picobj.c:186:50: note: Assuming that condition '*found=new_string(name_len+5-1)' is not redundant xfig-3.2.9a/src/f_picobj.c:190:19: note: Null pointer addition xfig-3.2.9a/src/f_picobj.c:704:24: style: Redundant initialization for 'guessed_abs_path'. The initialized value is overwritten before it is read. [redundantInitialization] xfig-3.2.9a/src/f_picobj.c:690:25: note: guessed_abs_path is initialized xfig-3.2.9a/src/f_picobj.c:704:24: note: guessed_abs_path is overwritten xfig-3.2.9a/src/f_picobj.c:447:28: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_picobj.c:564:14: style: Variable 'content_fmt' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_picobj.c:710:9: style: Variable 'home' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_picobj.c:904:9: style: Variable 'home' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_read.c:231:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_read.c:291:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROTOCOL_VERSION [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_read.c:612:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_read.c:659:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_read.c:1027:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_read.c:1577:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_read.c:1791:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_read.c:1889:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_read.c:1909:20: warning: Either the condition 'newval<512' is redundant or the array 'colorFree[512]' is accessed at index 512, which is out of bounds. [arrayIndexOutOfBoundsCond] xfig-3.2.9a/src/f_read.c:1907:20: note: Assuming that condition 'newval<512' is not redundant xfig-3.2.9a/src/f_read.c:1908:7: note: newval is incremented', new value is 512 xfig-3.2.9a/src/f_read.c:1909:20: note: Array index out of bounds xfig-3.2.9a/src/f_read.c:1391:27: style: Condition 'buf[strlen(buf)-1]=='\r'' is always false [knownConditionTrueFalse] xfig-3.2.9a/src/f_read.c:1390:25: note: Assignment 'buf[strlen(buf)-1]='\0'', assigned value is 0 xfig-3.2.9a/src/f_read.c:1391:27: note: Condition 'buf[strlen(buf)-1]=='\r'' is always false xfig-3.2.9a/src/f_read.c:1464:27: style: Condition 'buf[strlen(buf)-1]=='\r'' is always false [knownConditionTrueFalse] xfig-3.2.9a/src/f_read.c:1463:25: note: Assignment 'buf[strlen(buf)-1]='\0'', assigned value is 0 xfig-3.2.9a/src/f_read.c:1464:27: note: Condition 'buf[strlen(buf)-1]=='\r'' is always false xfig-3.2.9a/src/f_read.c:1378:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xfig-3.2.9a/src/f_read.c:1383:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xfig-3.2.9a/src/f_read.c:1467:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xfig-3.2.9a/src/f_read.c:172:11: style: Variable 'l' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_read.c:1555:23: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_read.c:1295:9: style: Variable 'n' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/f_readeps.c:143:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readeps.c:219:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readeps.c:60:21: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_readeps.c:68:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_readeps.c:124:8: style: Variable 'savelocale' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_readeps.c:184:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_readeps.c:187:17: style: Variable 'last' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_readgif.c:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readgif.c:365:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readgif.c:341:7: style: Variable 'str' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/f_readgif.c:347:7: style: Variable 'str' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/f_readjpg.c:143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readjpg.c:325:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JMSG_LENGTH_MAX [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readjpg.c:343:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JMSG_LENGTH_MAX [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readjpg.c:214:13: style: Variable 'src' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_readold.c:143:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readold.c:285:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readold.c:500:9: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xfig-3.2.9a/src/f_readold.c:61:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_readpcx.c:95:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readpcx.c:118:17: style: Variable 'pal' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_readpcx.c:212:21: style: Variable 'src' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_readpcx.c:167:11: style: Variable 'pal' is allocated memory that is never used. [unusedAllocatedMemory] xfig-3.2.9a/src/f_readpng.c:73:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_LIBPNG_VER_STRING [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readpng.c:249:3: warning: If memory allocation fails, then there is a possible null pointer dereference: row_pointers [nullPointerOutOfMemory] xfig-3.2.9a/src/f_readpng.c:247:23: note: Assuming allocation function fails xfig-3.2.9a/src/f_readpng.c:247:23: note: Assignment 'row_pointers=malloc(h*sizeof(png_bytep))', assigned value is 0 xfig-3.2.9a/src/f_readpng.c:249:3: note: Null pointer dereference xfig-3.2.9a/src/f_readppm.c:46:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readppm.c:72:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TrueColor [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readppm.c:132:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readppm.c:160:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TrueColor [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readppm.c:196:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TrueColor [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readppm.c:247:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TrueColor [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readppm.c:309:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readtif.c:71:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIFFTAG_IMAGEWIDTH [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readxbm.c:69:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BitmapSuccess [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readxbm.c:177:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readxbm.c:237:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BitmapFileInvalid [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_readxbm.c:239:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xfig-3.2.9a/src/f_readxbm.c:252:6: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xfig-3.2.9a/src/f_readxbm.c:254:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xfig-3.2.9a/src/f_readxbm.c:256:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xfig-3.2.9a/src/f_readxbm.c:219:11: style: Variable 'type' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_readxpm.c:66:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmColorFailed [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_save.c:82:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_save.c:99:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_save.c:142:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_save.c:190:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_save.c:203:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_save.c:289:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_save.c:658:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_save.c:198:17: style: Variable 'com' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_save.c:438:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_save.c:522:13: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_save.c:523:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_save.c:601:33: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_save.c:601:45: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_save.c:626:32: style: Parameter 'com' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_save.c:646:22: style: Parameter 'file_name' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_save.c:641:6: warning: Uninitialized variable: last [uninitvar] xfig-3.2.9a/src/f_save.c:633:9: note: Assuming condition is false xfig-3.2.9a/src/f_save.c:641:6: note: Uninitialized variable: last xfig-3.2.9a/src/f_util.c:136:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_util.c:212:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_util.c:268:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_util.c:388:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_util.c:432:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_util.c:477:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_util.c:528:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_util.c:801:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_util.c:845:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_util.c:992:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_util.c:1082:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sys_errlist [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_util.c:1108:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_util.c:155:9: style: Obsolescent function 'getwd' called. It is recommended to use 'getcwd' instead. [prohibitedgetwdCalled] xfig-3.2.9a/src/f_util.c:711:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xfig-3.2.9a/src/f_util.c:712:9: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xfig-3.2.9a/src/f_util.c:581:6: warning: If memory allocation fails, then there is a possible null pointer dereference: thiserr [nullPointerOutOfMemory] xfig-3.2.9a/src/f_util.c:575:27: note: Assuming allocation function fails xfig-3.2.9a/src/f_util.c:575:12: note: Assignment 'thiserr=(long*)malloc(sizeof(long)*(width+2))', assigned value is 0 xfig-3.2.9a/src/f_util.c:581:6: note: Null pointer dereference xfig-3.2.9a/src/f_util.c:400:7: style: Local variable 'ncolors' shadows outer variable [shadowVariable] xfig-3.2.9a/src/f_util.c:234:20: note: Shadowed declaration xfig-3.2.9a/src/f_util.c:400:7: note: Shadow variable xfig-3.2.9a/src/f_util.c:412:7: style: Local variable 'npixels' shadows outer variable [shadowVariable] xfig-3.2.9a/src/f_util.c:237:14: note: Shadowed declaration xfig-3.2.9a/src/f_util.c:412:7: note: Shadow variable xfig-3.2.9a/src/f_util.c:697:11: style: Local variable 'xfigrc' shadows outer variable [shadowVariable] xfig-3.2.9a/src/f_util.c:749:14: note: Shadowed declaration xfig-3.2.9a/src/f_util.c:697:11: note: Shadow variable xfig-3.2.9a/src/f_util.c:77:17: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_util.c:401:16: style: Variable 'pics' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_util.c:564:17: style: Variable 'cP' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_util.c:695:31: style: Variable 'word' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_util.c:732:28: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_util.c:776:38: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_util.c:789:22: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_util.c:826:8: style: Variable 'c' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_util.c:1048:21: style: Parameter 'program' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_util.c:1048:36: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_util.c:1184:11: style: Variable 'l' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_util.c:1185:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_util.c:1186:14: style: Variable 'e' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_util.c:1187:10: style: Variable 'a' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_util.c:1188:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_util.c:1219:11: style: Variable 'l' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_util.c:1220:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_util.c:1221:14: style: Variable 'e' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_util.c:1222:10: style: Variable 'a' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_util.c:1223:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_util.c:1255:11: style: Variable 'c1' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/f_wrpcx.c:49:65: style: Parameter 'Red' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_wrpcx.c:49:85: style: Parameter 'Green' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_wrpcx.c:49:107: style: Parameter 'Blue' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_wrpcx.c:119:38: style: Parameter 'pcx_hd' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_wrpcx.c:152:17: style: Parameter 'inbuffer' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_wrpng.c:52:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PNG_LIBPNG_VER_STRING [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/f_wrpng.c:41:69: style: Parameter 'Red' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_wrpng.c:41:89: style: Parameter 'Green' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/f_wrpng.c:41:111: style: Parameter 'Blue' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/main.c:641:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/main.c:1661:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNvisual [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/main.c:1756:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/main.c:1776:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/main.c:1809:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNiconX [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/main.c:1859:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/main.c:1951:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtitle [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/main.c:1964:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/main.c:2047:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/main.c:2085:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromHoriz [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/main.c:1629:19: style: Local variable 'cnt' shadows outer variable [shadowVariable] xfig-3.2.9a/src/main.c:106:12: note: Shadowed declaration xfig-3.2.9a/src/main.c:1629:19: note: Shadow variable xfig-3.2.9a/src/main.c:633:9: style: Variable 'dval' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_bound.c:170:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_bound.c:459:14: style: Local variable 'cur_point' shadows outer variable [shadowVariable] xfig-3.2.9a/src/object.h:515:31: note: Shadowed declaration xfig-3.2.9a/src/u_bound.c:459:14: note: Shadow variable xfig-3.2.9a/src/u_bound.c:460:14: style: Variable 'cur_sfactor' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_bound.c:507:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_bound.c:573:21: style: Variable 'q' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_bound.c:370:7: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] xfig-3.2.9a/src/u_bound.c:371:7: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] xfig-3.2.9a/src/u_bound.c:593:12: warning: Uninitialized variable: q [uninitvar] xfig-3.2.9a/src/u_bound.c:591:29: note: Assuming condition is false xfig-3.2.9a/src/u_bound.c:593:12: note: Uninitialized variable: q xfig-3.2.9a/src/u_bound.c:465:22: style: Variable 'x0' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/u_bound.c:466:22: style: Variable 'y0' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/u_colors.c:139:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alpha [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_colors.c:150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_colors.c:211:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TrueColor [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_colors.c:287:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_colors.c:293:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_colors.c:299:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable green [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_colors.c:305:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable blue [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_colors.c:285:14: style:inconclusive: Function 'getpixel' argument 1 names different: declaration 'color' definition 'c'. [funcArgNamesDifferent] xfig-3.2.9a/src/u_colors.h:100:35: note: Function 'getpixel' argument 1 names different: declaration 'color' definition 'c'. xfig-3.2.9a/src/u_colors.c:285:14: note: Function 'getpixel' argument 1 names different: declaration 'color' definition 'c'. xfig-3.2.9a/src/u_colors.c:291:12: style:inconclusive: Function 'getred' argument 1 names different: declaration 'color' definition 'c'. [funcArgNamesDifferent] xfig-3.2.9a/src/u_colors.h:101:34: note: Function 'getred' argument 1 names different: declaration 'color' definition 'c'. xfig-3.2.9a/src/u_colors.c:291:12: note: Function 'getred' argument 1 names different: declaration 'color' definition 'c'. xfig-3.2.9a/src/u_colors.c:297:14: style:inconclusive: Function 'getgreen' argument 1 names different: declaration 'color' definition 'c'. [funcArgNamesDifferent] xfig-3.2.9a/src/u_colors.h:101:55: note: Function 'getgreen' argument 1 names different: declaration 'color' definition 'c'. xfig-3.2.9a/src/u_colors.c:297:14: note: Function 'getgreen' argument 1 names different: declaration 'color' definition 'c'. xfig-3.2.9a/src/u_create.c:476:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_create.c:276:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_pts [nullPointerOutOfMemory] xfig-3.2.9a/src/u_create.c:272:33: note: Assuming allocation function fails xfig-3.2.9a/src/u_create.c:272:15: note: Assignment 'tmp_pts=(struct F_point*)malloc(npts*sizeof(struct F_point))', assigned value is 0 xfig-3.2.9a/src/u_create.c:276:2: note: Null pointer dereference xfig-3.2.9a/src/u_create.c:277:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_pts [nullPointerOutOfMemory] xfig-3.2.9a/src/u_create.c:272:33: note: Assuming allocation function fails xfig-3.2.9a/src/u_create.c:272:15: note: Assignment 'tmp_pts=(struct F_point*)malloc(npts*sizeof(struct F_point))', assigned value is 0 xfig-3.2.9a/src/u_create.c:277:2: note: Null pointer dereference xfig-3.2.9a/src/u_create.c:283:14: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_pts [nullPointerOutOfMemory] xfig-3.2.9a/src/u_create.c:272:33: note: Assuming allocation function fails xfig-3.2.9a/src/u_create.c:272:15: note: Assignment 'tmp_pts=(struct F_point*)malloc(npts*sizeof(struct F_point))', assigned value is 0 xfig-3.2.9a/src/u_create.c:283:14: note: Null pointer dereference xfig-3.2.9a/src/u_create.c:284:14: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_pts [nullPointerOutOfMemory] xfig-3.2.9a/src/u_create.c:272:33: note: Assuming allocation function fails xfig-3.2.9a/src/u_create.c:272:15: note: Assignment 'tmp_pts=(struct F_point*)malloc(npts*sizeof(struct F_point))', assigned value is 0 xfig-3.2.9a/src/u_create.c:284:14: note: Null pointer dereference xfig-3.2.9a/src/u_create.c:309:2: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_sf [nullPointerOutOfMemory] xfig-3.2.9a/src/u_create.c:305:34: note: Assuming allocation function fails xfig-3.2.9a/src/u_create.c:305:14: note: Assignment 'tmp_sf=(struct F_sfactor*)malloc(nsf*sizeof(struct F_sfactor))', assigned value is 0 xfig-3.2.9a/src/u_create.c:309:2: note: Null pointer dereference xfig-3.2.9a/src/u_create.c:315:14: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp_sf [nullPointerOutOfMemory] xfig-3.2.9a/src/u_create.c:305:34: note: Assuming allocation function fails xfig-3.2.9a/src/u_create.c:305:14: note: Assignment 'tmp_sf=(struct F_sfactor*)malloc(nsf*sizeof(struct F_sfactor))', assigned value is 0 xfig-3.2.9a/src/u_create.c:315:14: note: Null pointer dereference xfig-3.2.9a/src/u_create.c:469:5: warning: If memory allocation fails, then there is a possible null pointer dereference: picture [nullPointerOutOfMemory] xfig-3.2.9a/src/u_create.c:467:21: note: Assuming allocation function fails xfig-3.2.9a/src/u_create.c:467:21: note: Assignment 'picture=malloc(sizeof(struct _pics))', assigned value is 0 xfig-3.2.9a/src/u_create.c:469:5: note: Null pointer dereference xfig-3.2.9a/src/u_create.c:470:5: warning: If memory allocation fails, then there is a possible null pointer dereference: picture [nullPointerOutOfMemory] xfig-3.2.9a/src/u_create.c:467:21: note: Assuming allocation function fails xfig-3.2.9a/src/u_create.c:467:21: note: Assignment 'picture=malloc(sizeof(struct _pics))', assigned value is 0 xfig-3.2.9a/src/u_create.c:470:5: note: Null pointer dereference xfig-3.2.9a/src/u_create.c:471:5: warning: If memory allocation fails, then there is a possible null pointer dereference: picture [nullPointerOutOfMemory] xfig-3.2.9a/src/u_create.c:467:21: note: Assuming allocation function fails xfig-3.2.9a/src/u_create.c:467:21: note: Assignment 'picture=malloc(sizeof(struct _pics))', assigned value is 0 xfig-3.2.9a/src/u_create.c:471:5: note: Null pointer dereference xfig-3.2.9a/src/u_create.c:472:5: warning: If memory allocation fails, then there is a possible null pointer dereference: picture [nullPointerOutOfMemory] xfig-3.2.9a/src/u_create.c:467:21: note: Assuming allocation function fails xfig-3.2.9a/src/u_create.c:467:21: note: Assignment 'picture=malloc(sizeof(struct _pics))', assigned value is 0 xfig-3.2.9a/src/u_create.c:472:5: note: Null pointer dereference xfig-3.2.9a/src/u_create.c:473:5: warning: If memory allocation fails, then there is a possible null pointer dereference: picture [nullPointerOutOfMemory] xfig-3.2.9a/src/u_create.c:467:21: note: Assuming allocation function fails xfig-3.2.9a/src/u_create.c:467:21: note: Assignment 'picture=malloc(sizeof(struct _pics))', assigned value is 0 xfig-3.2.9a/src/u_create.c:473:5: note: Null pointer dereference xfig-3.2.9a/src/u_create.c:474:5: warning: If memory allocation fails, then there is a possible null pointer dereference: picture [nullPointerOutOfMemory] xfig-3.2.9a/src/u_create.c:467:21: note: Assuming allocation function fails xfig-3.2.9a/src/u_create.c:467:21: note: Assignment 'picture=malloc(sizeof(struct _pics))', assigned value is 0 xfig-3.2.9a/src/u_create.c:474:5: note: Null pointer dereference xfig-3.2.9a/src/u_create.c:474:21: warning: If memory allocation fails, then there is a possible null pointer dereference: picture [nullPointerOutOfMemory] xfig-3.2.9a/src/u_create.c:467:21: note: Assuming allocation function fails xfig-3.2.9a/src/u_create.c:467:21: note: Assignment 'picture=malloc(sizeof(struct _pics))', assigned value is 0 xfig-3.2.9a/src/u_create.c:474:21: note: Null pointer dereference xfig-3.2.9a/src/u_create.c:209:22: style: Parameter 'orig_pt' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_create.c:234:26: style: Parameter 'orig_sf' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_create.c:952:21: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw.c:240:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_draw.c:928:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCClipMask [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_draw.c:975:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_draw.c:1583:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_draw_spline.c:344:10: style: Local variable 'i' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:517:19: note: Shadowed declaration xfig-3.2.9a/src/u_draw_spline.c:344:10: note: Shadow variable xfig-3.2.9a/src/u_draw.c:284:14: style: Local variable 'i' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:517:19: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:284:14: note: Shadow variable xfig-3.2.9a/src/u_draw.c:644:14: style: Local variable 'i' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:517:19: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:644:14: note: Shadow variable xfig-3.2.9a/src/u_draw.c:644:17: style: Local variable 'x' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:515:12: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:644:17: note: Shadow variable xfig-3.2.9a/src/u_draw.c:644:20: style: Local variable 'y' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:515:30: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:644:20: note: Shadow variable xfig-3.2.9a/src/u_draw.c:811:14: style: Local variable 'i' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:517:19: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:811:14: note: Shadow variable xfig-3.2.9a/src/u_draw.c:956:14: style: Local variable 'i' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:517:19: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:956:14: note: Shadow variable xfig-3.2.9a/src/u_draw.c:956:16: style: Local variable 'j' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:517:21: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:956:16: note: Shadow variable xfig-3.2.9a/src/u_draw.c:1576:14: style: Local variable 'x' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:515:12: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:1576:14: note: Shadow variable xfig-3.2.9a/src/u_draw.c:1576:17: style: Local variable 'y' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:515:30: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:1576:17: note: Shadow variable xfig-3.2.9a/src/u_draw.c:1578:14: style: Local variable 'i' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:517:19: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:1578:14: note: Shadow variable xfig-3.2.9a/src/u_draw.c:1578:17: style: Local variable 'j' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:517:21: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:1578:17: note: Shadow variable xfig-3.2.9a/src/u_draw.c:1657:9: style: Local variable 'j' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:1578:17: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:1657:9: note: Shadow variable xfig-3.2.9a/src/u_draw.c:1725:16: style: Local variable 'x' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:515:12: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:1725:16: note: Shadow variable xfig-3.2.9a/src/u_draw.c:1725:19: style: Local variable 'y' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:515:30: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:1725:19: note: Shadow variable xfig-3.2.9a/src/u_draw.c:1736:16: style: Local variable 'fix_x' shadows outer variable [shadowVariable] xfig-3.2.9a/src/w_canvas.h:55:12: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:1736:16: note: Shadow variable xfig-3.2.9a/src/u_draw.c:1736:23: style: Local variable 'fix_y' shadows outer variable [shadowVariable] xfig-3.2.9a/src/w_canvas.h:55:19: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:1736:23: note: Shadow variable xfig-3.2.9a/src/u_draw.c:1738:14: style: Local variable 'i' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:517:19: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:1738:14: note: Shadow variable xfig-3.2.9a/src/u_draw.c:2014:21: style: Local variable 'x' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:515:12: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:2014:21: note: Shadow variable xfig-3.2.9a/src/u_draw.c:2014:24: style: Local variable 'y' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:515:30: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:2014:24: note: Shadow variable xfig-3.2.9a/src/u_draw.c:2170:14: style: Local variable 'i' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_draw.c:517:19: note: Shadowed declaration xfig-3.2.9a/src/u_draw.c:2170:14: note: Shadow variable xfig-3.2.9a/src/u_draw.c:643:17: style: Variable 'point' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_draw.c:809:17: style: Variable 'point' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_draw.c:1217:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_draw.c:1416:12: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_draw.c:1511:89: style: Parameter 'arrow' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw.c:1723:73: style: Parameter 'arrow' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw.c:1948:25: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw.c:1948:39: style: Parameter 'arrow' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw.c:2171:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_draw_spline.c:111:27: style: Parameter 'A_blend' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw_spline.c:111:45: style: Parameter 'p0' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw_spline.c:111:58: style: Parameter 'p1' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw_spline.c:111:71: style: Parameter 'p2' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw_spline.c:111:84: style: Parameter 'p3' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw_spline.c:122:30: style: Parameter 'A_blend' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw_spline.c:122:48: style: Parameter 'p0' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw_spline.c:122:61: style: Parameter 'p1' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw_spline.c:122:74: style: Parameter 'p2' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw_spline.c:122:87: style: Parameter 'p3' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_draw.c:549:7: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] xfig-3.2.9a/src/u_draw.c:550:7: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] xfig-3.2.9a/src/u_draw.c:1733:20: style: float result is assigned to double variable. If the variable is double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] xfig-3.2.9a/src/u_draw.c:73:10: style: struct member '_arrow_shape::simplefill' is never used. [unusedStructMember] xfig-3.2.9a/src/u_draw_spline.c:325:7: style: Variable 's0' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/u_draw_spline.c:329:5: style: Variable 's0' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/u_draw_spline.c:358:7: style: Variable 's0' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/u_draw_spline.c:371:9: style: Variable 's0' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/u_draw.c:2230:7: style: Variable 's0' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/u_elastic.c:352:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_elastic.c:383:20: style: Variable 'k' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_elastic.c:457:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_elastic.c:819:24: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_error.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_error.c:82:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_error.c:96:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_error.c:124:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_error.c:120:27: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_fonts.c:350:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pattern [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_fonts.c:473:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XftChar8 [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_fonts.c:1226:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XftChar8 [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_fonts.c:1243:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XftChar8 [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_fonts.c:373:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] xfig-3.2.9a/src/u_fonts.c:372:15: note: Assuming allocation function fails xfig-3.2.9a/src/u_fonts.c:372:15: note: Assignment 'new=malloc(sizeof(struct xfig_font))', assigned value is 0 xfig-3.2.9a/src/u_fonts.c:373:3: note: Null pointer dereference xfig-3.2.9a/src/u_fonts.c:374:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] xfig-3.2.9a/src/u_fonts.c:372:15: note: Assuming allocation function fails xfig-3.2.9a/src/u_fonts.c:372:15: note: Assignment 'new=malloc(sizeof(struct xfig_font))', assigned value is 0 xfig-3.2.9a/src/u_fonts.c:374:3: note: Null pointer dereference xfig-3.2.9a/src/u_fonts.c:443:2: warning: If memory allocation fails, then there is a possible null pointer dereference: fonts [nullPointerOutOfMemory] xfig-3.2.9a/src/u_fonts.c:428:16: note: Assuming allocation function fails xfig-3.2.9a/src/u_fonts.c:428:16: note: Assignment 'fonts=malloc(sizeof(struct font_storage))', assigned value is 0 xfig-3.2.9a/src/u_fonts.c:443:2: note: Null pointer dereference xfig-3.2.9a/src/u_fonts.c:444:2: warning: If memory allocation fails, then there is a possible null pointer dereference: fonts [nullPointerOutOfMemory] xfig-3.2.9a/src/u_fonts.c:428:16: note: Assuming allocation function fails xfig-3.2.9a/src/u_fonts.c:428:16: note: Assignment 'fonts=malloc(sizeof(struct font_storage))', assigned value is 0 xfig-3.2.9a/src/u_fonts.c:444:2: note: Null pointer dereference xfig-3.2.9a/src/u_fonts.c:445:2: warning: If memory allocation fails, then there is a possible null pointer dereference: fonts [nullPointerOutOfMemory] xfig-3.2.9a/src/u_fonts.c:428:16: note: Assuming allocation function fails xfig-3.2.9a/src/u_fonts.c:428:16: note: Assignment 'fonts=malloc(sizeof(struct font_storage))', assigned value is 0 xfig-3.2.9a/src/u_fonts.c:445:2: note: Null pointer dereference xfig-3.2.9a/src/u_fonts.c:446:2: warning: If memory allocation fails, then there is a possible null pointer dereference: fonts [nullPointerOutOfMemory] xfig-3.2.9a/src/u_fonts.c:428:16: note: Assuming allocation function fails xfig-3.2.9a/src/u_fonts.c:428:16: note: Assignment 'fonts=malloc(sizeof(struct font_storage))', assigned value is 0 xfig-3.2.9a/src/u_fonts.c:446:2: note: Null pointer dereference xfig-3.2.9a/src/u_fonts.c:459:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] xfig-3.2.9a/src/u_fonts.c:458:15: note: Assuming allocation function fails xfig-3.2.9a/src/u_fonts.c:458:15: note: Assignment 'new=malloc(sizeof(struct xfig_font))', assigned value is 0 xfig-3.2.9a/src/u_fonts.c:459:3: note: Null pointer dereference xfig-3.2.9a/src/u_fonts.c:460:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] xfig-3.2.9a/src/u_fonts.c:458:15: note: Assuming allocation function fails xfig-3.2.9a/src/u_fonts.c:458:15: note: Assignment 'new=malloc(sizeof(struct xfig_font))', assigned value is 0 xfig-3.2.9a/src/u_fonts.c:460:3: note: Null pointer dereference xfig-3.2.9a/src/u_fonts.c:535:66: style:inconclusive: Function 'font_textoffset' argument 3 names different: declaration 'string' definition 'str'. [funcArgNamesDifferent] xfig-3.2.9a/src/u_fonts.h:61:17: note: Function 'font_textoffset' argument 3 names different: declaration 'string' definition 'str'. xfig-3.2.9a/src/u_fonts.c:535:66: note: Function 'font_textoffset' argument 3 names different: declaration 'string' definition 'str'. xfig-3.2.9a/src/u_fonts.c:196:17: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_fonts.c:208:24: style: Parameter 'font' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_fonts.c:610:27: style: Parameter 't' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_free.c:183:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_geom.c:278:65: error: Invalid abs() argument nr 1. A non-boolean value is required. [invalidFunctionArgBool] xfig-3.2.9a/src/u_draw_spline.c:335:7: style: Condition '!add_point(p3->x,p3->y)' is always false [knownConditionTrueFalse] xfig-3.2.9a/src/u_draw_spline.c:335:17: note: Calling function 'add_point' returns 1 xfig-3.2.9a/src/u_draw_spline.c:335:7: note: Condition '!add_point(p3->x,p3->y)' is always false xfig-3.2.9a/src/u_draw_spline.c:376:7: style: Condition '!add_closepoint()' is always false [knownConditionTrueFalse] xfig-3.2.9a/src/u_geom.c:587:21: note: Calling function 'add_point' returns 1 xfig-3.2.9a/src/u_draw_spline.c:376:22: note: Calling function 'add_closepoint' returns 1 xfig-3.2.9a/src/u_draw_spline.c:376:7: note: Condition '!add_closepoint()' is always false xfig-3.2.9a/src/u_geom.c:445:13: style: Variable 'point' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_geom.c:692:27: style: Parameter 'p1' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_geom.c:692:40: style: Parameter 'p2' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_geom.c:692:53: style: Parameter 'p3' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_geom.c:722:40: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_geom.c:801:17: style: Variable 'prevq' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_geom.c:860:17: style: Variable 'prevq' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_ghostscript.c:302:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_ghostscript.c:442:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_ghostscript.c:681:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_ghostscript.c:693:3: error: Resource leak: gs_output [resourceLeak] xfig-3.2.9a/src/u_ghostscript.c:378:22: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_ghostscript.c:384:8: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_ghostscript.c:622:9: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:199:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_list.c:408:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_list.c:205:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xfig-3.2.9a/src/u_list.c:210:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xfig-3.2.9a/src/u_list.c:215:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xfig-3.2.9a/src/u_list.c:220:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xfig-3.2.9a/src/u_list.c:225:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xfig-3.2.9a/src/u_list.c:414:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xfig-3.2.9a/src/u_list.c:419:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xfig-3.2.9a/src/u_list.c:424:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xfig-3.2.9a/src/u_list.c:429:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xfig-3.2.9a/src/u_list.c:434:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xfig-3.2.9a/src/u_list.c:259:15: style: Variable 'aa' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:260:19: style: Variable 'ee' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:261:16: style: Variable 'll' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:262:18: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:263:16: style: Variable 'tt' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:461:15: style: Variable 'aa' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:462:19: style: Variable 'ee' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:463:16: style: Variable 'll' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:464:18: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:465:16: style: Variable 'tt' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:812:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_list.c:819:34: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_list.c:826:28: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_list.c:833:32: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_list.c:840:28: style: Parameter 't' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_list.c:914:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:1047:43: style: Parameter 'selected_point' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_list.c:1050:12: style: Variable 'cursor' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:1060:30: style: Parameter 'arc' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_list.c:1073:45: style: Parameter 'compound' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_list.c:1086:42: style: Parameter 'ellipse' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_list.c:1099:33: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_list.c:1112:39: style: Parameter 'spline' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_list.c:1125:33: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_list.c:1138:36: style: Parameter 'point' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_list.c:1154:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:1155:16: style: Variable 't' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:1156:20: style: Variable 'c' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:1157:19: style: Variable 'e' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:1158:16: style: Variable 'l' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:1159:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_list.c:1262:25: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_list.c:1320:26: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_markers.c:82:31: style: Parameter 't' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_markers.c:93:31: style: Parameter 'l' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_markers.c:106:35: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_markers.c:375:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_markers.c:397:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_markers.c:419:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_markers.c:440:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_markers.c:431:9: warning: Uninitialized variable: x [uninitvar] xfig-3.2.9a/src/u_markers.c:426:25: note: Assuming condition is false xfig-3.2.9a/src/u_markers.c:431:9: note: Uninitialized variable: x xfig-3.2.9a/src/u_markers.c:431:20: warning: Uninitialized variable: y [uninitvar] xfig-3.2.9a/src/u_markers.c:426:25: note: Assuming condition is false xfig-3.2.9a/src/u_markers.c:431:20: note: Uninitialized variable: y xfig-3.2.9a/src/u_markers.c:453:9: warning: Uninitialized variable: x [uninitvar] xfig-3.2.9a/src/u_markers.c:447:25: note: Assuming condition is false xfig-3.2.9a/src/u_markers.c:453:9: note: Uninitialized variable: x xfig-3.2.9a/src/u_markers.c:453:20: warning: Uninitialized variable: y [uninitvar] xfig-3.2.9a/src/u_markers.c:447:25: note: Assuming condition is false xfig-3.2.9a/src/u_markers.c:453:20: note: Uninitialized variable: y xfig-3.2.9a/src/u_print.c:230:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_print.c:437:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_print.c:81:24: style: Redundant condition: The condition '*begin != '\0'' is redundant since '*begin == ' '' is sufficient. [redundantCondition] xfig-3.2.9a/src/u_print.c:113:25: style: Redundant condition: The condition '*begin != '\0'' is redundant since '*begin == ' '' is sufficient. [redundantCondition] xfig-3.2.9a/src/u_print.c:275:9: style: Variable 'b' is reassigned a value before the old one has been used. [redundantAssignment] xfig-3.2.9a/src/u_print.c:274:8: note: b is assigned xfig-3.2.9a/src/u_print.c:275:9: note: b is overwritten xfig-3.2.9a/src/u_print.c:361:4: style: Redundant initialization for 'e'. The initialized value is overwritten before it is read. [redundantInitialization] xfig-3.2.9a/src/u_print.c:360:12: note: e is initialized xfig-3.2.9a/src/u_print.c:361:4: note: e is overwritten xfig-3.2.9a/src/u_print.c:361:2: style: Variable 'e' is assigned an expression that holds the same value. [redundantAssignment] xfig-3.2.9a/src/u_print.c:360:12: note: e is assigned 'environ' here. xfig-3.2.9a/src/u_print.c:361:2: note: Variable 'e' is assigned an expression that holds the same value. xfig-3.2.9a/src/u_print.c:248:54: style: Parameter 'backgrnd' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_print.c:250:9: style: Parameter 'grid' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_print.c:336:27: style: Parameter 'find' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_print.c:336:39: style: Parameter 'repl' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_print.c:338:8: style: Variable 'loc' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_print.c:391:9: style: Variable 'suf' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_print.c:361:4: style: Variable 'e' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/u_quartic.c:116:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_quartic.c:190:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_quartic.c:170:18: style:inconclusive: Function 'quartic' argument 1 names different: declaration 'dd' definition 'ck'. [funcArgNamesDifferent] xfig-3.2.9a/src/u_quartic.h:20:29: note: Function 'quartic' argument 1 names different: declaration 'dd' definition 'ck'. xfig-3.2.9a/src/u_quartic.c:170:18: note: Function 'quartic' argument 1 names different: declaration 'dd' definition 'ck'. xfig-3.2.9a/src/u_quartic.c:170:31: style:inconclusive: Function 'quartic' argument 2 names different: declaration 'sol' definition 'zr'. [funcArgNamesDifferent] xfig-3.2.9a/src/u_quartic.h:20:42: note: Function 'quartic' argument 2 names different: declaration 'sol' definition 'zr'. xfig-3.2.9a/src/u_quartic.c:170:31: note: Function 'quartic' argument 2 names different: declaration 'sol' definition 'zr'. xfig-3.2.9a/src/u_quartic.c:170:44: style:inconclusive: Function 'quartic' argument 3 names different: declaration 'soli' definition 'zi'. [funcArgNamesDifferent] xfig-3.2.9a/src/u_quartic.h:20:56: note: Function 'quartic' argument 3 names different: declaration 'soli' definition 'zi'. xfig-3.2.9a/src/u_quartic.c:170:44: note: Function 'quartic' argument 3 names different: declaration 'soli' definition 'zi'. xfig-3.2.9a/src/u_redraw.c:118:20: style: Local variable 'objects' shadows outer variable [shadowVariable] xfig-3.2.9a/src/object.h:505:19: note: Shadowed declaration xfig-3.2.9a/src/u_redraw.c:118:20: note: Shadow variable xfig-3.2.9a/src/u_redraw.c:682:37: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_redraw.c:688:38: style: Parameter 'c1' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_redraw.c:688:54: style: Parameter 'c2' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/u_search.c:114:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_search.c:156:16: style: Local variable 'a' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_search.c:57:20: note: Shadowed declaration xfig-3.2.9a/src/u_search.c:156:16: note: Shadow variable xfig-3.2.9a/src/u_search.c:645:17: style: Local variable 'a' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_search.c:57:20: note: Shadowed declaration xfig-3.2.9a/src/u_search.c:645:17: note: Shadow variable xfig-3.2.9a/src/u_search.c:883:16: style: Local variable 't' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_search.c:61:20: note: Shadowed declaration xfig-3.2.9a/src/u_search.c:883:16: note: Shadow variable xfig-3.2.9a/src/u_search.c:946:20: style: Local variable 'c' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_search.c:62:20: note: Shadowed declaration xfig-3.2.9a/src/u_search.c:946:20: note: Shadow variable xfig-3.2.9a/src/u_search.c:971:20: style: Local variable 'c' shadows outer variable [shadowVariable] xfig-3.2.9a/src/u_search.c:62:20: note: Shadowed declaration xfig-3.2.9a/src/u_search.c:971:20: note: Shadow variable xfig-3.2.9a/src/u_search.c:222:17: style: Variable 'point' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_search.c:275:17: style: Variable 'point' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/u_search.c:124:23: warning: Uninitialized variable: pp [uninitvar] xfig-3.2.9a/src/u_search.c:119:12: note: Assuming condition is false xfig-3.2.9a/src/u_search.c:124:23: note: Uninitialized variable: pp xfig-3.2.9a/src/u_spawn.c:184:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_spawn.c:230:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_spawn.c:258:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_spawn.c:268:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_spawn.c:297:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POLLIN [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_spawn.c:362:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_spawn.c:490:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_spawn.c:560:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/u_spawn.c:156:48: style: Parameter 'argv' can be declared as const array [constParameter] xfig-3.2.9a/src/u_spawn.c:157:15: style: Parameter 'envp' can be declared as const array [constParameter] xfig-3.2.9a/src/u_spawn.c:157:35: style: Parameter 'fd' can be declared as const array [constParameter] xfig-3.2.9a/src/u_spawn.c:157:46: style: Parameter 'cfd' can be declared as const array [constParameter] xfig-3.2.9a/src/u_spawn.c:221:7: style: Parameter 'fd' can be declared as const array [constParameter] xfig-3.2.9a/src/u_undo.c:868:36: style: Parameter 'objects' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_browse.c:103:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_browse.c:127:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_browse.c:219:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_browse.c:242:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_browse.c:185:11: style: Variable 'fval' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_browse.c:185:18: style: Variable 'pval' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_canvas.c:190:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_canvas.c:238:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XLookupChars [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_canvas.c:282:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XLookupNone [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_canvas.c:421:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button3 [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_canvas.c:705:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Success [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_canvas.c:739:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_canvas.c:799:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFIGLIBDIR [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_canvas.c:960:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_canvas.c:980:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_canvas.c:1043:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_canvas.c:865:4: warning: If memory allocation fails, then there is a possible null pointer dereference: compKeyPtr [nullPointerOutOfMemory] xfig-3.2.9a/src/w_canvas.c:859:24: note: Assuming allocation function fails xfig-3.2.9a/src/w_canvas.c:859:24: note: Assignment 'allCompKey=malloc(sizeof(struct CompKey))', assigned value is 0 xfig-3.2.9a/src/w_canvas.c:860:18: note: Assignment 'compKeyPtr=allCompKey', assigned value is 0 xfig-3.2.9a/src/w_canvas.c:865:4: note: Null pointer dereference xfig-3.2.9a/src/w_canvas.c:866:4: warning: If memory allocation fails, then there is a possible null pointer dereference: compKeyPtr [nullPointerOutOfMemory] xfig-3.2.9a/src/w_canvas.c:859:24: note: Assuming allocation function fails xfig-3.2.9a/src/w_canvas.c:859:24: note: Assignment 'allCompKey=malloc(sizeof(struct CompKey))', assigned value is 0 xfig-3.2.9a/src/w_canvas.c:860:18: note: Assignment 'compKeyPtr=allCompKey', assigned value is 0 xfig-3.2.9a/src/w_canvas.c:866:4: note: Null pointer dereference xfig-3.2.9a/src/w_canvas.c:867:4: warning: If memory allocation fails, then there is a possible null pointer dereference: compKeyPtr [nullPointerOutOfMemory] xfig-3.2.9a/src/w_canvas.c:859:24: note: Assuming allocation function fails xfig-3.2.9a/src/w_canvas.c:859:24: note: Assignment 'allCompKey=malloc(sizeof(struct CompKey))', assigned value is 0 xfig-3.2.9a/src/w_canvas.c:860:18: note: Assignment 'compKeyPtr=allCompKey', assigned value is 0 xfig-3.2.9a/src/w_canvas.c:867:4: note: Null pointer dereference xfig-3.2.9a/src/w_canvas.c:868:4: warning: If memory allocation fails, then there is a possible null pointer dereference: compKeyPtr [nullPointerOutOfMemory] xfig-3.2.9a/src/w_canvas.c:859:24: note: Assuming allocation function fails xfig-3.2.9a/src/w_canvas.c:859:24: note: Assignment 'allCompKey=malloc(sizeof(struct CompKey))', assigned value is 0 xfig-3.2.9a/src/w_canvas.c:860:18: note: Assignment 'compKeyPtr=allCompKey', assigned value is 0 xfig-3.2.9a/src/w_canvas.c:868:4: note: Null pointer dereference xfig-3.2.9a/src/w_canvas.c:1091:6: style: Local variable 'grid_unit' shadows outer variable [shadowVariable] xfig-3.2.9a/src/mode.h:145:40: note: Shadowed declaration xfig-3.2.9a/src/w_canvas.c:1091:6: note: Shadow variable xfig-3.2.9a/src/w_canvas.c:126:16: style: Variable 'xe' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_canvas.c:686:9: style: Parameter 'type' can be declared as pointer to const. However it seems that 'get_canvas_clipboard' is a callback function, if 'type' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_canvas.c:747:5: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_canvas.c:686:9: note: Parameter 'type' can be declared as pointer to const xfig-3.2.9a/src/w_canvas.c:686:58: style: Parameter 'format' can be declared as pointer to const. However it seems that 'get_canvas_clipboard' is a callback function, if 'format' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_canvas.c:747:5: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_canvas.c:686:58: note: Parameter 'format' can be declared as pointer to const xfig-3.2.9a/src/w_canvas.c:728:35: style: Parameter 'paste_event' can be declared as pointer to const. However it seems that 'canvas_paste' is a callback function, if 'paste_event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_canvas.c:154:31: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_canvas.c:728:35: note: Parameter 'paste_event' can be declared as pointer to const xfig-3.2.9a/src/w_canvas.c:751:32: style: Parameter 'compose_buf' can be declared as const array [constParameter] xfig-3.2.9a/src/w_canvas.c:1034:47: style: Parameter 'event' can be declared as pointer to const. However it seems that 'popup_mode_panel' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_canvas.c:165:35: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_canvas.c:1034:47: note: Parameter 'event' can be declared as pointer to const xfig-3.2.9a/src/w_canvas.c:1034:62: style: Parameter 'params' can be declared as pointer to const. However it seems that 'popup_mode_panel' is a callback function, if 'params' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_canvas.c:165:35: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_canvas.c:1034:62: note: Parameter 'params' can be declared as pointer to const xfig-3.2.9a/src/w_capture.c:202:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TrueColor [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_capture.c:429:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_capture.c:592:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TrueColor [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:319:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNborderWidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:366:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNborderWidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:391:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:437:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNallowShellResize [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:482:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfont [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:635:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:842:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:951:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNonexclusive [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:979:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtitle [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:1142:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:1261:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:1308:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:1346:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNheight [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:1423:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:1481:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:1582:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtitle [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:1720:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FC_UTF8_MAX_LEN [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:1762:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:1801:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:1843:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtip [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_cmdpanel.c:408:17: error: Allocation with strdup, XtAddCallback doesn't release it. [leakNoVarFunctionCall] xfig-3.2.9a/src/w_cmdpanel.c:996:8: style: Variable 'below' is reassigned a value before the old one has been used. [redundantAssignment] xfig-3.2.9a/src/w_cmdpanel.c:993:8: note: below is assigned xfig-3.2.9a/src/w_cmdpanel.c:996:8: note: below is overwritten xfig-3.2.9a/src/w_cmdpanel.c:1328:12: style: Checking if unsigned expression 'which' is less than zero. [unsignedLessThanZero] xfig-3.2.9a/src/w_cmdpanel.c:1343:12: style: Checking if unsigned expression 'which' is less than zero. [unsignedLessThanZero] xfig-3.2.9a/src/w_cmdpanel.c:1357:21: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_cmdpanel.c:1357:39: style: Parameter 'nparams' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_cmdpanel.c:1797:2: style: Variable '_ArgCountMax' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/w_color.c:266:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TrueColor [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:341:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:890:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alpha [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:905:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:948:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:963:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:982:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNforeground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:995:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1135:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1241:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1300:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1362:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable labelWidgetClass [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1395:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PseudoColor [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1461:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pixel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1527:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1594:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1666:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1704:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1795:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1847:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1894:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1944:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TrueColor [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:1974:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:2073:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:2183:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:2257:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:2503:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_crosshair [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:2566:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_color.c:2509:13: style: Condition 'info==NULL' is always true [knownConditionTrueFalse] xfig-3.2.9a/src/w_color.c:2505:22: note: Assignment 'info=NULL', assigned value is 0 xfig-3.2.9a/src/w_color.c:2509:13: note: Condition 'info==NULL' is always true xfig-3.2.9a/src/w_color.c:306:42: style:inconclusive: Function 'alloc_or_store_colors' argument 1 names different: declaration 'col' definition 'c'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_color.h:64:54: note: Function 'alloc_or_store_colors' argument 1 names different: declaration 'col' definition 'c'. xfig-3.2.9a/src/w_color.c:306:42: note: Function 'alloc_or_store_colors' argument 1 names different: declaration 'col' definition 'c'. xfig-3.2.9a/src/w_color.c:306:49: style:inconclusive: Function 'alloc_or_store_colors' argument 2 names different: declaration 'ncols' definition 'ncolors'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_color.h:64:63: note: Function 'alloc_or_store_colors' argument 2 names different: declaration 'ncols' definition 'ncolors'. xfig-3.2.9a/src/w_color.c:306:49: note: Function 'alloc_or_store_colors' argument 2 names different: declaration 'ncols' definition 'ncolors'. xfig-3.2.9a/src/w_color.c:1174:20: style:inconclusive: Function 'count_one' argument 1 names different: declaration 'color' definition 'c'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_color.c:252:27: note: Function 'count_one' argument 1 names different: declaration 'color' definition 'c'. xfig-3.2.9a/src/w_color.c:1174:20: note: Function 'count_one' argument 1 names different: declaration 'color' definition 'c'. xfig-3.2.9a/src/w_color.c:1577:19: style:inconclusive: Function 'set_std_color' argument 1 names different: declaration 'color' definition 'c'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_color.c:116:31: note: Function 'set_std_color' argument 1 names different: declaration 'color' definition 'c'. xfig-3.2.9a/src/w_color.c:1577:19: note: Function 'set_std_color' argument 1 names different: declaration 'color' definition 'c'. xfig-3.2.9a/src/w_color.c:1451:18: style: Local variable 'pixels' shadows outer variable [shadowVariable] xfig-3.2.9a/src/w_color.c:195:22: note: Shadowed declaration xfig-3.2.9a/src/w_color.c:1451:18: note: Shadow variable xfig-3.2.9a/src/w_color.c:1882:8: style: Local variable 'pass_value' shadows outer variable [shadowVariable] xfig-3.2.9a/src/w_color.c:181:14: note: Shadowed declaration xfig-3.2.9a/src/w_color.c:1882:8: note: Shadow variable xfig-3.2.9a/src/w_color.c:973:25: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_color.c:1141:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_color.c:1142:19: style: Variable 'e' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_color.c:1143:16: style: Variable 'l' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_color.c:1144:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_color.c:1145:16: style: Variable 't' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_color.c:1476:15: style: Variable 'a' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_color.c:1477:16: style: Variable 't' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_color.c:1479:19: style: Variable 'e' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_color.c:1480:16: style: Variable 'l' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_color.c:1481:18: style: Variable 's' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_color.c:1569:39: style: Parameter 'sel_choice' can be declared as pointer to const. However it seems that '_set_std_color' is a callback function, if 'sel_choice' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_color.c:512:24: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_color.c:1569:39: note: Parameter 'sel_choice' can be declared as pointer to const xfig-3.2.9a/src/w_color.c:470:13: style: Variable 'form_fg' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/w_color.c:472:13: style: Variable 'form_fg' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/w_cursor.c:61:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_left_ptr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_digitize.c:92:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_digitize.c:109:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_digitize.c:390:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_digitize.c:426:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_digitize.c:441:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_digitize.c:416:11: style: Variable 'prefix' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_digitize.c:416:20: style: Variable 'suffix' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_digitize.c:185:26: style: Variable 'file_prefix_seq' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/w_dir.c:152:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_dir.c:195:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_dir.c:247:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_dir.c:314:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_dir.c:645:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_dir.c:781:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_dir.c:834:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_dir.c:682:15: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xfig-3.2.9a/src/w_dir.c:684:48: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xfig-3.2.9a/src/w_dir.c:686:32: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xfig-3.2.9a/src/w_dir.c:680:10: warning: If memory allocation fails, then there is a possible null pointer dereference: cmask [nullPointerOutOfMemory] xfig-3.2.9a/src/w_dir.c:678:20: note: Assuming allocation function fails xfig-3.2.9a/src/w_dir.c:678:20: note: Assignment 'cmask=strdup(mask)', assigned value is 0 xfig-3.2.9a/src/w_dir.c:680:10: note: Null pointer dereference xfig-3.2.9a/src/w_dir.c:824:15: style:inconclusive: Function 'Rescan' argument 1 names different: declaration 'widget' definition 'w'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_dir.h:90:28: note: Function 'Rescan' argument 1 names different: declaration 'widget' definition 'w'. xfig-3.2.9a/src/w_dir.c:824:15: note: Function 'Rescan' argument 1 names different: declaration 'widget' definition 'w'. xfig-3.2.9a/src/w_dir.c:824:26: style:inconclusive: Function 'Rescan' argument 2 names different: declaration 'event' definition 'ev'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_dir.h:90:44: note: Function 'Rescan' argument 2 names different: declaration 'event' definition 'ev'. xfig-3.2.9a/src/w_dir.c:824:26: note: Function 'Rescan' argument 2 names different: declaration 'event' definition 'ev'. xfig-3.2.9a/src/w_dir.c:149:26: style: Variable 'ret_struct' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_dir.c:183:26: style: Variable 'ret_struct' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_dir.c:612:36: style: Parameter 'mask' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_dir.c:912:20: style: Parameter 'root' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_dir.c:912:32: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_drawprim.c:107:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_drawprim.c:169:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_drawprim.c:241:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable JoinMiter [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_drawprim.c:295:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCFont [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_drawprim.c:310:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FillOpaqueStippled [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_drawprim.c:978:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_drawprim.c:1030:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_drawprim.c:1098:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable YXBanded [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_drawprim.c:1172:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCLineWidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_drawprim.c:1273:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCStipple [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_drawprim.c:1389:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_drawprim.c:1409:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_drawprim.c:980:4: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] xfig-3.2.9a/src/w_drawprim.c:978:24: note: Assuming allocation function fails xfig-3.2.9a/src/w_drawprim.c:978:7: note: Assignment 'p=(XPoint*)malloc(npoints*sizeof(XPoint))', assigned value is 0 xfig-3.2.9a/src/w_drawprim.c:980:4: note: Null pointer dereference xfig-3.2.9a/src/w_drawprim.c:981:4: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] xfig-3.2.9a/src/w_drawprim.c:978:24: note: Assuming allocation function fails xfig-3.2.9a/src/w_drawprim.c:978:7: note: Assignment 'p=(XPoint*)malloc(npoints*sizeof(XPoint))', assigned value is 0 xfig-3.2.9a/src/w_drawprim.c:981:4: note: Null pointer dereference xfig-3.2.9a/src/w_drawprim.c:988:33: style: Local variable 'i' shadows outer variable [shadowVariable] xfig-3.2.9a/src/w_drawprim.c:953:15: note: Shadowed declaration xfig-3.2.9a/src/w_drawprim.c:988:33: note: Shadow variable xfig-3.2.9a/src/w_drawprim.c:133:9: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_drawprim.c:1211:11: style: Variable 'fl' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_export.c:204:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:368:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:427:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:444:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:480:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:537:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:567:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:583:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:597:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:625:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:662:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:688:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:793:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:870:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:915:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:934:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:961:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:978:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:1026:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:1090:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:1113:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:1136:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:1166:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_export.c:661:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xfig-3.2.9a/src/w_export.c:687:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xfig-3.2.9a/src/w_export.c:380:23: style:inconclusive: Function 'preview_select' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:380:36: style:inconclusive: Function 'preview_select' argument 2 names different: declaration '' definition 'client_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:380:59: style:inconclusive: Function 'preview_select' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:393:22: style:inconclusive: Function 'orient_select' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:393:35: style:inconclusive: Function 'orient_select' argument 2 names different: declaration 'client_dat' definition 'client_data'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_export.c:170:45: note: Function 'orient_select' argument 2 names different: declaration 'client_dat' definition 'client_data'. xfig-3.2.9a/src/w_export.c:393:35: note: Function 'orient_select' argument 2 names different: declaration 'client_dat' definition 'client_data'. xfig-3.2.9a/src/w_export.c:393:58: style:inconclusive: Function 'orient_select' argument 3 names different: declaration 'call_dat' definition 'call_data'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_export.c:170:67: note: Function 'orient_select' argument 3 names different: declaration 'call_dat' definition 'call_data'. xfig-3.2.9a/src/w_export.c:393:58: note: Function 'orient_select' argument 3 names different: declaration 'call_dat' definition 'call_data'. xfig-3.2.9a/src/w_export.c:409:20: style:inconclusive: Function 'just_select' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:421:38: style:inconclusive: Function 'papersize_select' argument 2 names different: declaration '' definition 'client_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:421:61: style:inconclusive: Function 'papersize_select' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:438:37: style:inconclusive: Function 'multiple_select' argument 2 names different: declaration '' definition 'client_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:438:60: style:inconclusive: Function 'multiple_select' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:474:36: style:inconclusive: Function 'overlap_select' argument 2 names different: declaration '' definition 'client_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:474:59: style:inconclusive: Function 'overlap_select' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:521:33: style:inconclusive: Function 'lang_select' argument 2 names different: declaration 'new_lang' definition 'client_data'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_export.c:169:45: note: Function 'lang_select' argument 2 names different: declaration 'new_lang' definition 'client_data'. xfig-3.2.9a/src/w_export.c:521:33: note: Function 'lang_select' argument 2 names different: declaration 'new_lang' definition 'client_data'. xfig-3.2.9a/src/w_export.c:590:26: style:inconclusive: Function 'background_select' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:590:39: style:inconclusive: Function 'background_select' argument 2 names different: declaration '' definition 'client_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:590:62: style:inconclusive: Function 'background_select' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:618:22: style:inconclusive: Function 'transp_select' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:618:35: style:inconclusive: Function 'transp_select' argument 2 names different: declaration '' definition 'client_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:618:58: style:inconclusive: Function 'transp_select' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_export.c:879:6: style: Local variable 'lx' shadows outer variable [shadowVariable] xfig-3.2.9a/src/w_export.c:93:18: note: Shadowed declaration xfig-3.2.9a/src/w_export.c:879:6: note: Shadow variable xfig-3.2.9a/src/w_export.c:879:9: style: Local variable 'ly' shadows outer variable [shadowVariable] xfig-3.2.9a/src/w_export.c:93:21: note: Shadowed declaration xfig-3.2.9a/src/w_export.c:879:9: note: Shadow variable xfig-3.2.9a/src/w_export.c:879:12: style: Local variable 'ux' shadows outer variable [shadowVariable] xfig-3.2.9a/src/w_export.c:93:12: note: Shadowed declaration xfig-3.2.9a/src/w_export.c:879:12: note: Shadow variable xfig-3.2.9a/src/w_export.c:879:15: style: Local variable 'uy' shadows outer variable [shadowVariable] xfig-3.2.9a/src/w_export.c:93:15: note: Shadowed declaration xfig-3.2.9a/src/w_export.c:879:15: note: Shadow variable xfig-3.2.9a/src/w_export.c:245:14: style: Variable 'l' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_export.c:859:8: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_export.c:944:14: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_export.c:1158:9: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_export.c:366:34: error: Uninitialized variable: transparent [legacyUninitvar] xfig-3.2.9a/src/w_file.c:213:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_file.c:268:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_file.c:367:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_file.c:414:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_file.c:565:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_file.c:773:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_file.c:880:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_file.c:1347:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_file.c:1432:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_file.c:1682:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_file.c:1706:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_file.c:1730:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_file.c:1784:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_file.c:487:9: style: Variable 'home' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_file.c:574:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_file.c:612:13: style: Variable 'home' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_file.c:663:22: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_file.c:654:31: error: Uninitialized variable: fname [uninitvar] xfig-3.2.9a/src/w_file.c:648:6: note: Assuming condition is false xfig-3.2.9a/src/w_file.c:654:31: note: Uninitialized variable: fname xfig-3.2.9a/src/w_fontpanel.c:96:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNborderWidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_fontpanel.c:287:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNforeground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_fontpanel.c:357:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_fontpanel.c:418:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabExclusive [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_fontpanel.c:343:110: style:inconclusive: Function 'fontpane_popup' argument 5 names different: declaration '' definition 'show_widget'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_fontpanel.c:294:13: style: Variable 'lang' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_grid.c:50:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_grid.c:77:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_grid.c:66:16: style: Local variable 'grid_unit' shadows outer variable [shadowVariable] xfig-3.2.9a/src/mode.h:145:40: note: Shadowed declaration xfig-3.2.9a/src/w_grid.c:66:16: note: Shadow variable xfig-3.2.9a/src/w_help.c:54:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFIGDOCDIR [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_help.c:70:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFIGDOCDIR [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_help.c:80:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFIGDOCDIR [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_help.c:91:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFIGDOCDIR [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_help.c:101:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XFIGDOCDIR [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_help.c:115:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_help.c:171:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_help.c:48:22: style:inconclusive: Function 'launch_refman' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:48:35: style:inconclusive: Function 'launch_refman' argument 2 names different: declaration '' definition 'closure'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:48:54: style:inconclusive: Function 'launch_refman' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:65:25: style:inconclusive: Function 'launch_refpdf_en' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:65:38: style:inconclusive: Function 'launch_refpdf_en' argument 2 names different: declaration '' definition 'closure'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:65:57: style:inconclusive: Function 'launch_refpdf_en' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:75:25: style:inconclusive: Function 'launch_refpdf_jp' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:75:38: style:inconclusive: Function 'launch_refpdf_jp' argument 2 names different: declaration '' definition 'closure'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:75:57: style:inconclusive: Function 'launch_refpdf_jp' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:86:21: style:inconclusive: Function 'launch_howto' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:86:34: style:inconclusive: Function 'launch_howto' argument 2 names different: declaration '' definition 'closure'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:86:53: style:inconclusive: Function 'launch_howto' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:96:19: style:inconclusive: Function 'launch_man' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:96:32: style:inconclusive: Function 'launch_man' argument 2 names different: declaration '' definition 'closure'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:96:51: style:inconclusive: Function 'launch_man' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:149:21: style:inconclusive: Function 'launch_about' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:149:34: style:inconclusive: Function 'launch_about' argument 2 names different: declaration '' definition 'closure'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_help.c:149:53: style:inconclusive: Function 'launch_about' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_i18n.c:410:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:576:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNdefaultDistance [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:814:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:832:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:850:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:884:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNforeground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:1003:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtip [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:1084:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button2 [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:1122:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:1147:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:1222:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:1295:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:1621:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:1946:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:2120:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:2164:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:2429:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:2934:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:2950:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtPointer [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:3050:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:3067:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:3081:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:3095:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:3116:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:3497:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:3901:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:3948:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FillTiled [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:4115:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:4827:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable simpleMenuWidgetClass [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:4859:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_indpanel.c:4690:9: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] xfig-3.2.9a/src/w_indpanel.c:4692:4: note: Found duplicate branches for 'if' and 'else'. xfig-3.2.9a/src/w_indpanel.c:4690:9: note: Found duplicate branches for 'if' and 'else'. xfig-3.2.9a/src/w_indpanel.c:2878:39: style:inconclusive: Function 'line_color_select' argument 2 names different: declaration 'new_color' definition 'client_data'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_indpanel.c:2382:51: note: Function 'line_color_select' argument 2 names different: declaration 'new_color' definition 'client_data'. xfig-3.2.9a/src/w_indpanel.c:2878:39: note: Function 'line_color_select' argument 2 names different: declaration 'new_color' definition 'client_data'. xfig-3.2.9a/src/w_indpanel.c:2893:38: style:inconclusive: Function 'box_color_select' argument 2 names different: declaration 'new_color' definition 'client_data'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_indpanel.c:2385:50: note: Function 'box_color_select' argument 2 names different: declaration 'new_color' definition 'client_data'. xfig-3.2.9a/src/w_indpanel.c:2893:38: note: Function 'box_color_select' argument 2 names different: declaration 'new_color' definition 'client_data'. xfig-3.2.9a/src/w_indpanel.c:2908:39: style:inconclusive: Function 'text_color_select' argument 2 names different: declaration 'new_color' definition 'client_data'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_indpanel.c:2388:51: note: Function 'text_color_select' argument 2 names different: declaration 'new_color' definition 'client_data'. xfig-3.2.9a/src/w_indpanel.c:2908:39: note: Function 'text_color_select' argument 2 names different: declaration 'new_color' definition 'client_data'. xfig-3.2.9a/src/w_indpanel.c:3126:43: style:inconclusive: Function 'dimline_panel_preview' argument 2 names different: declaration 'user_data' definition 'new_type'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_indpanel.c:2379:59: note: Function 'dimline_panel_preview' argument 2 names different: declaration 'user_data' definition 'new_type'. xfig-3.2.9a/src/w_indpanel.c:3126:43: note: Function 'dimline_panel_preview' argument 2 names different: declaration 'user_data' definition 'new_type'. xfig-3.2.9a/src/w_indpanel.c:1074:55: style: Parameter 'event' can be declared as pointer to const. However it seems that 'sel_ind_but' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_indpanel.c:737:6: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_indpanel.c:1074:55: note: Parameter 'event' can be declared as pointer to const xfig-3.2.9a/src/w_indpanel.c:1554:41: style: Parameter 'sel_choice' can be declared as pointer to const. However it seems that 'choice_panel_set' is a callback function, if 'sel_choice' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_indpanel.c:1781:23: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_indpanel.c:1554:41: note: Parameter 'sel_choice' can be declared as pointer to const xfig-3.2.9a/src/w_indpanel.c:2926:17: style: Variable 'fixed_text' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_indpanel.c:2942:17: style: Variable 'actual_text' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_indpanel.c:3079:21: style: Variable 'choice' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_indpanel.c:3093:21: style: Variable 'choice' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_indpanel.c:4821:40: style: Parameter 'entries' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_intersect.c:109:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_intersect.c:246:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_intersect.c:357:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_intersect.c:666:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_intersect.c:803:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_intersect.c:1110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_intersect.c:793:20: style: Variable 'p_start' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_intersect.c:292:27: warning: Uninitialized variable: hix [uninitvar] xfig-3.2.9a/src/w_intersect.c:264:25: note: Assuming condition is false xfig-3.2.9a/src/w_intersect.c:292:27: note: Uninitialized variable: hix xfig-3.2.9a/src/w_intersect.c:293:27: warning: Uninitialized variable: hiy [uninitvar] xfig-3.2.9a/src/w_intersect.c:264:25: note: Assuming condition is false xfig-3.2.9a/src/w_intersect.c:293:27: note: Uninitialized variable: hiy xfig-3.2.9a/src/w_keyboard.c:69:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_keyboard.c:81:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_keyboard.c:141:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_keyboard.c:432:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable transientShellWidgetClass [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_keyboard.c:499:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_keyboard.c:514:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_keyboard.c:139:12: style: Condition 'NULL==pmatch' is always true [knownConditionTrueFalse] xfig-3.2.9a/src/w_keyboard.c:131:25: note: Assignment 'pmatch=NULL', assigned value is 0 xfig-3.2.9a/src/w_keyboard.c:139:12: note: Condition 'NULL==pmatch' is always true xfig-3.2.9a/src/w_keyboard.c:366:9: warning: If memory allocation fails, then there is a possible null pointer dereference: keyboard_history [nullPointerOutOfMemory] xfig-3.2.9a/src/w_keyboard.c:365:27: note: Assuming allocation function fails xfig-3.2.9a/src/w_keyboard.c:365:27: note: Assignment 'keyboard_history=malloc(32*sizeof(struct keyboard_history_s))', assigned value is 0 xfig-3.2.9a/src/w_keyboard.c:366:9: note: Null pointer dereference xfig-3.2.9a/src/w_keyboard.c:369:2: warning: If memory allocation fails, then there is a possible null pointer dereference: keyboard_history [nullPointerOutOfMemory] xfig-3.2.9a/src/w_keyboard.c:365:27: note: Assuming allocation function fails xfig-3.2.9a/src/w_keyboard.c:365:27: note: Assignment 'keyboard_history=malloc(32*sizeof(struct keyboard_history_s))', assigned value is 0 xfig-3.2.9a/src/w_keyboard.c:369:2: note: Null pointer dereference xfig-3.2.9a/src/w_keyboard.c:370:2: warning: If memory allocation fails, then there is a possible null pointer dereference: keyboard_history [nullPointerOutOfMemory] xfig-3.2.9a/src/w_keyboard.c:365:27: note: Assuming allocation function fails xfig-3.2.9a/src/w_keyboard.c:365:27: note: Assignment 'keyboard_history=malloc(32*sizeof(struct keyboard_history_s))', assigned value is 0 xfig-3.2.9a/src/w_keyboard.c:370:2: note: Null pointer dereference xfig-3.2.9a/src/w_keyboard.c:371:2: warning: If memory allocation fails, then there is a possible null pointer dereference: keyboard_history [nullPointerOutOfMemory] xfig-3.2.9a/src/w_keyboard.c:365:27: note: Assuming allocation function fails xfig-3.2.9a/src/w_keyboard.c:365:27: note: Assignment 'keyboard_history=malloc(32*sizeof(struct keyboard_history_s))', assigned value is 0 xfig-3.2.9a/src/w_keyboard.c:371:2: note: Null pointer dereference xfig-3.2.9a/src/w_keyboard.c:466:3: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] xfig-3.2.9a/src/w_keyboard.c:465:15: note: Assuming allocation function fails xfig-3.2.9a/src/w_keyboard.c:465:15: note: Assignment 'str=malloc(80)', assigned value is 0 xfig-3.2.9a/src/w_keyboard.c:466:3: note: Null pointer dereference xfig-3.2.9a/src/w_keyboard.c:469:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] xfig-3.2.9a/src/w_keyboard.c:465:15: note: Assuming allocation function fails xfig-3.2.9a/src/w_keyboard.c:465:15: note: Assignment 'str=malloc(80)', assigned value is 0 xfig-3.2.9a/src/w_keyboard.c:469:3: note: Null pointer dereference xfig-3.2.9a/src/w_keyboard.c:94:44: style: Parameter 'event' can be declared as pointer to const. However it seems that 'handle_keyboard_input' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_keyboard.c:405:45: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_keyboard.c:94:44: note: Parameter 'event' can be declared as pointer to const xfig-3.2.9a/src/w_keyboard.c:129:10: style: Variable 'coord' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_keyboard.c:488:23: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_layers.c:130:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromHoriz [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_layers.c:339:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNheight [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_layers.c:384:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNheight [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_layers.c:551:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_layers.c:660:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_layers.c:737:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtip [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_layers.c:784:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_layers.c:456:39: style: Parameter 'event' can be declared as pointer to const. However it seems that 'layer_exposed' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_layers.c:85:43: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_layers.c:456:39: note: Parameter 'event' can be declared as pointer to const xfig-3.2.9a/src/w_layers.c:495:44: style: Parameter 'event' can be declared as pointer to const. However it seems that 'set_depth_to_layer' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_layers.c:87:40: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_layers.c:495:44: note: Parameter 'event' can be declared as pointer to const xfig-3.2.9a/src/w_layers.c:508:38: style: Parameter 'event' can be declared as pointer to const. However it seems that 'toggle_layer' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_layers.c:86:42: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_layers.c:508:38: note: Parameter 'event' can be declared as pointer to const xfig-3.2.9a/src/w_layers.c:545:37: style: Parameter 'event' can be declared as pointer to const. However it seems that 'sweep_layer' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_layers.c:88:41: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_layers.c:545:37: note: Parameter 'event' can be declared as pointer to const xfig-3.2.9a/src/w_layers.c:699:14: style: Variable 'e' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_layers.c:700:12: style: Variable 'a' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_layers.c:701:13: style: Variable 'l' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_layers.c:702:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_layers.c:703:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_library.c:250:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNsensitive [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:351:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:519:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:547:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNonexclusive [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:619:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:1074:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable simpleMenuWidgetClass [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:1117:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:1165:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:1186:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:1194:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:1473:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNsensitive [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:1617:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:1743:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:1751:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:1781:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNsensitive [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:1804:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNborderColor [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:1814:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNborderColor [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_library.c:1390:10: style: Condition 'c=strrchr(path2,'/')' is always false [knownConditionTrueFalse] xfig-3.2.9a/src/w_library.c:1386:31: note: Assuming that condition 'strrchr(path2,'/')!=NULL' is not redundant xfig-3.2.9a/src/w_library.c:1390:10: note: Condition 'c=strrchr(path2,'/')' is always false xfig-3.2.9a/src/w_library.c:1385:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xfig-3.2.9a/src/w_library.c:1081:6: error: Allocation with XtNewString, XtSetArg doesn't release it. [leakNoVarFunctionCall] xfig-3.2.9a/src/w_library.c:605:8: warning: If memory allocation fails, then there is a possible null pointer dereference: library_objects_texts [nullPointerOutOfMemory] xfig-3.2.9a/src/w_library.c:603:45: note: Assuming allocation function fails xfig-3.2.9a/src/w_library.c:603:29: note: Assignment 'library_objects_texts=(char**)malloc(400*sizeof(char*))', assigned value is 0 xfig-3.2.9a/src/w_library.c:605:8: note: Null pointer dereference xfig-3.2.9a/src/w_library.c:609:7: warning: If memory allocation fails, then there is a possible null pointer dereference: lib_compounds [nullPointerOutOfMemory] xfig-3.2.9a/src/w_library.c:607:44: note: Assuming allocation function fails xfig-3.2.9a/src/w_library.c:607:21: note: Assignment 'lib_compounds=(struct F_libobject**)malloc(400*sizeof(struct F_libobject*))', assigned value is 0 xfig-3.2.9a/src/w_library.c:609:7: note: Null pointer dereference xfig-3.2.9a/src/w_library.c:610:7: warning: If memory allocation fails, then there is a possible null pointer dereference: lib_compounds [nullPointerOutOfMemory] xfig-3.2.9a/src/w_library.c:607:44: note: Assuming allocation function fails xfig-3.2.9a/src/w_library.c:607:21: note: Assignment 'lib_compounds=(struct F_libobject**)malloc(400*sizeof(struct F_libobject*))', assigned value is 0 xfig-3.2.9a/src/w_library.c:610:7: note: Null pointer dereference xfig-3.2.9a/src/w_library.c:1107:30: style:inconclusive: Function 'sel_view' argument 2 names different: declaration 'new_view' definition 'client_data'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_library.c:90:42: note: Function 'sel_view' argument 2 names different: declaration 'new_view' definition 'client_data'. xfig-3.2.9a/src/w_library.c:1107:30: note: Function 'sel_view' argument 2 names different: declaration 'new_view' definition 'client_data'. xfig-3.2.9a/src/w_library.c:200:21: style: Variable 'name1' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_library.c:200:29: style: Variable 'name2' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_library.c:504:26: style: Variable 'ret_struct' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_library.c:1206:47: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_library.c:1206:59: style: Parameter 'lname' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_library.c:1246:10: style: Parameter 'longname' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_library.c:1363:12: style: Variable 'c' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_listwidget.c:213:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_HIGHLIGHT [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_listwidget.c:236:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_HIGHLIGHT [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_listwidget.c:259:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_HIGHLIGHT [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_listwidget.c:282:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_HIGHLIGHT [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_listwidget.c:316:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcallback [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_listwidget.c:48:9: style: struct member 'FigListClassPart::make_compiler_happy' is never used. [unusedStructMember] xfig-3.2.9a/src/w_listwidget.c:72:9: style: struct member 'FigListPart::make_compiler_happy' is never used. [unusedStructMember] xfig-3.2.9a/src/w_modepanel.c:388:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_modepanel.c:466:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNforeground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_modepanel.c:514:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtip [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_modepanel.c:547:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1 [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_modepanel.c:629:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_modepanel.c:644:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_modepanel.c:654:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1 [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_modepanel.c:522:56: style: Parameter 'event' can be declared as pointer to const. However it seems that 'sel_mode_but' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_modepanel.c:433:6: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_modepanel.c:522:56: note: Parameter 'event' can be declared as pointer to const xfig-3.2.9a/src/w_modepanel.c:649:31: style: Parameter 'icon' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_mousefun.c:72:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNheight [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_mousefun.c:104:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNheight [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_mousefun.c:115:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtip [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_mousefun.c:128:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNforeground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_mousefun.c:190:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_mousefun.c:229:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_mousefun.c:241:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_mousefun.c:270:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPress [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_mousefun.c:285:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPress [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_mousefun.c:358:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_mousefun.c:369:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_mousefun.c:379:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_mousefun.c:389:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_mousefun.c:399:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_mousefun.c:204:20: style: Parameter 'left' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_mousefun.c:204:32: style: Parameter 'middle' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_mousefun.c:204:46: style: Parameter 'right' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_mousefun.c:204:59: style: Parameter 'sh_left' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_mousefun.c:204:74: style: Parameter 'sh_middle' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_mousefun.c:204:91: style: Parameter 'sh_right' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_msgpanel.c:95:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_msgpanel.c:133:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_msgpanel.c:645:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_msgpanel.c:683:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FMT8BIT [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_msgpanel.c:717:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_msgpanel.c:844:32: style: Condition 'square' is always false [knownConditionTrueFalse] xfig-3.2.9a/src/w_msgpanel.c:828:16: note: Assuming that condition '!square' is not redundant xfig-3.2.9a/src/w_msgpanel.c:844:32: note: Condition 'square' is always false xfig-3.2.9a/src/w_msgpanel.c:616:7: error: Common realloc mistake: 'file_name' nulled but not freed upon failure [memleakOnRealloc] xfig-3.2.9a/src/w_msgpanel.c:608:21: warning: If memory allocation fails, then there is a possible null pointer dereference: file_name [nullPointerOutOfMemory] xfig-3.2.9a/src/w_msgpanel.c:607:21: note: Assuming allocation function fails xfig-3.2.9a/src/w_msgpanel.c:607:21: note: Assignment 'file_name=strdup(s)', assigned value is 0 xfig-3.2.9a/src/w_msgpanel.c:608:21: note: Null pointer dereference xfig-3.2.9a/src/w_msgpanel.c:330:8: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] xfig-3.2.9a/src/w_msgpanel.c:806:11: style: Local variable 'tmpstr' shadows outer variable [shadowVariable] xfig-3.2.9a/src/w_msgpanel.c:72:13: note: Shadowed declaration xfig-3.2.9a/src/w_msgpanel.c:806:11: note: Shadow variable xfig-3.2.9a/src/w_msgpanel.c:806:25: style: Variable 'units' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_print.c:263:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:282:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:309:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:332:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:387:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:404:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:452:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:468:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:503:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:521:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:560:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:585:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:607:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:632:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:649:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:695:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:1286:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:1328:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:1355:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRINTCAP [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:1435:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNborderWidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_print.c:559:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xfig-3.2.9a/src/w_print.c:584:11: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xfig-3.2.9a/src/w_print.c:1509:8: style: Variable 'below' is reassigned a value before the old one has been used. [redundantAssignment] xfig-3.2.9a/src/w_print.c:1474:8: note: below is assigned xfig-3.2.9a/src/w_print.c:1509:8: note: below is overwritten xfig-3.2.9a/src/w_print.c:418:35: style:inconclusive: Function 'orient_select' argument 2 names different: declaration 'new' definition 'data'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_print.c:90:47: note: Function 'orient_select' argument 2 names different: declaration 'new' definition 'data'. xfig-3.2.9a/src/w_print.c:418:35: note: Function 'orient_select' argument 2 names different: declaration 'new' definition 'data'. xfig-3.2.9a/src/w_print.c:434:33: style:inconclusive: Function 'just_select' argument 2 names different: declaration 'new' definition 'new_just'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_print.c:91:45: note: Function 'just_select' argument 2 names different: declaration 'new' definition 'new_just'. xfig-3.2.9a/src/w_print.c:434:33: note: Function 'just_select' argument 2 names different: declaration 'new' definition 'new_just'. xfig-3.2.9a/src/w_print.c:447:38: style:inconclusive: Function 'papersize_select' argument 2 names different: declaration 'new' definition 'new_papersize'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_print.c:94:50: note: Function 'papersize_select' argument 2 names different: declaration 'new' definition 'new_papersize'. xfig-3.2.9a/src/w_print.c:447:38: note: Function 'papersize_select' argument 2 names different: declaration 'new' definition 'new_papersize'. xfig-3.2.9a/src/w_print.c:463:37: style:inconclusive: Function 'multiple_select' argument 2 names different: declaration 'new' definition 'new_multiple'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_print.c:100:49: note: Function 'multiple_select' argument 2 names different: declaration 'new' definition 'new_multiple'. xfig-3.2.9a/src/w_print.c:463:37: note: Function 'multiple_select' argument 2 names different: declaration 'new' definition 'new_multiple'. xfig-3.2.9a/src/w_print.c:498:36: style:inconclusive: Function 'overlap_select' argument 2 names different: declaration 'new' definition 'new_overlap'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_print.c:101:48: note: Function 'overlap_select' argument 2 names different: declaration 'new' definition 'new_overlap'. xfig-3.2.9a/src/w_print.c:498:36: note: Function 'overlap_select' argument 2 names different: declaration 'new' definition 'new_overlap'. xfig-3.2.9a/src/w_print.c:514:39: style:inconclusive: Function 'background_select' argument 2 names different: declaration 'data' definition 'client_data'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_print.c:97:51: note: Function 'background_select' argument 2 names different: declaration 'data' definition 'client_data'. xfig-3.2.9a/src/w_print.c:514:39: note: Function 'background_select' argument 2 names different: declaration 'data' definition 'client_data'. xfig-3.2.9a/src/w_print.c:601:36: style:inconclusive: Function 'printer_select' argument 2 names different: declaration 'new' definition 'new_printer'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_print.c:102:48: note: Function 'printer_select' argument 2 names different: declaration 'new' definition 'new_printer'. xfig-3.2.9a/src/w_print.c:601:36: note: Function 'printer_select' argument 2 names different: declaration 'new' definition 'new_printer'. xfig-3.2.9a/src/w_print.c:1279:28: style:inconclusive: Function 'switch_print_layers' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_print.c:1279:41: style:inconclusive: Function 'switch_print_layers' argument 2 names different: declaration '' definition 'closure'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_print.c:1279:60: style:inconclusive: Function 'switch_print_layers' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_print.c:292:14: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_print.c:620:8: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_print.c:687:11: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_print.c:1539:8: style: Variable 'below' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/w_rottext.c:166:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rottext.c:60:30: style: Parameter 'str2' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_rottext.c:147:30: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_rulers.c:365:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rulers.c:409:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtip [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rulers.c:528:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rulers.c:542:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNforeground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rulers.c:564:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNforeground [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rulers.c:638:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rulers.c:872:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1 [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rulers.c:965:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rulers.c:996:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCFunction [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rulers.c:1166:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rulers.c:1203:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1 [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rulers.c:1273:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rulers.c:1308:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCFunction [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rulers.c:1435:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbackgroundPixmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_rulers.c:439:15: style: Local variable 'scale_factor' shadows outer variable [shadowVariable] xfig-3.2.9a/src/resources.h:145:16: note: Shadowed declaration xfig-3.2.9a/src/w_rulers.c:439:15: note: Shadow variable xfig-3.2.9a/src/w_rulers.c:918:28: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] xfig-3.2.9a/src/w_rulers.c:1249:28: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] xfig-3.2.9a/src/w_rulers.c:1053:23: style: Variable 'rs' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_snap.c:102:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:132:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:188:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:224:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:373:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:667:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:715:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:918:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUGE_VAL [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:1121:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:1177:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:1204:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:1219:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:1235:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:1247:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:1267:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:1291:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:1303:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:1335:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:1367:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:1388:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromHoriz [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_snap.c:149:38: style:inconclusive: Function 'snap_polyline_focus_handler' argument 1 names different: declaration 'a' definition 'l'. [funcArgNamesDifferent] xfig-3.2.9a/src/w_snap.h:42:50: note: Function 'snap_polyline_focus_handler' argument 1 names different: declaration 'a' definition 'l'. xfig-3.2.9a/src/w_snap.c:149:38: note: Function 'snap_polyline_focus_handler' argument 1 names different: declaration 'a' definition 'l'. xfig-3.2.9a/src/w_snap.c:89:23: style: Parameter 'l1' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_snap.c:90:23: style: Parameter 'l2' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_snap.c:109:51: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_snap.c:109:72: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_snap.c:131:20: style: Variable 'point' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_snap.c:162:20: style: Variable 'point' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_snap.c:186:20: style: Variable 'prev_point' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_snap.c:222:20: style: Variable 'min_l1' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_snap.c:223:20: style: Variable 'min_l2' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_snap.c:488:18: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_snap.c:553:18: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_snap.c:687:42: warning: Uninitialized variable: px [uninitvar] xfig-3.2.9a/src/w_snap.c:680:13: note: Assuming condition is false xfig-3.2.9a/src/w_snap.c:687:42: note: Uninitialized variable: px xfig-3.2.9a/src/w_snap.c:687:51: warning: Uninitialized variable: py [uninitvar] xfig-3.2.9a/src/w_snap.c:680:13: note: Assuming condition is false xfig-3.2.9a/src/w_snap.c:687:51: note: Uninitialized variable: py xfig-3.2.9a/src/w_snap.c:735:23: warning: Uninitialized variable: tx [uninitvar] xfig-3.2.9a/src/w_snap.c:729:14: note: Assuming condition is false xfig-3.2.9a/src/w_snap.c:735:23: note: Uninitialized variable: tx xfig-3.2.9a/src/w_snap.c:736:23: warning: Uninitialized variable: ty [uninitvar] xfig-3.2.9a/src/w_snap.c:729:14: note: Assuming condition is false xfig-3.2.9a/src/w_snap.c:736:23: note: Uninitialized variable: ty xfig-3.2.9a/src/w_snap.c:928:26: warning: Uninitialized variable: p [uninitvar] xfig-3.2.9a/src/w_snap.c:923:11: note: Assuming condition is false xfig-3.2.9a/src/w_snap.c:928:26: note: Uninitialized variable: p xfig-3.2.9a/src/w_srchrepl.c:270:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_srchrepl.c:294:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FMT8BIT [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_srchrepl.c:320:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_srchrepl.c:356:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_srchrepl.c:419:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_srchrepl.c:430:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_srchrepl.c:640:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_srchrepl.c:814:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_srchrepl.c:829:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_srchrepl.c:931:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_srchrepl.c:946:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_srchrepl.c:964:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_srchrepl.c:157:37: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_srchrepl.c:157:48: style: Parameter 'pattern' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_srchrepl.c:907:13: style: Variable 't' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_srchrepl.c:699:11: style: Variable 'label' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/w_style.c:332:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_style.c:624:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_style.c:639:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_style.c:655:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_style.c:678:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_style.c:769:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtitle [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_style.c:1006:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_style.c:1024:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtGrabNone [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_style.c:493:26: warning: Either the condition 'j<16' is redundant or the array 'family[ii-1].style[16]' is accessed at index 16, which is out of bounds. [arrayIndexOutOfBoundsCond] xfig-3.2.9a/src/w_style.c:483:15: note: Assuming that condition 'j<16' is not redundant xfig-3.2.9a/src/w_style.c:493:26: note: Array index out of bounds xfig-3.2.9a/src/w_style.c:282:10: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xfig-3.2.9a/src/w_style.c:292:30: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xfig-3.2.9a/src/w_style.c:334:5: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xfig-3.2.9a/src/w_style.c:116:9: warning: If memory allocation fails, then there is a possible null pointer dereference: (int*)style->element[j].value [nullPointerOutOfMemory] xfig-3.2.9a/src/w_style.c:115:40: note: Assuming allocation function fails xfig-3.2.9a/src/w_style.c:115:40: note: Assignment 'style->element[j].value=malloc(sizeof(int))', assigned value is 0 xfig-3.2.9a/src/w_style.c:116:9: note: Null pointer dereference xfig-3.2.9a/src/w_style.c:121:9: warning: If memory allocation fails, then there is a possible null pointer dereference: (float*)style->element[j].value [nullPointerOutOfMemory] xfig-3.2.9a/src/w_style.c:120:40: note: Assuming allocation function fails xfig-3.2.9a/src/w_style.c:120:40: note: Assignment 'style->element[j].value=malloc(sizeof(float))', assigned value is 0 xfig-3.2.9a/src/w_style.c:121:9: note: Null pointer dereference xfig-3.2.9a/src/w_style.c:126:9: warning: If memory allocation fails, then there is a possible null pointer dereference: (int*)style->element[j].value [nullPointerOutOfMemory] xfig-3.2.9a/src/w_style.c:125:40: note: Assuming allocation function fails xfig-3.2.9a/src/w_style.c:125:40: note: Assignment 'style->element[j].value=malloc(sizeof(int))', assigned value is 0 xfig-3.2.9a/src/w_style.c:126:9: note: Null pointer dereference xfig-3.2.9a/src/w_style.c:303:9: warning: If memory allocation fails, then there is a possible null pointer dereference: (int*)style->element[i].value [nullPointerOutOfMemory] xfig-3.2.9a/src/w_style.c:302:40: note: Assuming allocation function fails xfig-3.2.9a/src/w_style.c:302:40: note: Assignment 'style->element[i].value=malloc(sizeof(int))', assigned value is 0 xfig-3.2.9a/src/w_style.c:303:9: note: Null pointer dereference xfig-3.2.9a/src/w_style.c:308:9: warning: If memory allocation fails, then there is a possible null pointer dereference: (float*)style->element[i].value [nullPointerOutOfMemory] xfig-3.2.9a/src/w_style.c:307:40: note: Assuming allocation function fails xfig-3.2.9a/src/w_style.c:307:40: note: Assignment 'style->element[i].value=malloc(sizeof(float))', assigned value is 0 xfig-3.2.9a/src/w_style.c:308:9: note: Null pointer dereference xfig-3.2.9a/src/w_style.c:313:9: warning: If memory allocation fails, then there is a possible null pointer dereference: (int*)style->element[i].value [nullPointerOutOfMemory] xfig-3.2.9a/src/w_style.c:312:40: note: Assuming allocation function fails xfig-3.2.9a/src/w_style.c:312:40: note: Assignment 'style->element[i].value=malloc(sizeof(int))', assigned value is 0 xfig-3.2.9a/src/w_style.c:313:9: note: Null pointer dereference xfig-3.2.9a/src/w_style.c:394:13: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] xfig-3.2.9a/src/w_style.c:392:18: note: Assuming allocation function fails xfig-3.2.9a/src/w_style.c:392:18: note: Assignment 'file=fopen(name,"w")', assigned value is 0 xfig-3.2.9a/src/w_style.c:394:13: note: Null pointer dereference xfig-3.2.9a/src/w_style.c:174:35: style: Parameter 'style' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_style.c:401:56: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_style.c:425:33: style: Parameter 'style_name' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_style.c:458:66: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_style.c:501:61: style: Parameter 'family_name' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_style.c:501:80: style: Parameter 'style_name' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_style.c:593:26: style: Variable 'ret_struct' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_style.c:606:26: style: Variable 'ret_struct' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_style.c:344:4: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xfig-3.2.9a/src/w_util.c:251:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNallowShellResize [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:381:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable simpleMenuWidgetClass [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:411:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:426:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable caddr_t [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:457:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNheight [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:603:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:620:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:645:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:669:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:693:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:724:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonReleaseMask [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:748:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNcallback [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:816:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromVert [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:970:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNinsertPosition [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:1019:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:1091:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtIMAll [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:1152:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:1166:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:1202:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNdefaultDistance [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:1287:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNbitmap [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:1326:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtitle [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:1358:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNheight [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:1503:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:1628:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:1686:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:1807:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DoRed [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:2020:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable scrollbarWidgetClass [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_util.c:1898:6: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xfig-3.2.9a/src/w_util.c:1908:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xfig-3.2.9a/src/w_util.c:1923:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xfig-3.2.9a/src/w_util.c:1486:74: style:inconclusive: Function 'make_grid_options' argument 14 names different: declaration '' definition 'grid_minor_select'. [funcArgNamesDifferentUnnamed] xfig-3.2.9a/src/w_util.c:402:46: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'CvtStringToFloat' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_util.c:431:52: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_util.c:402:46: note: Parameter 'num_args' can be declared as pointer to const xfig-3.2.9a/src/w_util.c:417:43: style: Parameter 'num_args' can be declared as pointer to const. However it seems that 'CvtIntToFloat' is a callback function, if 'num_args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xfig-3.2.9a/src/w_util.c:432:49: note: You might need to cast the function pointer here xfig-3.2.9a/src/w_util.c:417:43: note: Parameter 'num_args' can be declared as pointer to const xfig-3.2.9a/src/w_util.c:617:18: style: Variable 'spins' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_util.c:641:18: style: Variable 'spins' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_util.c:666:18: style: Variable 'spins' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_util.c:690:18: style: Variable 'spins' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_util.c:1011:53: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_util.c:1184:52: style: Parameter 'format' can be declared as pointer to const [constParameterPointer] xfig-3.2.9a/src/w_util.c:1335:22: style: Variable 'xc' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/src/w_util.c:1682:10: style: Variable 'tol' can be declared as const array [constVariable] xfig-3.2.9a/src/w_zoom.c:69:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button2 [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/w_zoom.c:141:26: style: Variable 'canvas_rightbut_proc' is reassigned a value before the old one has been used. [redundantAssignment] xfig-3.2.9a/src/w_zoom.c:140:50: note: canvas_rightbut_proc is assigned xfig-3.2.9a/src/w_zoom.c:141:26: note: canvas_rightbut_proc is overwritten xfig-3.2.9a/src/xfigmain.c:641:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/xfigmain.c:1661:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNvisual [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/xfigmain.c:1756:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/xfigmain.c:1776:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/xfigmain.c:1809:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNiconX [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/xfigmain.c:1859:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/xfigmain.c:1951:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNtitle [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/xfigmain.c:1964:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNwidth [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/xfigmain.c:2047:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/xfigmain.c:2085:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNfromHoriz [valueFlowBailoutIncompleteVar] xfig-3.2.9a/src/xfigmain.c:1629:19: style: Local variable 'cnt' shadows outer variable [shadowVariable] xfig-3.2.9a/src/xfigmain.c:106:12: note: Shadowed declaration xfig-3.2.9a/src/xfigmain.c:1629:19: note: Shadow variable xfig-3.2.9a/src/xfigmain.c:633:9: style: Variable 'dval' can be declared as pointer to const [constVariablePointer] xfig-3.2.9a/tests/test1.c:45:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable userscale [valueFlowBailoutIncompleteVar] xfig-3.2.9a/tests/test2.c:55:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur_gridtype [valueFlowBailoutIncompleteVar] xfig-3.2.9a/tests/test2.c:90:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable userscale [valueFlowBailoutIncompleteVar] xfig-3.2.9a/tests/test3.c:41:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ghostscript [valueFlowBailoutIncompleteVar] xfig-3.2.9a/tests/test4.c:57:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable userscale [valueFlowBailoutIncompleteVar] diff: head xfig-3.2.9a/src/d_text.c:1358:18: style:inconclusive: Function 'xim_set_spot' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/d_text.c:1358:25: style:inconclusive: Function 'xim_set_spot' argument 2 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/d_text.c:1404:24: style:inconclusive: Function 'close_preedit_proc' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/d_text.c:1404:31: style:inconclusive: Function 'close_preedit_proc' argument 2 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/d_text.c:1418:23: style:inconclusive: Function 'open_preedit_proc' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/d_text.c:1418:30: style:inconclusive: Function 'open_preedit_proc' argument 2 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/d_text.c:1454:24: style:inconclusive: Function 'paste_preedit_proc' argument 1 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/d_text.c:1454:31: style:inconclusive: Function 'paste_preedit_proc' argument 2 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:110:25: style:inconclusive: Function 'select_axe_object' argument 1 names different: declaration '' definition 'obj'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:110:34: style:inconclusive: Function 'select_axe_object' argument 2 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:110:44: style:inconclusive: Function 'select_axe_object' argument 3 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:110:51: style:inconclusive: Function 'select_axe_object' argument 4 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:110:63: style:inconclusive: Function 'select_axe_object' argument 5 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:110:76: style:inconclusive: Function 'select_axe_object' argument 6 names different: declaration '' definition 'q'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:134:25: style:inconclusive: Function 'clear_axe_objects' argument 1 names different: declaration '' definition 'obj'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:134:34: style:inconclusive: Function 'clear_axe_objects' argument 2 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:134:44: style:inconclusive: Function 'clear_axe_objects' argument 3 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:134:51: style:inconclusive: Function 'clear_axe_objects' argument 4 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:134:63: style:inconclusive: Function 'clear_axe_objects' argument 5 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:134:76: style:inconclusive: Function 'clear_axe_objects' argument 6 names different: declaration '' definition 'q'. [funcArgNamesDifferentUnnamed] 2.20.0 xfig-3.2.9a/src/e_chop.c:752:41: warning: If memory allocation fails, then there is a possible null pointer dereference: s_points [nullPointerOutOfMemory] xfig-3.2.9a/src/e_chop.c:744:22: note: Assuming allocation function fails xfig-3.2.9a/src/e_chop.c:744:22: note: Assignment 's_points=malloc((isect_cb.nr_isects+1)*sizeof(struct s_point_s))', assigned value is 0 xfig-3.2.9a/src/e_chop.c:752:41: note: Null pointer dereference 2.20.0 xfig-3.2.9a/src/e_chop.c:752:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s_points [nullPointerOutOfMemory] xfig-3.2.9a/src/e_chop.c:744:22: note: Assuming allocation function fails xfig-3.2.9a/src/e_chop.c:744:22: note: Assignment 's_points=malloc((isect_cb.nr_isects+1)*sizeof(struct s_point_s))', assigned value is 0 xfig-3.2.9a/src/e_chop.c:752:5: note: Null pointer dereference 2.20.0 xfig-3.2.9a/src/e_chop.c:753:41: warning: If memory allocation fails, then there is a possible null pointer dereference: s_points [nullPointerOutOfMemory] xfig-3.2.9a/src/e_chop.c:744:22: note: Assuming allocation function fails xfig-3.2.9a/src/e_chop.c:744:22: note: Assignment 's_points=malloc((isect_cb.nr_isects+1)*sizeof(struct s_point_s))', assigned value is 0 xfig-3.2.9a/src/e_chop.c:753:41: note: Null pointer dereference 2.20.0 xfig-3.2.9a/src/e_chop.c:753:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s_points [nullPointerOutOfMemory] xfig-3.2.9a/src/e_chop.c:744:22: note: Assuming allocation function fails xfig-3.2.9a/src/e_chop.c:744:22: note: Assignment 's_points=malloc((isect_cb.nr_isects+1)*sizeof(struct s_point_s))', assigned value is 0 xfig-3.2.9a/src/e_chop.c:753:5: note: Null pointer dereference 2.20.0 xfig-3.2.9a/src/e_chop.c:754:56: warning: If memory allocation fails, then there is a possible null pointer dereference: s_points [nullPointerOutOfMemory] xfig-3.2.9a/src/e_chop.c:744:22: note: Assuming allocation function fails xfig-3.2.9a/src/e_chop.c:744:22: note: Assignment 's_points=malloc((isect_cb.nr_isects+1)*sizeof(struct s_point_s))', assigned value is 0 xfig-3.2.9a/src/e_chop.c:754:56: note: Null pointer dereference 2.20.0 xfig-3.2.9a/src/e_chop.c:754:5: warning: If memory allocation fails, then there is a possible null pointer dereference: s_points [nullPointerOutOfMemory] xfig-3.2.9a/src/e_chop.c:744:22: note: Assuming allocation function fails xfig-3.2.9a/src/e_chop.c:744:22: note: Assignment 's_points=malloc((isect_cb.nr_isects+1)*sizeof(struct s_point_s))', assigned value is 0 xfig-3.2.9a/src/e_chop.c:754:5: note: Null pointer dereference head xfig-3.2.9a/src/e_chop.c:829:25: style:inconclusive: Function 'select_log_object' argument 1 names different: declaration '' definition 'obj'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:829:34: style:inconclusive: Function 'select_log_object' argument 2 names different: declaration '' definition 'type'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:829:44: style:inconclusive: Function 'select_log_object' argument 3 names different: declaration '' definition 'x'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:829:51: style:inconclusive: Function 'select_log_object' argument 4 names different: declaration '' definition 'y'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:829:63: style:inconclusive: Function 'select_log_object' argument 5 names different: declaration '' definition 'p'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_chop.c:829:75: style:inconclusive: Function 'select_log_object' argument 6 names different: declaration '' definition 'q'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_edit.c:3316:22: style: Parameter 'object_type' can be declared as pointer to const [constParameterPointer] head xfig-3.2.9a/src/e_edit.c:3317:39: style:inconclusive: Function 'generic_window' argument 5 names different: declaration '' definition 'generics'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_edit.c:3317:57: style:inconclusive: Function 'generic_window' argument 6 names different: declaration '' definition 'arrows'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/e_edit.c:3318:9: style:inconclusive: Function 'generic_window' argument 7 names different: declaration '' definition 'comments'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/f_neuclrtab.c:199:56: style:inconclusive: Function 'neu_dith_colrs' argument 2 names different: declaration '' definition 'cs'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/u_ghostscript.c:378:22: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] head xfig-3.2.9a/src/u_ghostscript.c:384:8: style: Variable 'fmt' can be declared as pointer to const [constVariablePointer] head xfig-3.2.9a/src/w_export.c:1158:9: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] head xfig-3.2.9a/src/w_export.c:245:14: style: Variable 'l' can be declared as pointer to const [constVariablePointer] head xfig-3.2.9a/src/w_export.c:380:23: style:inconclusive: Function 'preview_select' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:380:36: style:inconclusive: Function 'preview_select' argument 2 names different: declaration '' definition 'client_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:380:59: style:inconclusive: Function 'preview_select' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:393:22: style:inconclusive: Function 'orient_select' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:409:20: style:inconclusive: Function 'just_select' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:421:38: style:inconclusive: Function 'papersize_select' argument 2 names different: declaration '' definition 'client_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:421:61: style:inconclusive: Function 'papersize_select' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:438:37: style:inconclusive: Function 'multiple_select' argument 2 names different: declaration '' definition 'client_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:438:60: style:inconclusive: Function 'multiple_select' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:474:36: style:inconclusive: Function 'overlap_select' argument 2 names different: declaration '' definition 'client_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:474:59: style:inconclusive: Function 'overlap_select' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:590:26: style:inconclusive: Function 'background_select' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:590:39: style:inconclusive: Function 'background_select' argument 2 names different: declaration '' definition 'client_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:590:62: style:inconclusive: Function 'background_select' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:618:22: style:inconclusive: Function 'transp_select' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:618:35: style:inconclusive: Function 'transp_select' argument 2 names different: declaration '' definition 'client_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_export.c:618:58: style:inconclusive: Function 'transp_select' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_fontpanel.c:343:110: style:inconclusive: Function 'fontpane_popup' argument 5 names different: declaration '' definition 'show_widget'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:149:21: style:inconclusive: Function 'launch_about' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:149:34: style:inconclusive: Function 'launch_about' argument 2 names different: declaration '' definition 'closure'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:149:53: style:inconclusive: Function 'launch_about' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:48:22: style:inconclusive: Function 'launch_refman' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:48:35: style:inconclusive: Function 'launch_refman' argument 2 names different: declaration '' definition 'closure'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:48:54: style:inconclusive: Function 'launch_refman' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:65:25: style:inconclusive: Function 'launch_refpdf_en' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:65:38: style:inconclusive: Function 'launch_refpdf_en' argument 2 names different: declaration '' definition 'closure'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:65:57: style:inconclusive: Function 'launch_refpdf_en' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:75:25: style:inconclusive: Function 'launch_refpdf_jp' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:75:38: style:inconclusive: Function 'launch_refpdf_jp' argument 2 names different: declaration '' definition 'closure'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:75:57: style:inconclusive: Function 'launch_refpdf_jp' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:86:21: style:inconclusive: Function 'launch_howto' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:86:34: style:inconclusive: Function 'launch_howto' argument 2 names different: declaration '' definition 'closure'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:86:53: style:inconclusive: Function 'launch_howto' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:96:19: style:inconclusive: Function 'launch_man' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:96:32: style:inconclusive: Function 'launch_man' argument 2 names different: declaration '' definition 'closure'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_help.c:96:51: style:inconclusive: Function 'launch_man' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] 2.20.0 xfig-3.2.9a/src/w_indpanel.c:1714:34: style: The if condition is the same as the previous if condition [duplicateCondition] xfig-3.2.9a/src/w_indpanel.c:1710:34: note: First condition xfig-3.2.9a/src/w_indpanel.c:1714:34: note: Second condition head xfig-3.2.9a/src/w_indpanel.c:4821:40: style: Parameter 'entries' can be declared as pointer to const [constParameterPointer] head xfig-3.2.9a/src/w_print.c:1279:28: style:inconclusive: Function 'switch_print_layers' argument 1 names different: declaration '' definition 'w'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_print.c:1279:41: style:inconclusive: Function 'switch_print_layers' argument 2 names different: declaration '' definition 'closure'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_print.c:1279:60: style:inconclusive: Function 'switch_print_layers' argument 3 names different: declaration '' definition 'call_data'. [funcArgNamesDifferentUnnamed] head xfig-3.2.9a/src/w_print.c:687:11: style: Variable 'unit' can be declared as pointer to const [constVariablePointer] head xfig-3.2.9a/src/w_util.c:1486:74: style:inconclusive: Function 'make_grid_options' argument 14 names different: declaration '' definition 'grid_minor_select'. [funcArgNamesDifferentUnnamed] DONE