2024-04-23 09:12 ftp://ftp.de.debian.org/debian/pool/main/x/xsnow/xsnow_3.7.8.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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 -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.14.0 head-info: 9b87f67 (2024-04-23 10:17:07 +0200) count: 330 330 elapsed-time: 17.6 17.7 head-timing-info: old-timing-info: head results: xsnow-3.7.8/src/Santa.c:144:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/Santa.c:165:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/Santa.c:448:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/Santa.c:207:14: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.7.8/src/Santa.c:151:8: note: Shadowed declaration xsnow-3.7.8/src/Santa.c:207:14: note: Shadow variable xsnow-3.7.8/src/aurora.c:128:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/aurora.c:250:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_ANTIALIAS_NONE [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/aurora.c:958:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsl_interp_linear [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/aurora.c:409:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.7.8/src/aurora.c:420:10: style: Redundant initialization for 'scale'. The initialized value is overwritten before it is read. [redundantInitialization] xsnow-3.7.8/src/aurora.c:417:17: note: scale is initialized xsnow-3.7.8/src/aurora.c:420:10: note: scale is overwritten xsnow-3.7.8/src/aurora.c:1010:7: style: Redundant initialization for 'm1'. The initialized value is overwritten before it is read. [redundantInitialization] xsnow-3.7.8/src/aurora.c:1008:13: note: m1 is initialized xsnow-3.7.8/src/aurora.c:1010:7: note: m1 is overwritten xsnow-3.7.8/src/aurora.c:312:7: style: Same expression used in consecutive assignments of 'zmin' and 'zmax'. [duplicateAssignExpression] xsnow-3.7.8/src/aurora.c:313:7: note: Same expression used in consecutive assignments of 'zmin' and 'zmax'. xsnow-3.7.8/src/aurora.c:312:7: note: Same expression used in consecutive assignments of 'zmin' and 'zmax'. xsnow-3.7.8/src/aurora.c:666:11: style:inconclusive: Same expression used in consecutive assignments of 'ymin' and 'ymax'. [duplicateAssignExpression] xsnow-3.7.8/src/aurora.c:667:11: note: Same expression used in consecutive assignments of 'ymin' and 'ymax'. xsnow-3.7.8/src/aurora.c:666:11: note: Same expression used in consecutive assignments of 'ymin' and 'ymax'. xsnow-3.7.8/src/aurora.c:994:11: style:inconclusive: Same expression used in consecutive assignments of 'pmin' and 'pmax'. [duplicateAssignExpression] xsnow-3.7.8/src/aurora.c:995:11: note: Same expression used in consecutive assignments of 'pmin' and 'pmax'. xsnow-3.7.8/src/aurora.c:994:11: note: Same expression used in consecutive assignments of 'pmin' and 'pmax'. xsnow-3.7.8/src/aurora.c:244:14: style: Local variable 'a' shadows outer variable [shadowVariable] xsnow-3.7.8/src/aurora.c:60:25: note: Shadowed declaration xsnow-3.7.8/src/aurora.c:244:14: note: Shadow variable xsnow-3.7.8/src/aurora.c:317:13: style: Local variable 'd' shadows outer argument [shadowArgument] xsnow-3.7.8/src/aurora.c:230:23: note: Shadowed declaration xsnow-3.7.8/src/aurora.c:317:13: note: Shadow variable xsnow-3.7.8/src/aurora.c:351:16: style: Local variable 'd' shadows outer argument [shadowArgument] xsnow-3.7.8/src/aurora.c:230:23: note: Shadowed declaration xsnow-3.7.8/src/aurora.c:351:16: note: Shadow variable xsnow-3.7.8/src/aurora.c:803:7: style: Local variable 'd' shadows outer variable [shadowVariable] xsnow-3.7.8/src/aurora.c:713:11: note: Shadowed declaration xsnow-3.7.8/src/aurora.c:803:7: note: Shadow variable xsnow-3.7.8/src/birds.c:273:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/birds.c:629:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/birds.c:735:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/birds.c:883:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cairo_surface_destroy [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/birds.c:1015:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/birds.c:434:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.7.8/src/birds.c:377:14: style: The if condition is the same as the previous if condition [duplicateCondition] xsnow-3.7.8/src/birds.c:369:14: note: First condition xsnow-3.7.8/src/birds.c:377:14: note: Second condition xsnow-3.7.8/src/birds.c:644:15: style: Condition 'ih<1' is always false [knownConditionTrueFalse] xsnow-3.7.8/src/birds.c:623:39: note: Assuming that condition 'ih<=0' is not redundant xsnow-3.7.8/src/birds.c:644:15: note: Condition 'ih<1' is always false xsnow-3.7.8/src/birds.c:585:16: style: Redundant initialization for 'orient'. The initialized value is overwritten before it is read. [redundantInitialization] xsnow-3.7.8/src/birds.c:580:17: note: orient is initialized xsnow-3.7.8/src/birds.c:585:16: note: orient is overwritten xsnow-3.7.8/src/birds.c:249:24: style: Parameter 'bird' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/birds.c:328:19: style: Variable 'b' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/birds.c:687:17: style: Variable 'bird' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/blowoff.c:44:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/clientwin.c:62:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/clientwin.c:87:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InputOutput [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/clientwin.c:108:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/clientwin.c:159:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/clientwin.c:217:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/clientwin.c:205:48: style:inconclusive: Function 'Find_Client' argument 3 names different: declaration 'target_win' definition 'subwin'. [funcArgNamesDifferent] xsnow-3.7.8/src/clientwin.h:47:62: note: Function 'Find_Client' argument 3 names different: declaration 'target_win' definition 'subwin'. xsnow-3.7.8/src/clientwin.c:205:48: note: Function 'Find_Client' argument 3 names different: declaration 'target_win' definition 'subwin'. xsnow-3.7.8/src/csvpos.c:51:25: style: Parameter 'k' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/docs.c:503:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/vroot.h:75:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/dsimple.c:145:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/dsimple.c:292:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/dsimple.c:384:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/vroot.h:74:16: style: Local variable 'dpy' shadows outer variable [shadowVariable] xsnow-3.7.8/src/dsimple.c:70:17: note: Shadowed declaration xsnow-3.7.8/src/vroot.h:74:16: note: Shadow variable xsnow-3.7.8/src/dsimple.c:165:10: style: Variable 'displayname' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/vroot.h:70:19: style: Variable 'save_screen' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/fallensnow.c:83:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/fallensnow.c:328:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/fallensnow.c:542:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_ANTIALIAS_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/fallensnow.c:706:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RectangleIn [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/fallensnow.c:229:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.7.8/src/fallensnow.c:826:6: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] xsnow-3.7.8/src/fallensnow.c:822:10: note: outer condition: !global.IsDouble xsnow-3.7.8/src/fallensnow.c:826:6: note: identical inner condition: !global.IsDouble xsnow-3.7.8/src/fallensnow.c:491:7: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.7.8/src/fallensnow.c:491:7: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.7.8/src/fallensnow.c:497:44: style:inconclusive: Function 'CleanFallenArea' argument 2 names different: declaration 'x' definition 'xstart'. [funcArgNamesDifferent] xsnow-3.7.8/src/fallensnow.h:48:54: note: Function 'CleanFallenArea' argument 2 names different: declaration 'x' definition 'xstart'. xsnow-3.7.8/src/fallensnow.c:497:44: note: Function 'CleanFallenArea' argument 2 names different: declaration 'x' definition 'xstart'. xsnow-3.7.8/src/fallensnow.c:624:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.7.8/src/fallensnow.c:567:11: note: Shadowed declaration xsnow-3.7.8/src/fallensnow.c:624:7: note: Shadow variable xsnow-3.7.8/src/fallensnow.c:659:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.7.8/src/fallensnow.c:567:11: note: Shadowed declaration xsnow-3.7.8/src/fallensnow.c:659:7: note: Shadow variable xsnow-3.7.8/src/fallensnow.c:311:50: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/fallensnow.c:497:34: style: Parameter 'fsnow' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/fallensnow.c:539:15: style: Variable 'acth' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/fallensnow.c:764:43: style: Parameter 'fsnow' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/flags.c:204:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/flags.c:386:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/flags.c:415:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/flags.c:454:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/flags.c:383:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xsnow-3.7.8/src/flags.c:361:4: error: Common realloc mistake: 'FlagsFile' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.7.8/src/flags.c:55:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/flags.c:119:10: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/flags.c:353:10: style: Variable 'h' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/hashtable.cpp:82:24: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/hashtable.cpp:107:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] xsnow-3.7.8/src/ixpm.c:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ixpm.c:115:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ixpm.c:225:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ixpm.c:262:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ixpm.c:295:7: style: Local variable 'l' shadows outer variable [shadowVariable] xsnow-3.7.8/src/ixpm.c:258:8: note: Shadowed declaration xsnow-3.7.8/src/ixpm.c:295:7: note: Shadow variable xsnow-3.7.8/src/ixpm.c:319:7: style: Local variable 'l' shadows outer variable [shadowVariable] xsnow-3.7.8/src/ixpm.c:258:8: note: Shadowed declaration xsnow-3.7.8/src/ixpm.c:319:7: note: Shadow variable xsnow-3.7.8/src/kdtree.c:197:39: style:inconclusive: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. [funcArgNamesDifferent] xsnow-3.7.8/src/kdtree.c:123:39: note: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. xsnow-3.7.8/src/kdtree.c:197:39: note: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. xsnow-3.7.8/src/kdtree.c:436:41: style:inconclusive: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] xsnow-3.7.8/src/kdtree.h:81:48: note: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.7.8/src/kdtree.c:436:41: note: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.7.8/src/kdtree.c:570:47: style:inconclusive: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] xsnow-3.7.8/src/kdtree.h:109:54: note: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.7.8/src/kdtree.c:570:47: note: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.7.8/src/kdtree.c:594:48: style:inconclusive: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] xsnow-3.7.8/src/kdtree.h:110:55: note: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.7.8/src/kdtree.c:594:48: note: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.7.8/src/kdtree.c:647:32: style:inconclusive: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.7.8/src/kdtree.h:115:39: note: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:647:32: note: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:659:34: style:inconclusive: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.7.8/src/kdtree.h:121:41: note: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:659:34: note: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:664:30: style:inconclusive: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.7.8/src/kdtree.h:124:37: note: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:664:30: note: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:669:31: style:inconclusive: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.7.8/src/kdtree.h:129:38: note: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:669:31: note: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:675:33: style:inconclusive: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.7.8/src/kdtree.h:134:40: note: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:675:33: note: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:686:34: style:inconclusive: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.7.8/src/kdtree.h:135:41: note: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:686:34: note: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:700:34: style:inconclusive: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.7.8/src/kdtree.h:136:41: note: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:700:34: note: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:711:35: style:inconclusive: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.7.8/src/kdtree.h:137:42: note: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:711:35: note: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:867:41: style:inconclusive: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.7.8/src/kdtree.c:125:41: note: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:867:41: note: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.7.8/src/kdtree.c:654:31: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/kdtree.c:664:30: style: Parameter 'rset' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/loadmeasure.c:52:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/main.c:377:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LANGUAGES [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/main.c:622:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Below [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/main.c:646:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/main.c:728:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/main.c:897:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/main.c:1034:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/main.c:1067:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConfigureNotify [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/main.c:1101:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/main.c:1193:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/main.c:1246:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdbeBackground [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/main.c:1354:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/main.c:1380:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/main.c:1391:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/main.c:519:8: style: Condition '!StartWindow()' is always false [knownConditionTrueFalse] xsnow-3.7.8/src/main.c:519:20: note: Calling function 'StartWindow' returns 1 xsnow-3.7.8/src/main.c:519:8: note: Condition '!StartWindow()' is always false xsnow-3.7.8/src/main.c:888:7: style: Condition '!dodouble' is always true [knownConditionTrueFalse] xsnow-3.7.8/src/main.c:870:19: note: Assignment 'dodouble=0', assigned value is 0 xsnow-3.7.8/src/main.c:888:7: note: Condition '!dodouble' is always true xsnow-3.7.8/src/main.c:1158:4: style: Statements following 'return' will never be executed. [unreachableCode] xsnow-3.7.8/src/main.c:324:13: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/main.c:662:13: style: Variable 'desktopsession' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/main.c:1137:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/main.c:734:18: style: Variable 'gdkwin' is not assigned a value. [unassignedVariable] xsnow-3.7.8/src/meteor.c:65:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/meteor.c:83:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable red [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/meteor.c:158:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/moon.c:59:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/moon.c:135:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/moon.c:228:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/moon.c:124:16: 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] xsnow-3.7.8/src/moon.c:125:16: 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] xsnow-3.7.8/src/safe_malloc.c:46:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/safe_malloc.c:58:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/scenery.c:108:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/scenery.c:192:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/scenery.c:251:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/scenery.c:419:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmDepth [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/scenery.c:492:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmDepth [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/scenery.c:261:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.7.8/src/scenery.c:228:8: note: Shadowed declaration xsnow-3.7.8/src/scenery.c:261:7: note: Shadow variable xsnow-3.7.8/src/scenery.c:270:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.7.8/src/scenery.c:228:8: note: Shadowed declaration xsnow-3.7.8/src/scenery.c:270:7: note: Shadow variable xsnow-3.7.8/src/scenery.c:118:14: style: Variable 'ta' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/scenery.c:119:14: style: Variable 'tb' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/snow.c:112:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/snow.c:177:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/snow.c:451:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_REGION_OVERLAP_PART [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/snow.c:563:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/snow.c:396:16: style: Condition 'istart<0' is always false [knownConditionTrueFalse] xsnow-3.7.8/src/snow.c:390:16: note: Assuming that condition 'nx>=fsnow->x' is not redundant xsnow-3.7.8/src/snow.c:394:25: note: Assignment 'istart=nx-fsnow->x', assigned value is greater than -1 xsnow-3.7.8/src/snow.c:396:16: note: Condition 'istart<0' is always false xsnow-3.7.8/src/snow.c:882:4: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.7.8/src/snow.c:882:4: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.7.8/src/snow.c:488:28: style: Local variable 'grect' shadows outer variable [shadowVariable] xsnow-3.7.8/src/snow.c:469:29: note: Shadowed declaration xsnow-3.7.8/src/snow.c:488:28: note: Shadow variable xsnow-3.7.8/src/snow.c:489:29: style: Local variable 'in' shadows outer variable [shadowVariable] xsnow-3.7.8/src/snow.c:449:30: note: Shadowed declaration xsnow-3.7.8/src/snow.c:489:29: note: Shadow variable xsnow-3.7.8/src/snow.c:496:31: style: Local variable 'grect' shadows outer variable [shadowVariable] xsnow-3.7.8/src/snow.c:488:28: note: Shadowed declaration xsnow-3.7.8/src/snow.c:496:31: note: Shadow variable xsnow-3.7.8/src/snow.c:497:32: style: Local variable 'in' shadows outer variable [shadowVariable] xsnow-3.7.8/src/snow.c:489:29: note: Shadowed declaration xsnow-3.7.8/src/snow.c:497:32: note: Shadow variable xsnow-3.7.8/src/snow.c:502:27: style: Local variable 'grec' shadows outer variable [shadowVariable] xsnow-3.7.8/src/snow.c:448:29: note: Shadowed declaration xsnow-3.7.8/src/snow.c:502:27: note: Shadow variable xsnow-3.7.8/src/snow.c:331:20: style: Variable 'speedxmaxes' can be declared as const array [constVariable] xsnow-3.7.8/src/snow.c:568:28: style: Parameter 'flake' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/snow.c:880:23: style: Parameter 'flake' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/spline_interpol.c:32:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsl_interp_linear [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/spline_interpol.c:28:36: style:inconclusive: Function 'spline_interpol' argument 1 names different: declaration 'p' definition 'px'. [funcArgNamesDifferent] xsnow-3.7.8/src/spline_interpol.h:51:36: note: Function 'spline_interpol' argument 1 names different: declaration 'p' definition 'px'. xsnow-3.7.8/src/spline_interpol.c:28:36: note: Function 'spline_interpol' argument 1 names different: declaration 'p' definition 'px'. xsnow-3.7.8/src/stars.c:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/stars.c:74:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/stars.c:102:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/stars.c:121:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_ANTIALIAS_NONE [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/stars.c:125:21: style: Variable 'star' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/stars.c:144:21: style: Variable 'star' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/transwindow.c:136:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_DOCK [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/transwindow.c:247:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Below [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/transwindow.c:261:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Above [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/transwindow.c:154:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.7.8/src/transwindow.c:48:52: style:inconclusive: Function 'make_trans_window' argument 2 names different: declaration 'Transwindow' definition 'transwindow'. [funcArgNamesDifferent] xsnow-3.7.8/src/transwindow.h:26:59: note: Function 'make_trans_window' argument 2 names different: declaration 'Transwindow' definition 'transwindow'. xsnow-3.7.8/src/transwindow.c:48:52: note: Function 'make_trans_window' argument 2 names different: declaration 'Transwindow' definition 'transwindow'. xsnow-3.7.8/src/transwindow.c:48:69: style:inconclusive: Function 'make_trans_window' argument 3 names different: declaration 'Xscreen' definition 'xscreen'. [funcArgNamesDifferent] xsnow-3.7.8/src/transwindow.h:26:76: note: Function 'make_trans_window' argument 3 names different: declaration 'Xscreen' definition 'xscreen'. xsnow-3.7.8/src/transwindow.c:48:69: note: Function 'make_trans_window' argument 3 names different: declaration 'Xscreen' definition 'xscreen'. xsnow-3.7.8/src/treesnow.c:52:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/treesnow.c:100:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ui.c:285:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ui.c:316:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_ICONIFIED [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ui.c:549:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ui.c:663:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ui.c:742:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ui.c:870:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ui.c:1109:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xsnow_xml [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ui.c:1250:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ui.c:1404:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_APPLICATION_FLAGS_NONE [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ui.c:1420:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ui.c:1487:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xsnow_xml [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/ui.c:1212:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xsnow-3.7.8/src/ui.c:1220:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xsnow-3.7.8/src/ui.c:299:8: style: Condition '!iconified' is always true [knownConditionTrueFalse] xsnow-3.7.8/src/ui.c:293:7: note: Assuming that condition 'iconified' is not redundant xsnow-3.7.8/src/ui.c:299:8: note: Condition '!iconified' is always true xsnow-3.7.8/src/ui.c:1183:7: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.7.8/src/ui.c:1469:36: style:inconclusive: Function 'yesyes' argument 2 names different: declaration 'data' definition 'window'. [funcArgNamesDifferent] xsnow-3.7.8/src/ui.c:213:43: note: Function 'yesyes' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.7.8/src/ui.c:1469:36: note: Function 'yesyes' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.7.8/src/ui.c:1475:34: style:inconclusive: Function 'nono' argument 2 names different: declaration 'data' definition 'window'. [funcArgNamesDifferent] xsnow-3.7.8/src/ui.c:214:41: note: Function 'nono' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.7.8/src/ui.c:1475:34: note: Function 'nono' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.7.8/src/ui.c:1077:15: style: Local variable 'preview' shadows outer variable [shadowVariable] xsnow-3.7.8/src/ui.c:197:23: note: Shadowed declaration xsnow-3.7.8/src/ui.c:1077:15: note: Shadow variable xsnow-3.7.8/src/ui.c:311:28: style: Parameter 'event' can be declared as pointer to const. However it seems that 'callback_func' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xsnow-3.7.8/src/ui.c:1123:7: note: You might need to cast the function pointer here xsnow-3.7.8/src/ui.c:311:28: note: Parameter 'event' can be declared as pointer to const xsnow-3.7.8/src/ui.c:1212:10: style: Variable 'token' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/ui.c:1469:24: style: Parameter 'w' can be declared as pointer to const. However it seems that 'yesyes' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xsnow-3.7.8/src/ui.c:1446:4: note: You might need to cast the function pointer here xsnow-3.7.8/src/ui.c:1469:24: note: Parameter 'w' can be declared as pointer to const xsnow-3.7.8/src/ui.c:1475:22: style: Parameter 'w' can be declared as pointer to const. However it seems that 'nono' is a callback function, if 'w' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xsnow-3.7.8/src/ui.c:1454:4: note: You might need to cast the function pointer here xsnow-3.7.8/src/ui.c:1475:22: note: Parameter 'w' can be declared as pointer to const xsnow-3.7.8/src/ui.c:328:12: style: struct member '_santa_button::value' is never used. [unusedStructMember] xsnow-3.7.8/src/ui.c:713:15: style: struct member '_general_button::button' is never used. [unusedStructMember] xsnow-3.7.8/src/ui.c:837:15: style: struct member '_snow_button::button' is never used. [unusedStructMember] xsnow-3.7.8/src/utils.c:252:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/utils.c:324:11: style: Condition 'changed' is always true [knownConditionTrueFalse] xsnow-3.7.8/src/utils.c:112:27: style:inconclusive: Function 'myXClearArea' argument 1 names different: declaration 'display' definition 'dsp'. [funcArgNamesDifferent] xsnow-3.7.8/src/utils.h:60:37: note: Function 'myXClearArea' argument 1 names different: declaration 'display' definition 'dsp'. xsnow-3.7.8/src/utils.c:112:27: note: Function 'myXClearArea' argument 1 names different: declaration 'display' definition 'dsp'. xsnow-3.7.8/src/utils.c:142:28: style:inconclusive: Function 'ValidColor' argument 1 names different: declaration 'color' definition 'colorName'. [funcArgNamesDifferent] xsnow-3.7.8/src/utils.h:62:39: note: Function 'ValidColor' argument 1 names different: declaration 'color' definition 'colorName'. xsnow-3.7.8/src/utils.c:142:28: note: Function 'ValidColor' argument 1 names different: declaration 'color' definition 'colorName'. xsnow-3.7.8/src/utils.c:176:38: style:inconclusive: Function 'gaussian' argument 2 names different: declaration 'standard_deviation' definition 'std'. [funcArgNamesDifferent] xsnow-3.7.8/src/utils.h:73:45: note: Function 'gaussian' argument 2 names different: declaration 'standard_deviation' definition 'std'. xsnow-3.7.8/src/utils.c:176:38: note: Function 'gaussian' argument 2 names different: declaration 'standard_deviation' definition 'std'. xsnow-3.7.8/src/utils.c:255:23: style:inconclusive: Function 'ScaleChanged' argument 1 names different: declaration 'prev' definition 'prevscale'. [funcArgNamesDifferent] xsnow-3.7.8/src/utils.h:61:34: note: Function 'ScaleChanged' argument 1 names different: declaration 'prev' definition 'prevscale'. xsnow-3.7.8/src/utils.c:255:23: note: Function 'ScaleChanged' argument 1 names different: declaration 'prev' definition 'prevscale'. xsnow-3.7.8/src/utils.c:335:10: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.7.8/src/utils.c:282:8: note: Shadowed declaration xsnow-3.7.8/src/utils.c:335:10: note: Shadow variable xsnow-3.7.8/src/utils.c:69:10: style: Variable 'h' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/utils.c:97:10: style: Variable 'b' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/utils.c:238:26: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/utils.c:359:10: style: Variable 'a' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/utils.c:385:41: style: Parameter 'myxdo' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/wind.c:50:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/windows.c:68:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/windows.c:95:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expose [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/windows.c:154:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/windows.c:258:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPressMask [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/windows.c:500:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/windows.c:576:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsViewable [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/windows.c:651:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/windows.c:523:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.7.8/src/windows.c:509:11: note: Shadowed declaration xsnow-3.7.8/src/windows.c:523:7: note: Shadow variable xsnow-3.7.8/src/windows.c:195:13: style: Variable 'winfo' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/windows.c:643:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/windows.c:656:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/wmctrl.c:119:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnyPropertyType [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/wmctrl.c:211:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnyPropertyType [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/wmctrl.c:103:8: style: Condition 'firstcall' is always true [knownConditionTrueFalse] xsnow-3.7.8/src/wmctrl.c:102:20: note: Assignment 'firstcall=1', assigned value is 1 xsnow-3.7.8/src/wmctrl.c:103:8: note: Condition 'firstcall' is always true xsnow-3.7.8/src/wmctrl.c:329:6: style: Condition 'properties' is always true [knownConditionTrueFalse] xsnow-3.7.8/src/wmctrl.c:537:7: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.7.8/src/wmctrl.c:537:7: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.7.8/src/wmctrl.c:537:7: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.7.8/src/wmctrl.c:537:7: warning: %d in format string (no. 10) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.7.8/src/wmctrl.c:537:7: warning: %d in format string (no. 11) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.7.8/src/wmctrl.c:156:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] xsnow-3.7.8/src/wmctrl.c:155:8: note: r is assigned xsnow-3.7.8/src/wmctrl.c:156:5: note: r is overwritten xsnow-3.7.8/src/wmctrl.c:170:26: style:inconclusive: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. [funcArgNamesDifferent] xsnow-3.7.8/src/wmctrl.h:27:42: note: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. xsnow-3.7.8/src/wmctrl.c:170:26: note: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. xsnow-3.7.8/src/wmctrl.c:170:40: style:inconclusive: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. [funcArgNamesDifferent] xsnow-3.7.8/src/wmctrl.h:27:50: note: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. xsnow-3.7.8/src/wmctrl.c:170:40: note: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. xsnow-3.7.8/src/wmctrl.c:269:8: style: Local variable 'type' shadows outer variable [shadowVariable] xsnow-3.7.8/src/wmctrl.c:172:9: note: Shadowed declaration xsnow-3.7.8/src/wmctrl.c:269:8: note: Shadow variable xsnow-3.7.8/src/wmctrl.c:270:25: style: Local variable 'b' shadows outer variable [shadowVariable] xsnow-3.7.8/src/wmctrl.c:174:18: note: Shadowed declaration xsnow-3.7.8/src/wmctrl.c:270:25: note: Shadow variable xsnow-3.7.8/src/wmctrl.c:270:32: style: Local variable 'format' shadows outer variable [shadowVariable] xsnow-3.7.8/src/wmctrl.c:173:8: note: Shadowed declaration xsnow-3.7.8/src/wmctrl.c:270:32: note: Shadow variable xsnow-3.7.8/src/wmctrl.c:271:18: style: Local variable 'properties' shadows outer variable [shadowVariable] xsnow-3.7.8/src/wmctrl.c:175:19: note: Shadowed declaration xsnow-3.7.8/src/wmctrl.c:271:18: note: Shadow variable xsnow-3.7.8/src/wmctrl.c:316:12: style: Local variable 'type' shadows outer variable [shadowVariable] xsnow-3.7.8/src/wmctrl.c:172:9: note: Shadowed declaration xsnow-3.7.8/src/wmctrl.c:316:12: note: Shadow variable xsnow-3.7.8/src/wmctrl.c:316:22: style: Local variable 'format' shadows outer variable [shadowVariable] xsnow-3.7.8/src/wmctrl.c:173:8: note: Shadowed declaration xsnow-3.7.8/src/wmctrl.c:316:22: note: Shadow variable xsnow-3.7.8/src/wmctrl.c:316:51: style: Local variable 'b' shadows outer variable [shadowVariable] xsnow-3.7.8/src/wmctrl.c:174:18: note: Shadowed declaration xsnow-3.7.8/src/wmctrl.c:316:51: note: Shadow variable xsnow-3.7.8/src/wmctrl.c:316:69: style: Local variable 'properties' shadows outer variable [shadowVariable] xsnow-3.7.8/src/wmctrl.c:175:19: note: Shadowed declaration xsnow-3.7.8/src/wmctrl.c:316:69: note: Shadow variable xsnow-3.7.8/src/wmctrl.c:341:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.7.8/src/wmctrl.c:285:18: note: Shadowed declaration xsnow-3.7.8/src/wmctrl.c:341:7: note: Shadow variable xsnow-3.7.8/src/wmctrl.c:369:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.7.8/src/wmctrl.c:285:18: note: Shadowed declaration xsnow-3.7.8/src/wmctrl.c:369:7: note: Shadow variable xsnow-3.7.8/src/wmctrl.c:405:20: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.7.8/src/wmctrl.c:285:18: note: Shadowed declaration xsnow-3.7.8/src/wmctrl.c:405:20: note: Shadow variable xsnow-3.7.8/src/wmctrl.c:464:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/wmctrl.c:105:17: style: Variable 'firstcall' is assigned a value that is never used. [unreadVariable] xsnow-3.7.8/src/xdo.c:116:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:133:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:188:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsUnmapped [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:200:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsUnmapped [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:301:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWX [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:311:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PResizeInc [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:359:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:375:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWOverrideRedirect [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:405:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XUrgencyHint [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:426:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PropModeReplace [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:513:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:553:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:586:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:617:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:650:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:679:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:711:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:742:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:774:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_target [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:826:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:844:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:853:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:978:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:992:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1017:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1068:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1194:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1279:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1310:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoSymbol [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1412:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1468:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1494:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnyPropertyType [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1557:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1584:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbUseCoreKbd [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1620:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1641:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMapIndex [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1672:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMapIndex [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1725:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1MotionMask [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1752:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1MotionMask [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1781:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Atom [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1829:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1870:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1902:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Atom [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1956:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1970:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:1997:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo.c:145:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] xsnow-3.7.8/src/xdo.c:191:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.7.8/src/xdo.c:206:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.7.8/src/xdo.c:479:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.7.8/src/xdo.c:499:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.7.8/src/xdo.c:981:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.7.8/src/xdo.c:999:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.7.8/src/xdo.c:1212:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.7.8/src/xdo.c:1608:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.7.8/src/xdo.c:1804:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.7.8/src/xdo.c:1819:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.7.8/src/xdo.c:1423:16: style: The statement 'if (strptr!=NULL) strptr=NULL' is logically equivalent to 'strptr=NULL'. [duplicateConditionalAssign] xsnow-3.7.8/src/xdo.c:1424:14: note: Assignment 'strptr=NULL' xsnow-3.7.8/src/xdo.c:1423:16: note: Condition 'strptr!=NULL' is redundant xsnow-3.7.8/src/xdo.c:428:47: style: Condition 'ret==0' is always true [knownConditionTrueFalse] xsnow-3.7.8/src/xdo.c:427:11: note: Assuming that condition 'ret==0' is not redundant xsnow-3.7.8/src/xdo.c:428:47: note: Condition 'ret==0' is always true xsnow-3.7.8/src/xdo.c:1033:7: warning: %lc in format string (no. 1) requires 'unsigned long' but the argument type is 'signed wchar_t'. [invalidPrintfArgType_uint] xsnow-3.7.8/src/xdo.c:111:28: style:inconclusive: Function 'xdo_new' argument 1 names different: declaration 'display' definition 'display_name'. [funcArgNamesDifferent] xsnow-3.7.8/src/xdo.h:234:28: note: Function 'xdo_new' argument 1 names different: declaration 'display' definition 'display_name'. xsnow-3.7.8/src/xdo.c:111:28: note: Function 'xdo_new' argument 1 names different: declaration 'display' definition 'display_name'. xsnow-3.7.8/src/xdo.c:336:50: style:inconclusive: Function 'xdo_set_window_size' argument 2 names different: declaration 'wid' definition 'window'. [funcArgNamesDifferent] xsnow-3.7.8/src/xdo.h:508:50: note: Function 'xdo_set_window_size' argument 2 names different: declaration 'wid' definition 'window'. xsnow-3.7.8/src/xdo.c:336:50: note: Function 'xdo_set_window_size' argument 2 names different: declaration 'wid' definition 'window'. xsnow-3.7.8/src/xdo.c:336:62: style:inconclusive: Function 'xdo_set_window_size' argument 3 names different: declaration 'w' definition 'width'. [funcArgNamesDifferent] xsnow-3.7.8/src/xdo.h:508:59: note: Function 'xdo_set_window_size' argument 3 names different: declaration 'w' definition 'width'. xsnow-3.7.8/src/xdo.c:336:62: note: Function 'xdo_set_window_size' argument 3 names different: declaration 'w' definition 'width'. xsnow-3.7.8/src/xdo.c:336:73: style:inconclusive: Function 'xdo_set_window_size' argument 4 names different: declaration 'h' definition 'height'. [funcArgNamesDifferent] xsnow-3.7.8/src/xdo.h:508:66: note: Function 'xdo_set_window_size' argument 4 names different: declaration 'h' definition 'height'. xsnow-3.7.8/src/xdo.c:336:73: note: Function 'xdo_set_window_size' argument 4 names different: declaration 'h' definition 'height'. xsnow-3.7.8/src/xdo.c:910:51: style:inconclusive: Function 'xdo_get_mouse_location' argument 2 names different: declaration 'x' definition 'x_ret'. [funcArgNamesDifferent] xsnow-3.7.8/src/xdo.h:312:51: note: Function 'xdo_get_mouse_location' argument 2 names different: declaration 'x' definition 'x_ret'. xsnow-3.7.8/src/xdo.c:910:51: note: Function 'xdo_get_mouse_location' argument 2 names different: declaration 'x' definition 'x_ret'. xsnow-3.7.8/src/xdo.c:910:63: style:inconclusive: Function 'xdo_get_mouse_location' argument 3 names different: declaration 'y' definition 'y_ret'. [funcArgNamesDifferent] xsnow-3.7.8/src/xdo.h:312:59: note: Function 'xdo_get_mouse_location' argument 3 names different: declaration 'y' definition 'y_ret'. xsnow-3.7.8/src/xdo.c:910:63: note: Function 'xdo_get_mouse_location' argument 3 names different: declaration 'y' definition 'y_ret'. xsnow-3.7.8/src/xdo.c:911:33: style:inconclusive: Function 'xdo_get_mouse_location' argument 4 names different: declaration 'screen_num' definition 'screen_num_ret'. [funcArgNamesDifferent] xsnow-3.7.8/src/xdo.h:312:67: note: Function 'xdo_get_mouse_location' argument 4 names different: declaration 'screen_num' definition 'screen_num_ret'. xsnow-3.7.8/src/xdo.c:911:33: note: Function 'xdo_get_mouse_location' argument 4 names different: declaration 'screen_num' definition 'screen_num_ret'. xsnow-3.7.8/src/xdo.c:1163:83: style:inconclusive: Function 'xdo_send_keysequence_window_down' argument 3 names different: declaration 'keysequence' definition 'keyseq'. [funcArgNamesDifferent] xsnow-3.7.8/src/xdo.h:425:19: note: Function 'xdo_send_keysequence_window_down' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.7.8/src/xdo.c:1163:83: note: Function 'xdo_send_keysequence_window_down' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.7.8/src/xdo.c:1168:81: style:inconclusive: Function 'xdo_send_keysequence_window_up' argument 3 names different: declaration 'keysequence' definition 'keyseq'. [funcArgNamesDifferent] xsnow-3.7.8/src/xdo.h:417:19: note: Function 'xdo_send_keysequence_window_up' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.7.8/src/xdo.c:1168:81: note: Function 'xdo_send_keysequence_window_up' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.7.8/src/xdo.c:1173:78: style:inconclusive: Function 'xdo_send_keysequence_window' argument 3 names different: declaration 'keysequence' definition 'keyseq'. [funcArgNamesDifferent] xsnow-3.7.8/src/xdo.h:409:19: note: Function 'xdo_send_keysequence_window' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.7.8/src/xdo.c:1173:78: note: Function 'xdo_send_keysequence_window' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.7.8/src/xdo.c:1937:50: style:inconclusive: Function 'xdo_minimize_window' argument 2 names different: declaration 'wid' definition 'window'. [funcArgNamesDifferent] xsnow-3.7.8/src/xdo.h:642:50: note: Function 'xdo_minimize_window' argument 2 names different: declaration 'wid' definition 'window'. xsnow-3.7.8/src/xdo.c:1937:50: note: Function 'xdo_minimize_window' argument 2 names different: declaration 'wid' definition 'window'. xsnow-3.7.8/src/xdo.c:1612:53: style: Parameter 'modmap' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/xdo.c:1857:8: style: Variable 'viewport_data' can be declared as pointer to const [constVariablePointer] xsnow-3.7.8/src/xdo.c:1982:28: style: Parameter 'xdo' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/xdo.c:1026:28: error: Uninitialized variable: &key.key [uninitvar] xsnow-3.7.8/src/xdo.c:145:13: style: Variable 'display' is assigned a value that is never used. [unreadVariable] xsnow-3.7.8/src/xdo.c:488:11: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] xsnow-3.7.8/src/xdo.c:1406:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xsnow-3.7.8/src/xdo.c:1613:16: style: Variable 'j' is assigned a value that is never used. [unreadVariable] xsnow-3.7.8/src/xdo.c:1664:15: style: Variable 'keycode' is assigned a value that is never used. [unreadVariable] xsnow-3.7.8/src/xdo.c:1959:1: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] xsnow-3.7.8/src/xdo.c:1967:11: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] xsnow-3.7.8/src/xdo_search.c:37:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Window [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo_search.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo_search.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo_search.c:197:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsViewable [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo_search.c:261:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo_search.c:377:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Window [valueFlowBailoutIncompleteVar] xsnow-3.7.8/src/xdo_search.c:315:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.7.8/src/xdo_search.c:88:77: style: Parameter 're' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/xdo_search.c:123:78: style: Parameter 're' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/xdo_search.c:146:82: style: Parameter 're' can be declared as pointer to const [constParameterPointer] xsnow-3.7.8/src/xdo_search.c:33:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] diff: DONE