2025-12-18 08:27 ftp://ftp.de.debian.org/debian/pool/main/x/xsnow/xsnow_3.8.6.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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-90-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 4031d17 (2025-12-17 18:34:27 +0100) count: 333 333 elapsed-time: 7.3 7.5 head-timing-info: old-timing-info: head results: xsnow-3.8.6/src/Santa.c:145:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/Santa.c:165:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/Santa.c:448:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/aurora.c:129:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/aurora.c:250:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_ANTIALIAS_NONE [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/aurora.c:932:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsl_interp_linear [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/aurora.c:406:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.6/src/aurora.c:1001:3: error: Common realloc mistake: 'pz' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.8.6/src/aurora.c:311:7: style: Same expression used in consecutive assignments of 'zmin' and 'zmax'. [duplicateAssignExpression] xsnow-3.8.6/src/aurora.c:312:7: note: Same expression used in consecutive assignments of 'zmin' and 'zmax'. xsnow-3.8.6/src/aurora.c:311:7: note: Same expression used in consecutive assignments of 'zmin' and 'zmax'. xsnow-3.8.6/src/aurora.c:621:11: style:inconclusive: Same expression used in consecutive assignments of 'ymin' and 'ymax'. [duplicateAssignExpression] xsnow-3.8.6/src/aurora.c:622:11: note: Same expression used in consecutive assignments of 'ymin' and 'ymax'. xsnow-3.8.6/src/aurora.c:621:11: note: Same expression used in consecutive assignments of 'ymin' and 'ymax'. xsnow-3.8.6/src/aurora.c:969:11: style:inconclusive: Same expression used in consecutive assignments of 'pmin' and 'pmax'. [duplicateAssignExpression] xsnow-3.8.6/src/aurora.c:970:11: note: Same expression used in consecutive assignments of 'pmin' and 'pmax'. xsnow-3.8.6/src/aurora.c:969:11: note: Same expression used in consecutive assignments of 'pmin' and 'pmax'. xsnow-3.8.6/src/aurora.c:417:10: style: Redundant initialization for 'scale'. The initialized value is overwritten before it is read. [redundantInitialization] xsnow-3.8.6/src/aurora.c:414:17: note: scale is initialized xsnow-3.8.6/src/aurora.c:417:10: note: scale is overwritten xsnow-3.8.6/src/aurora.c:985:7: style: Redundant initialization for 'm1'. The initialized value is overwritten before it is read. [redundantInitialization] xsnow-3.8.6/src/aurora.c:983:13: note: m1 is initialized xsnow-3.8.6/src/aurora.c:985:7: note: m1 is overwritten xsnow-3.8.6/src/aurora.c:245:14: style: Local variable 'a' shadows outer variable [shadowVariable] xsnow-3.8.6/src/aurora.c:61:25: note: Shadowed declaration xsnow-3.8.6/src/aurora.c:245:14: note: Shadow variable xsnow-3.8.6/src/aurora.c:316:13: style: Local variable 'd' shadows outer argument [shadowArgument] xsnow-3.8.6/src/aurora.c:231:23: note: Shadowed declaration xsnow-3.8.6/src/aurora.c:316:13: note: Shadow variable xsnow-3.8.6/src/aurora.c:349:16: style: Local variable 'd' shadows outer argument [shadowArgument] xsnow-3.8.6/src/aurora.c:231:23: note: Shadowed declaration xsnow-3.8.6/src/aurora.c:349:16: note: Shadow variable xsnow-3.8.6/src/aurora.c:765:7: style: Local variable 'd' shadows outer variable [shadowVariable] xsnow-3.8.6/src/aurora.c:668:11: note: Shadowed declaration xsnow-3.8.6/src/aurora.c:765:7: note: Shadow variable xsnow-3.8.6/src/birds.c:277:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/birds.c:626:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/birds.c:730:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/birds.c:876:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cairo_surface_destroy [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/birds.c:1007:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/birds.c:436:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.6/src/birds.c:379:14: style: The if condition is the same as the previous if condition [duplicateCondition] xsnow-3.8.6/src/birds.c:371:14: note: First condition xsnow-3.8.6/src/birds.c:379:14: note: Second condition xsnow-3.8.6/src/birds.c:641:15: style: Condition 'ih<1' is always false [knownConditionTrueFalse] xsnow-3.8.6/src/birds.c:620:39: note: Assuming that condition 'ih<=0' is not redundant xsnow-3.8.6/src/birds.c:641:15: note: Condition 'ih<1' is always false xsnow-3.8.6/src/birds.c:582:16: style: Redundant initialization for 'orient'. The initialized value is overwritten before it is read. [redundantInitialization] xsnow-3.8.6/src/birds.c:577:17: note: orient is initialized xsnow-3.8.6/src/birds.c:582:16: note: orient is overwritten xsnow-3.8.6/src/birds.c:253:24: style: Parameter 'bird' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/birds.c:330:19: style: Variable 'b' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/birds.c:683:17: style: Variable 'bird' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/blowoff.c:45:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/clientwin.c:42:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/clientwin.c:67:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InputOutput [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/clientwin.c:87:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/clientwin.c:138:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/clientwin.c:196:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/clientwin.c:184:48: style:inconclusive: Function 'Find_Client' argument 3 names different: declaration 'target_win' definition 'subwin'. [funcArgNamesDifferent] xsnow-3.8.6/src/clientwin.h:27:62: note: Function 'Find_Client' argument 3 names different: declaration 'target_win' definition 'subwin'. xsnow-3.8.6/src/clientwin.c:184:48: note: Function 'Find_Client' argument 3 names different: declaration 'target_win' definition 'subwin'. xsnow-3.8.6/src/csvpos.c:52:25: style: Parameter 'k' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/docs.c:530:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/docs.c:522:3: error: Common realloc mistake: 'result' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.8.6/src/vroot.h:75:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/dsimple.c:125:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/dsimple.c:272:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/dsimple.c:363:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/vroot.h:74:16: style: Local variable 'dpy' shadows outer variable [shadowVariable] xsnow-3.8.6/src/dsimple.c:51:17: note: Shadowed declaration xsnow-3.8.6/src/vroot.h:74:16: note: Shadow variable xsnow-3.8.6/src/dsimple.c:145:10: style: Variable 'displayname' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/vroot.h:70:19: style: Variable 'save_screen' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/fallensnow.c:86:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/fallensnow.c:109:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_ANTIALIAS_NONE [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/fallensnow.c:391:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/fallensnow.c:618:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_ANTIALIAS_NONE [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/fallensnow.c:775:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RectangleIn [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/fallensnow.c:286:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.6/src/fallensnow.c:978:6: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] xsnow-3.8.6/src/fallensnow.c:974:10: note: outer condition: !global.IsDouble xsnow-3.8.6/src/fallensnow.c:978:6: note: identical inner condition: !global.IsDouble xsnow-3.8.6/src/fallensnow.c:554:7: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.6/src/fallensnow.c:554:7: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.6/src/fallensnow.c:108:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] xsnow-3.8.6/src/fallensnow.c:110:4: note: Found duplicate branches for 'if' and 'else'. xsnow-3.8.6/src/fallensnow.c:108:4: note: Found duplicate branches for 'if' and 'else'. xsnow-3.8.6/src/fallensnow.c:560:44: style:inconclusive: Function 'CleanFallenArea' argument 2 names different: declaration 'x' definition 'xstart'. [funcArgNamesDifferent] xsnow-3.8.6/src/fallensnow.h:49:54: note: Function 'CleanFallenArea' argument 2 names different: declaration 'x' definition 'xstart'. xsnow-3.8.6/src/fallensnow.c:560:44: note: Function 'CleanFallenArea' argument 2 names different: declaration 'x' definition 'xstart'. xsnow-3.8.6/src/fallensnow.c:367:50: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/fallensnow.c:560:34: style: Parameter 'fsnow' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/fallensnow.c:614:15: style: Variable 'acth' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/flags.c:212:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/flags.c:396:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/flags.c:425:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/flags.c:464:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/flags.c:393:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xsnow-3.8.6/src/flags.c:393:30: warning: If memory allocation fails, then there is a possible null pointer dereference: flag [nullPointerOutOfMemory] xsnow-3.8.6/src/flags.c:392:27: note: Assuming allocation function fails xsnow-3.8.6/src/flags.c:392:14: note: Assignment 'flag=(char*)malloc((strlen(line)+1)*sizeof(char))', assigned value is 0 xsnow-3.8.6/src/flags.c:393:30: note: Null pointer dereference xsnow-3.8.6/src/flags.c:394:18: warning: If memory allocation fails, then there is a possible null pointer dereference: flag [nullPointerOutOfMemory] xsnow-3.8.6/src/flags.c:392:27: note: Assuming allocation function fails xsnow-3.8.6/src/flags.c:392:14: note: Assignment 'flag=(char*)malloc((strlen(line)+1)*sizeof(char))', assigned value is 0 xsnow-3.8.6/src/flags.c:394:18: note: Null pointer dereference xsnow-3.8.6/src/flags.c:65:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/flags.c:129:10: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/hashtable.cpp:83:24: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/hashtable.cpp:108:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] xsnow-3.8.6/src/ixpm.c:50:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ixpm.c:119:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ixpm.c:232:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ixpm.c:269:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ixpm.c:302:7: style: Local variable 'l' shadows outer variable [shadowVariable] xsnow-3.8.6/src/ixpm.c:265:8: note: Shadowed declaration xsnow-3.8.6/src/ixpm.c:302:7: note: Shadow variable xsnow-3.8.6/src/ixpm.c:326:7: style: Local variable 'l' shadows outer variable [shadowVariable] xsnow-3.8.6/src/ixpm.c:265:8: note: Shadowed declaration xsnow-3.8.6/src/ixpm.c:326:7: note: Shadow variable xsnow-3.8.6/src/kdtree.c:176:39: style:inconclusive: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. [funcArgNamesDifferent] xsnow-3.8.6/src/kdtree.c:102:39: note: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. xsnow-3.8.6/src/kdtree.c:176:39: note: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. xsnow-3.8.6/src/kdtree.c:414:41: style:inconclusive: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] xsnow-3.8.6/src/kdtree.h:61:48: note: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.8.6/src/kdtree.c:414:41: note: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.8.6/src/kdtree.c:547:47: style:inconclusive: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] xsnow-3.8.6/src/kdtree.h:89:54: note: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.8.6/src/kdtree.c:547:47: note: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.8.6/src/kdtree.c:571:48: style:inconclusive: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] xsnow-3.8.6/src/kdtree.h:90:55: note: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.8.6/src/kdtree.c:571:48: note: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.8.6/src/kdtree.c:624:32: style:inconclusive: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.6/src/kdtree.h:95:39: note: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:624:32: note: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:636:34: style:inconclusive: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.6/src/kdtree.h:101:41: note: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:636:34: note: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:641:30: style:inconclusive: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.6/src/kdtree.h:104:37: note: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:641:30: note: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:646:31: style:inconclusive: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.6/src/kdtree.h:109:38: note: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:646:31: note: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:652:33: style:inconclusive: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.6/src/kdtree.h:114:40: note: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:652:33: note: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:663:34: style:inconclusive: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.6/src/kdtree.h:115:41: note: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:663:34: note: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:676:34: style:inconclusive: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.6/src/kdtree.h:116:41: note: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:676:34: note: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:687:35: style:inconclusive: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.6/src/kdtree.h:117:42: note: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:687:35: note: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:840:41: style:inconclusive: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.6/src/kdtree.c:104:41: note: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:840:41: note: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.6/src/kdtree.c:631:31: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/kdtree.c:641:30: style: Parameter 'rset' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/loadmeasure.c:53:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:392:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LANGUAGES [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:647:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Below [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:674:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:756:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:917:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:960:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:1150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:1192:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:1225:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConfigureNotify [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:1273:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:1354:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:1407:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdbeBackground [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:1525:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:1551:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:1562:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/main.c:535:8: style: Condition '!StartWindow()' is always false [knownConditionTrueFalse] xsnow-3.8.6/src/main.c:535:20: note: Calling function 'StartWindow' returns 1 xsnow-3.8.6/src/main.c:535:8: note: Condition '!StartWindow()' is always false xsnow-3.8.6/src/main.c:949:7: style: Condition '!dodouble' is always true [knownConditionTrueFalse] xsnow-3.8.6/src/main.c:931:19: note: Assignment 'dodouble=0', assigned value is 0 xsnow-3.8.6/src/main.c:949:7: note: Condition '!dodouble' is always true xsnow-3.8.6/src/main.c:1006:16: style: Local variable 'w' shadows outer variable [shadowVariable] xsnow-3.8.6/src/main.c:923:17: note: Shadowed declaration xsnow-3.8.6/src/main.c:1006:16: note: Shadow variable xsnow-3.8.6/src/main.c:339:13: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/main.c:690:13: style: Variable 'desktopsession' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/main.c:1006:16: style: Variable 'w' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/main.c:1307:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/main.c:762:18: style: Variable 'gdkwin' is not assigned a value. [unassignedVariable] xsnow-3.8.6/src/meteor.c:68:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/meteor.c:90:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_ANTIALIAS_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/meteor.c:176:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/moon.c:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/moon.c:137:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/moon.c:230:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/moon.c:126: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.8.6/src/moon.c:127: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.8.6/src/scenery.c:110:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/scenery.c:193:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/scenery.c:252:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/scenery.c:419:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmDepth [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/scenery.c:489:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmDepth [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/scenery.c:120:14: style: Variable 'ta' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/scenery.c:121:14: style: Variable 'tb' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/snow.c:112:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/snow.c:192:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/snow.c:476:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_REGION_OVERLAP_PART [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/snow.c:587:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/snow.c:918:4: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.6/src/snow.c:918:4: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.6/src/snow.c:874:4: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] xsnow-3.8.6/src/snow.c:852:24: note: Assuming allocation function fails xsnow-3.8.6/src/snow.c:852:8: note: Assignment 'x=(char***)malloc((n+NFlakeTypesVintage+1)*sizeof(char**))', assigned value is 0 xsnow-3.8.6/src/snow.c:874:4: note: Null pointer dereference xsnow-3.8.6/src/snow.c:512:28: style: Local variable 'grect' shadows outer variable [shadowVariable] xsnow-3.8.6/src/snow.c:494:29: note: Shadowed declaration xsnow-3.8.6/src/snow.c:512:28: note: Shadow variable xsnow-3.8.6/src/snow.c:513:29: style: Local variable 'in' shadows outer variable [shadowVariable] xsnow-3.8.6/src/snow.c:474:30: note: Shadowed declaration xsnow-3.8.6/src/snow.c:513:29: note: Shadow variable xsnow-3.8.6/src/snow.c:519:31: style: Local variable 'grect' shadows outer variable [shadowVariable] xsnow-3.8.6/src/snow.c:512:28: note: Shadowed declaration xsnow-3.8.6/src/snow.c:519:31: note: Shadow variable xsnow-3.8.6/src/snow.c:520:32: style: Local variable 'in' shadows outer variable [shadowVariable] xsnow-3.8.6/src/snow.c:513:29: note: Shadowed declaration xsnow-3.8.6/src/snow.c:520:32: note: Shadow variable xsnow-3.8.6/src/snow.c:525:27: style: Local variable 'grec' shadows outer variable [shadowVariable] xsnow-3.8.6/src/snow.c:473:29: note: Shadowed declaration xsnow-3.8.6/src/snow.c:525:27: note: Shadow variable xsnow-3.8.6/src/snow.c:356:20: style: Variable 'speedxmaxes' can be declared as const array [constVariable] xsnow-3.8.6/src/snow.c:592:28: style: Parameter 'flake' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/snow.c:916:23: style: Parameter 'flake' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/spline_interpol.c:33:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsl_interp_linear [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/spline_interpol.c:30:36: style:inconclusive: Function 'spline_interpol' argument 1 names different: declaration 'p' definition 'px'. [funcArgNamesDifferent] xsnow-3.8.6/src/spline_interpol.h:52:36: note: Function 'spline_interpol' argument 1 names different: declaration 'p' definition 'px'. xsnow-3.8.6/src/spline_interpol.c:30:36: note: Function 'spline_interpol' argument 1 names different: declaration 'p' definition 'px'. xsnow-3.8.6/src/stars.c:68:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/stars.c:88:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/stars.c:148:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/stars.c:166:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_ANTIALIAS_NONE [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/stars.c:170:21: style: Variable 'star' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/stars.c:188:21: style: Variable 'star' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/transwindow.c:170:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_DOCK [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/transwindow.c:234:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USPosition [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/transwindow.c:324:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Below [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/transwindow.c:338:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Above [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/transwindow.c:191:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.6/src/transwindow.c:53:52: style:inconclusive: Function 'make_trans_window' argument 2 names different: declaration 'Transwindow' definition 'transwindow'. [funcArgNamesDifferent] xsnow-3.8.6/src/transwindow.h:27:59: note: Function 'make_trans_window' argument 2 names different: declaration 'Transwindow' definition 'transwindow'. xsnow-3.8.6/src/transwindow.c:53:52: note: Function 'make_trans_window' argument 2 names different: declaration 'Transwindow' definition 'transwindow'. xsnow-3.8.6/src/transwindow.c:53:69: style:inconclusive: Function 'make_trans_window' argument 3 names different: declaration 'Xscreen' definition 'xscreen'. [funcArgNamesDifferent] xsnow-3.8.6/src/transwindow.h:27:76: note: Function 'make_trans_window' argument 3 names different: declaration 'Xscreen' definition 'xscreen'. xsnow-3.8.6/src/transwindow.c:53:69: note: Function 'make_trans_window' argument 3 names different: declaration 'Xscreen' definition 'xscreen'. xsnow-3.8.6/src/transwindow.c:133:12: style: Local variable 'screen' shadows outer variable [shadowVariable] xsnow-3.8.6/src/transwindow.c:96:15: note: Shadowed declaration xsnow-3.8.6/src/transwindow.c:133:12: note: Shadow variable xsnow-3.8.6/src/treesnow.c:52:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/treesnow.c:98:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ui.c:288:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ui.c:319:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_ICONIFIED [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ui.c:552:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ui.c:664:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ui.c:742:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ui.c:1124:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xsnow_xml [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ui.c:1282:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ui.c:1436:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_APPLICATION_FLAGS_NONE [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ui.c:1452:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ui.c:1519:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xsnow_xml [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/ui.c:1227:18: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xsnow-3.8.6/src/ui.c:1235:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xsnow-3.8.6/src/ui.c:302:8: style: Condition '!iconified' is always true [knownConditionTrueFalse] xsnow-3.8.6/src/ui.c:296:7: note: Assuming that condition 'iconified' is not redundant xsnow-3.8.6/src/ui.c:302:8: note: Condition '!iconified' is always true xsnow-3.8.6/src/ui.c:870:4: error: Common realloc mistake: 'a' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.8.6/src/ui.c:1197:7: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.8.6/src/ui.c:1501:36: style:inconclusive: Function 'yesyes' argument 2 names different: declaration 'data' definition 'window'. [funcArgNamesDifferent] xsnow-3.8.6/src/ui.c:215:43: note: Function 'yesyes' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.8.6/src/ui.c:1501:36: note: Function 'yesyes' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.8.6/src/ui.c:1507:34: style:inconclusive: Function 'nono' argument 2 names different: declaration 'data' definition 'window'. [funcArgNamesDifferent] xsnow-3.8.6/src/ui.c:216:41: note: Function 'nono' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.8.6/src/ui.c:1507:34: note: Function 'nono' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.8.6/src/ui.c:1078:15: style: Local variable 'preview' shadows outer variable [shadowVariable] xsnow-3.8.6/src/ui.c:199:23: note: Shadowed declaration xsnow-3.8.6/src/ui.c:1078:15: note: Shadow variable xsnow-3.8.6/src/ui.c:1262:14: style: Local variable 'p' shadows outer variable [shadowVariable] xsnow-3.8.6/src/ui.c:1193:8: note: Shadowed declaration xsnow-3.8.6/src/ui.c:1262:14: note: Shadow variable xsnow-3.8.6/src/ui.c:314: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.8.6/src/ui.c:1138:7: note: You might need to cast the function pointer here xsnow-3.8.6/src/ui.c:314:28: note: Parameter 'event' can be declared as pointer to const xsnow-3.8.6/src/ui.c:1227:10: style: Variable 'token' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/ui.c:1501: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.8.6/src/ui.c:1478:4: note: You might need to cast the function pointer here xsnow-3.8.6/src/ui.c:1501:24: note: Parameter 'w' can be declared as pointer to const xsnow-3.8.6/src/ui.c:1507: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.8.6/src/ui.c:1486:4: note: You might need to cast the function pointer here xsnow-3.8.6/src/ui.c:1507:22: note: Parameter 'w' can be declared as pointer to const xsnow-3.8.6/src/ui.c:331:12: style: struct member '_santa_button::value' is never used. [unusedStructMember] xsnow-3.8.6/src/ui.c:713:15: style: struct member '_general_button::button' is never used. [unusedStructMember] xsnow-3.8.6/src/ui.c:837:15: style: struct member '_snow_button::button' is never used. [unusedStructMember] xsnow-3.8.6/src/utils.c:254:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/utils.c:325:11: style: Condition 'changed' is always true [knownConditionTrueFalse] xsnow-3.8.6/src/utils.c:115:27: style:inconclusive: Function 'myXClearArea' argument 1 names different: declaration 'display' definition 'dsp'. [funcArgNamesDifferent] xsnow-3.8.6/src/utils.h:61:37: note: Function 'myXClearArea' argument 1 names different: declaration 'display' definition 'dsp'. xsnow-3.8.6/src/utils.c:115:27: note: Function 'myXClearArea' argument 1 names different: declaration 'display' definition 'dsp'. xsnow-3.8.6/src/utils.c:145:28: style:inconclusive: Function 'ValidColor' argument 1 names different: declaration 'color' definition 'colorName'. [funcArgNamesDifferent] xsnow-3.8.6/src/utils.h:63:39: note: Function 'ValidColor' argument 1 names different: declaration 'color' definition 'colorName'. xsnow-3.8.6/src/utils.c:145:28: note: Function 'ValidColor' argument 1 names different: declaration 'color' definition 'colorName'. xsnow-3.8.6/src/utils.c:179:38: style:inconclusive: Function 'gaussian' argument 2 names different: declaration 'standard_deviation' definition 'std'. [funcArgNamesDifferent] xsnow-3.8.6/src/utils.h:75:45: note: Function 'gaussian' argument 2 names different: declaration 'standard_deviation' definition 'std'. xsnow-3.8.6/src/utils.c:179:38: note: Function 'gaussian' argument 2 names different: declaration 'standard_deviation' definition 'std'. xsnow-3.8.6/src/utils.c:257:23: style:inconclusive: Function 'ScaleChanged' argument 1 names different: declaration 'prev' definition 'prevscale'. [funcArgNamesDifferent] xsnow-3.8.6/src/utils.h:62:34: note: Function 'ScaleChanged' argument 1 names different: declaration 'prev' definition 'prevscale'. xsnow-3.8.6/src/utils.c:257:23: note: Function 'ScaleChanged' argument 1 names different: declaration 'prev' definition 'prevscale'. xsnow-3.8.6/src/utils.c:70:10: style: Variable 'h' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/utils.c:100:10: style: Variable 'b' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/utils.c:199:71: style: Parameter 'datap' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/utils.c:240:26: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/utils.c:359:10: style: Variable 'a' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/utils.c:386:41: style: Parameter 'myxdo' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/wind.c:51:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/windows.c:70:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/windows.c:96:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expose [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/windows.c:155:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/windows.c:259:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPressMask [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/windows.c:522:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/windows.c:608:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/windows.c:676:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/windows.c:727:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PropModeReplace [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/windows.c:196:13: style: Variable 'winfo' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/windows.c:668:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/windows.c:681:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/wmctrl.c:141:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnyPropertyType [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/wmctrl.c:235:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnyPropertyType [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/wmctrl.c:125:8: style: Condition 'firstcall' is always true [knownConditionTrueFalse] xsnow-3.8.6/src/wmctrl.c:124:20: note: Assignment 'firstcall=1', assigned value is 1 xsnow-3.8.6/src/wmctrl.c:125:8: note: Condition 'firstcall' is always true xsnow-3.8.6/src/wmctrl.c:358:6: style: Condition 'properties' is always true [knownConditionTrueFalse] xsnow-3.8.6/src/wmctrl.c:574:7: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.6/src/wmctrl.c:574:7: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.6/src/wmctrl.c:574:7: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.6/src/wmctrl.c:574:7: warning: %d in format string (no. 10) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.6/src/wmctrl.c:574:7: warning: %d in format string (no. 11) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.6/src/wmctrl.c:178:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] xsnow-3.8.6/src/wmctrl.c:177:8: note: r is assigned xsnow-3.8.6/src/wmctrl.c:178:5: note: r is overwritten xsnow-3.8.6/src/wmctrl.c:192:26: style:inconclusive: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. [funcArgNamesDifferent] xsnow-3.8.6/src/wmctrl.h:28:42: note: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. xsnow-3.8.6/src/wmctrl.c:192:26: note: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. xsnow-3.8.6/src/wmctrl.c:192:40: style:inconclusive: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. [funcArgNamesDifferent] xsnow-3.8.6/src/wmctrl.h:28:50: note: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. xsnow-3.8.6/src/wmctrl.c:192:40: note: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. xsnow-3.8.6/src/wmctrl.c:291:8: style: Local variable 'type' shadows outer variable [shadowVariable] xsnow-3.8.6/src/wmctrl.c:194:9: note: Shadowed declaration xsnow-3.8.6/src/wmctrl.c:291:8: note: Shadow variable xsnow-3.8.6/src/wmctrl.c:292:25: style: Local variable 'b' shadows outer variable [shadowVariable] xsnow-3.8.6/src/wmctrl.c:196:18: note: Shadowed declaration xsnow-3.8.6/src/wmctrl.c:292:25: note: Shadow variable xsnow-3.8.6/src/wmctrl.c:292:32: style: Local variable 'format' shadows outer variable [shadowVariable] xsnow-3.8.6/src/wmctrl.c:195:8: note: Shadowed declaration xsnow-3.8.6/src/wmctrl.c:292:32: note: Shadow variable xsnow-3.8.6/src/wmctrl.c:293:18: style: Local variable 'properties' shadows outer variable [shadowVariable] xsnow-3.8.6/src/wmctrl.c:197:19: note: Shadowed declaration xsnow-3.8.6/src/wmctrl.c:293:18: note: Shadow variable xsnow-3.8.6/src/wmctrl.c:344:12: style: Local variable 'type' shadows outer variable [shadowVariable] xsnow-3.8.6/src/wmctrl.c:194:9: note: Shadowed declaration xsnow-3.8.6/src/wmctrl.c:344:12: note: Shadow variable xsnow-3.8.6/src/wmctrl.c:344:22: style: Local variable 'format' shadows outer variable [shadowVariable] xsnow-3.8.6/src/wmctrl.c:195:8: note: Shadowed declaration xsnow-3.8.6/src/wmctrl.c:344:22: note: Shadow variable xsnow-3.8.6/src/wmctrl.c:344:51: style: Local variable 'b' shadows outer variable [shadowVariable] xsnow-3.8.6/src/wmctrl.c:196:18: note: Shadowed declaration xsnow-3.8.6/src/wmctrl.c:344:51: note: Shadow variable xsnow-3.8.6/src/wmctrl.c:344:69: style: Local variable 'properties' shadows outer variable [shadowVariable] xsnow-3.8.6/src/wmctrl.c:197:19: note: Shadowed declaration xsnow-3.8.6/src/wmctrl.c:344:69: note: Shadow variable xsnow-3.8.6/src/wmctrl.c:382:11: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.8.6/src/wmctrl.c:308:23: note: Shadowed declaration xsnow-3.8.6/src/wmctrl.c:382:11: note: Shadow variable xsnow-3.8.6/src/wmctrl.c:409:11: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.8.6/src/wmctrl.c:308:23: note: Shadowed declaration xsnow-3.8.6/src/wmctrl.c:409:11: note: Shadow variable xsnow-3.8.6/src/wmctrl.c:444:25: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.8.6/src/wmctrl.c:308:23: note: Shadowed declaration xsnow-3.8.6/src/wmctrl.c:444:25: note: Shadow variable xsnow-3.8.6/src/wmctrl.c:502:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/wmctrl.c:127:17: style: Variable 'firstcall' is assigned a value that is never used. [unreadVariable] xsnow-3.8.6/src/xdo.c:123:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:195:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsUnmapped [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:208:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsUnmapped [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:309:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWX [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:319:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PResizeInc [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:367:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:383:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWOverrideRedirect [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:413:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XUrgencyHint [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:434:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PropModeReplace [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:521:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:561:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:594:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:625:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:658:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:687:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:719:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:750:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:782:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_target [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:834:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:852:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:861:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:985:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:999:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1024:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1075:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1206:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1290:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1320:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoSymbol [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1426:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1483:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1509:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnyPropertyType [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1571:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1598:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbUseCoreKbd [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1633:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1654:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMapIndex [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1684:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMapIndex [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1738:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1MotionMask [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1765:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1MotionMask [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1794:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Atom [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1842:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1883:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1915:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Atom [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1969:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1985:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:2013:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:152:7: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] xsnow-3.8.6/src/xdo.c:198:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.6/src/xdo.c:214:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.6/src/xdo.c:487:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.6/src/xdo.c:507:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.6/src/xdo.c:988:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.6/src/xdo.c:1006:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.6/src/xdo.c:1224:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.6/src/xdo.c:1622:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.6/src/xdo.c:1817:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.6/src/xdo.c:1832:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.6/src/xdo.c:1437:18: style: The statement 'if (strptr!=NULL) strptr=NULL' is logically equivalent to 'strptr=NULL'. [duplicateConditionalAssign] xsnow-3.8.6/src/xdo.c:1438:10: note: Assignment 'strptr=NULL' xsnow-3.8.6/src/xdo.c:1437:18: note: Condition 'strptr!=NULL' is redundant xsnow-3.8.6/src/xdo.c:436:49: style: Condition 'ret==0' is always true [knownConditionTrueFalse] xsnow-3.8.6/src/xdo.c:435:12: note: Assuming that condition 'ret==0' is not redundant xsnow-3.8.6/src/xdo.c:436:49: note: Condition 'ret==0' is always true xsnow-3.8.6/src/xdo.c:1040:3: warning: %lc in format string (no. 1) requires 'unsigned long' but the argument type is 'signed wchar_t'. [invalidPrintfArgType_uint] xsnow-3.8.6/src/xdo.c:146:11: warning: If memory allocation fails, then there is a possible null pointer dereference: xdo [nullPointerOutOfMemory] xsnow-3.8.6/src/xdo.c:145:24: note: Assuming allocation function fails xsnow-3.8.6/src/xdo.c:145:10: note: Assignment 'xdo=(struct xdo_t*)malloc(sizeof(struct xdo_t))', assigned value is 0 xsnow-3.8.6/src/xdo.c:146:11: note: Null pointer dereference xsnow-3.8.6/src/xdo.c:148:4: warning: If memory allocation fails, then there is a possible null pointer dereference: xdo [nullPointerOutOfMemory] xsnow-3.8.6/src/xdo.c:145:24: note: Assuming allocation function fails xsnow-3.8.6/src/xdo.c:145:10: note: Assignment 'xdo=(struct xdo_t*)malloc(sizeof(struct xdo_t))', assigned value is 0 xsnow-3.8.6/src/xdo.c:148:4: note: Null pointer dereference xsnow-3.8.6/src/xdo.c:149:4: warning: If memory allocation fails, then there is a possible null pointer dereference: xdo [nullPointerOutOfMemory] xsnow-3.8.6/src/xdo.c:145:24: note: Assuming allocation function fails xsnow-3.8.6/src/xdo.c:145:10: note: Assignment 'xdo=(struct xdo_t*)malloc(sizeof(struct xdo_t))', assigned value is 0 xsnow-3.8.6/src/xdo.c:149:4: note: Null pointer dereference xsnow-3.8.6/src/xdo.c:1351:32: warning: If memory allocation fails, then there is a possible null pointer dereference: xdo [nullPointerOutOfMemory] xsnow-3.8.6/src/xdo.c:145:24: note: Assuming allocation function fails xsnow-3.8.6/src/xdo.c:145:10: note: Assignment 'xdo=(struct xdo_t*)malloc(sizeof(struct xdo_t))', assigned value is 0 xsnow-3.8.6/src/xdo.c:159:23: note: Calling function '_xdo_has_xtest', 1st argument 'xdo' value is 0 xsnow-3.8.6/src/xdo.c:1351:32: note: Null pointer dereference xsnow-3.8.6/src/xdo.c:118:28: style:inconclusive: Function 'xdo_new' argument 1 names different: declaration 'display' definition 'display_name'. [funcArgNamesDifferent] xsnow-3.8.6/src/xdo.h:234:28: note: Function 'xdo_new' argument 1 names different: declaration 'display' definition 'display_name'. xsnow-3.8.6/src/xdo.c:118:28: note: Function 'xdo_new' argument 1 names different: declaration 'display' definition 'display_name'. xsnow-3.8.6/src/xdo.c:344:50: style:inconclusive: Function 'xdo_set_window_size' argument 2 names different: declaration 'wid' definition 'window'. [funcArgNamesDifferent] xsnow-3.8.6/src/xdo.h:508:50: note: Function 'xdo_set_window_size' argument 2 names different: declaration 'wid' definition 'window'. xsnow-3.8.6/src/xdo.c:344:50: note: Function 'xdo_set_window_size' argument 2 names different: declaration 'wid' definition 'window'. xsnow-3.8.6/src/xdo.c:344:62: style:inconclusive: Function 'xdo_set_window_size' argument 3 names different: declaration 'w' definition 'width'. [funcArgNamesDifferent] xsnow-3.8.6/src/xdo.h:508:59: note: Function 'xdo_set_window_size' argument 3 names different: declaration 'w' definition 'width'. xsnow-3.8.6/src/xdo.c:344:62: note: Function 'xdo_set_window_size' argument 3 names different: declaration 'w' definition 'width'. xsnow-3.8.6/src/xdo.c:344:73: style:inconclusive: Function 'xdo_set_window_size' argument 4 names different: declaration 'h' definition 'height'. [funcArgNamesDifferent] xsnow-3.8.6/src/xdo.h:508:66: note: Function 'xdo_set_window_size' argument 4 names different: declaration 'h' definition 'height'. xsnow-3.8.6/src/xdo.c:344:73: note: Function 'xdo_set_window_size' argument 4 names different: declaration 'h' definition 'height'. xsnow-3.8.6/src/xdo.c:918:51: style:inconclusive: Function 'xdo_get_mouse_location' argument 2 names different: declaration 'x' definition 'x_ret'. [funcArgNamesDifferent] xsnow-3.8.6/src/xdo.h:312:51: note: Function 'xdo_get_mouse_location' argument 2 names different: declaration 'x' definition 'x_ret'. xsnow-3.8.6/src/xdo.c:918:51: note: Function 'xdo_get_mouse_location' argument 2 names different: declaration 'x' definition 'x_ret'. xsnow-3.8.6/src/xdo.c:918:63: style:inconclusive: Function 'xdo_get_mouse_location' argument 3 names different: declaration 'y' definition 'y_ret'. [funcArgNamesDifferent] xsnow-3.8.6/src/xdo.h:312:59: note: Function 'xdo_get_mouse_location' argument 3 names different: declaration 'y' definition 'y_ret'. xsnow-3.8.6/src/xdo.c:918:63: note: Function 'xdo_get_mouse_location' argument 3 names different: declaration 'y' definition 'y_ret'. xsnow-3.8.6/src/xdo.c:919:12: style:inconclusive: Function 'xdo_get_mouse_location' argument 4 names different: declaration 'screen_num' definition 'screen_num_ret'. [funcArgNamesDifferent] xsnow-3.8.6/src/xdo.h:312:67: note: Function 'xdo_get_mouse_location' argument 4 names different: declaration 'screen_num' definition 'screen_num_ret'. xsnow-3.8.6/src/xdo.c:919:12: note: Function 'xdo_get_mouse_location' argument 4 names different: declaration 'screen_num' definition 'screen_num_ret'. xsnow-3.8.6/src/xdo.c:1175:83: style:inconclusive: Function 'xdo_send_keysequence_window_down' argument 3 names different: declaration 'keysequence' definition 'keyseq'. [funcArgNamesDifferent] xsnow-3.8.6/src/xdo.h:425:19: note: Function 'xdo_send_keysequence_window_down' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.8.6/src/xdo.c:1175:83: note: Function 'xdo_send_keysequence_window_down' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.8.6/src/xdo.c:1180:81: style:inconclusive: Function 'xdo_send_keysequence_window_up' argument 3 names different: declaration 'keysequence' definition 'keyseq'. [funcArgNamesDifferent] xsnow-3.8.6/src/xdo.h:417:19: note: Function 'xdo_send_keysequence_window_up' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.8.6/src/xdo.c:1180:81: note: Function 'xdo_send_keysequence_window_up' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.8.6/src/xdo.c:1185:78: style:inconclusive: Function 'xdo_send_keysequence_window' argument 3 names different: declaration 'keysequence' definition 'keyseq'. [funcArgNamesDifferent] xsnow-3.8.6/src/xdo.h:409:19: note: Function 'xdo_send_keysequence_window' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.8.6/src/xdo.c:1185:78: note: Function 'xdo_send_keysequence_window' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.8.6/src/xdo.c:1950:50: style:inconclusive: Function 'xdo_minimize_window' argument 2 names different: declaration 'wid' definition 'window'. [funcArgNamesDifferent] xsnow-3.8.6/src/xdo.h:642:50: note: Function 'xdo_minimize_window' argument 2 names different: declaration 'wid' definition 'window'. xsnow-3.8.6/src/xdo.c:1950:50: note: Function 'xdo_minimize_window' argument 2 names different: declaration 'wid' definition 'window'. xsnow-3.8.6/src/xdo.c:1626:53: style: Parameter 'modmap' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/xdo.c:1870:9: style: Variable 'viewport_data' can be declared as pointer to const [constVariablePointer] xsnow-3.8.6/src/xdo.c:1998:28: style: Parameter 'xdo' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/xdo.c:1033:29: error: Uninitialized variable: &key.key [uninitvar] xsnow-3.8.6/src/xdo.c:152:15: style: Variable 'display' is assigned a value that is never used. [unreadVariable] xsnow-3.8.6/src/xdo.c:496:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] xsnow-3.8.6/src/xdo.c:1677:16: style: Variable 'keycode' is assigned a value that is never used. [unreadVariable] xsnow-3.8.6/src/xdo_search.c:62:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Window [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo_search.c:108:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo_search.c:206:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo_search.c:221:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsViewable [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo_search.c:285:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo_search.c:401:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Window [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo_search.c:339:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.6/src/xdo_search.c:113:77: style: Parameter 're' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/xdo_search.c:147:78: style: Parameter 're' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/xdo_search.c:170:82: style: Parameter 're' can be declared as pointer to const [constParameterPointer] xsnow-3.8.6/src/xpm2cairo-gdk.c:58:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.8.6/src/xdo.c:1351:32: warning: If memory allocation fails, then there is a possible null pointer dereference: xdo [ctunullpointerOutOfMemory] xsnow-3.8.6/src/xdo.c:145:24: note: Assuming allocation function fails xsnow-3.8.6/src/xdo.c:145:10: note: Assignment 'xdo=(struct xdo_t*)malloc(sizeof(struct xdo_t))', assigned value is 0 xsnow-3.8.6/src/xdo.c:159:22: note: Calling function _xdo_has_xtest, 1st argument is null xsnow-3.8.6/src/xdo.c:1351:32: note: Dereferencing argument xdo that is null diff: DONE