2025-05-09 02:28 ftp://ftp.de.debian.org/debian/pool/main/x/xsnow/xsnow_3.8.3.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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 66c9938 (2025-05-08 13:55:11 +0200) count: 337 336 elapsed-time: 1.9 1.9 head-timing-info: old-timing-info: head results: xsnow-3.8.3/src/Santa.c:146:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/Santa.c:167:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/Santa.c:450:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/birds.c:277:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/birds.c:633:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/birds.c:739:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/birds.c:887:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cairo_surface_destroy [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/birds.c:1019:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/aurora.c:129:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/aurora.c:251:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_ANTIALIAS_NONE [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/aurora.c:969:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsl_interp_linear [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/Santa.c:209:14: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.8.3/src/Santa.c:153:8: note: Shadowed declaration xsnow-3.8.3/src/Santa.c:209:14: note: Shadow variable xsnow-3.8.3/src/blowoff.c:45:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/aurora.c:410:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.3/src/aurora.c:1038:3: error: Common realloc mistake: 'pz' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.8.3/src/aurora.c:313:7: style: Same expression used in consecutive assignments of 'zmin' and 'zmax'. [duplicateAssignExpression] xsnow-3.8.3/src/aurora.c:314:7: note: Same expression used in consecutive assignments of 'zmin' and 'zmax'. xsnow-3.8.3/src/aurora.c:313:7: note: Same expression used in consecutive assignments of 'zmin' and 'zmax'. xsnow-3.8.3/src/aurora.c:667:11: style:inconclusive: Same expression used in consecutive assignments of 'ymin' and 'ymax'. [duplicateAssignExpression] xsnow-3.8.3/src/aurora.c:668:11: note: Same expression used in consecutive assignments of 'ymin' and 'ymax'. xsnow-3.8.3/src/aurora.c:667:11: note: Same expression used in consecutive assignments of 'ymin' and 'ymax'. xsnow-3.8.3/src/clientwin.c:42:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/clientwin.c:67:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InputOutput [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/clientwin.c:88:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/clientwin.c:139:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/clientwin.c:197:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/aurora.c:1006:11: style:inconclusive: Same expression used in consecutive assignments of 'pmin' and 'pmax'. [duplicateAssignExpression] xsnow-3.8.3/src/aurora.c:1007:11: note: Same expression used in consecutive assignments of 'pmin' and 'pmax'. xsnow-3.8.3/src/aurora.c:1006:11: note: Same expression used in consecutive assignments of 'pmin' and 'pmax'. xsnow-3.8.3/src/aurora.c:421:10: style: Redundant initialization for 'scale'. The initialized value is overwritten before it is read. [redundantInitialization] xsnow-3.8.3/src/aurora.c:418:17: note: scale is initialized xsnow-3.8.3/src/aurora.c:421:10: note: scale is overwritten xsnow-3.8.3/src/aurora.c:1022:7: style: Redundant initialization for 'm1'. The initialized value is overwritten before it is read. [redundantInitialization] xsnow-3.8.3/src/aurora.c:1020:13: note: m1 is initialized xsnow-3.8.3/src/aurora.c:1022:7: note: m1 is overwritten xsnow-3.8.3/src/aurora.c:245:14: style: Local variable 'a' shadows outer variable [shadowVariable] xsnow-3.8.3/src/aurora.c:61:25: note: Shadowed declaration xsnow-3.8.3/src/aurora.c:245:14: note: Shadow variable xsnow-3.8.3/src/aurora.c:318:13: style: Local variable 'd' shadows outer argument [shadowArgument] xsnow-3.8.3/src/aurora.c:231:23: note: Shadowed declaration xsnow-3.8.3/src/aurora.c:318:13: note: Shadow variable xsnow-3.8.3/src/aurora.c:352:16: style: Local variable 'd' shadows outer argument [shadowArgument] xsnow-3.8.3/src/aurora.c:231:23: note: Shadowed declaration xsnow-3.8.3/src/aurora.c:352:16: note: Shadow variable xsnow-3.8.3/src/aurora.c:811:7: style: Local variable 'd' shadows outer variable [shadowVariable] xsnow-3.8.3/src/aurora.c:714:11: note: Shadowed declaration xsnow-3.8.3/src/aurora.c:811:7: note: Shadow variable xsnow-3.8.3/src/clientwin.c:185:48: style:inconclusive: Function 'Find_Client' argument 3 names different: declaration 'target_win' definition 'subwin'. [funcArgNamesDifferent] xsnow-3.8.3/src/clientwin.h:27:62: note: Function 'Find_Client' argument 3 names different: declaration 'target_win' definition 'subwin'. xsnow-3.8.3/src/clientwin.c:185:48: note: Function 'Find_Client' argument 3 names different: declaration 'target_win' definition 'subwin'. xsnow-3.8.3/src/birds.c:438:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.3/src/birds.c:381:14: style: The if condition is the same as the previous if condition [duplicateCondition] xsnow-3.8.3/src/birds.c:373:14: note: First condition xsnow-3.8.3/src/birds.c:381:14: note: Second condition xsnow-3.8.3/src/birds.c:648:15: style: Condition 'ih<1' is always false [knownConditionTrueFalse] xsnow-3.8.3/src/birds.c:627:39: note: Assuming that condition 'ih<=0' is not redundant xsnow-3.8.3/src/birds.c:648:15: note: Condition 'ih<1' is always false xsnow-3.8.3/src/birds.c:589:16: style: Redundant initialization for 'orient'. The initialized value is overwritten before it is read. [redundantInitialization] xsnow-3.8.3/src/birds.c:584:17: note: orient is initialized xsnow-3.8.3/src/birds.c:589:16: note: orient is overwritten xsnow-3.8.3/src/csvpos.c:52:25: style: Parameter 'k' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/birds.c:253:24: style: Parameter 'bird' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/birds.c:332:19: style: Variable 'b' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/birds.c:691:17: style: Variable 'bird' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/docs.c:528:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/vroot.h:75:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/dsimple.c:126:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/dsimple.c:273:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/dsimple.c:365:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/vroot.h:74:16: style: Local variable 'dpy' shadows outer variable [shadowVariable] xsnow-3.8.3/src/dsimple.c:51:17: note: Shadowed declaration xsnow-3.8.3/src/vroot.h:74:16: note: Shadow variable xsnow-3.8.3/src/dsimple.c:146:10: style: Variable 'displayname' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/vroot.h:70:19: style: Variable 'save_screen' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/fallensnow.c:84:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/fallensnow.c:334:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/fallensnow.c:548:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_ANTIALIAS_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/fallensnow.c:721:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RectangleIn [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/fallensnow.c:230:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.3/src/fallensnow.c:841:6: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] xsnow-3.8.3/src/fallensnow.c:837:10: note: outer condition: !global.IsDouble xsnow-3.8.3/src/fallensnow.c:841:6: note: identical inner condition: !global.IsDouble xsnow-3.8.3/src/fallensnow.c:497:7: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.3/src/fallensnow.c:497:7: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.3/src/fallensnow.c:503:44: style:inconclusive: Function 'CleanFallenArea' argument 2 names different: declaration 'x' definition 'xstart'. [funcArgNamesDifferent] xsnow-3.8.3/src/fallensnow.h:49:54: note: Function 'CleanFallenArea' argument 2 names different: declaration 'x' definition 'xstart'. xsnow-3.8.3/src/fallensnow.c:503:44: note: Function 'CleanFallenArea' argument 2 names different: declaration 'x' definition 'xstart'. xsnow-3.8.3/src/fallensnow.c:639:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.8.3/src/fallensnow.c:582:11: note: Shadowed declaration xsnow-3.8.3/src/fallensnow.c:639:7: note: Shadow variable xsnow-3.8.3/src/fallensnow.c:674:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.8.3/src/fallensnow.c:582:11: note: Shadowed declaration xsnow-3.8.3/src/fallensnow.c:674:7: note: Shadow variable xsnow-3.8.3/src/fallensnow.c:314:50: style: Parameter 'win' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/fallensnow.c:503:34: style: Parameter 'fsnow' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/fallensnow.c:545:15: style: Variable 'acth' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/fallensnow.c:779:43: style: Parameter 'fsnow' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/docs.c:520:3: error: Common realloc mistake: 'result' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.8.3/src/hashtable.cpp:83:24: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/hashtable.cpp:108:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] xsnow-3.8.3/src/ixpm.c:50:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/ixpm.c:121:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/ixpm.c:237:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/ixpm.c:274:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/flags.c:214:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/flags.c:398:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/flags.c:427:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/flags.c:466:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/kdtree.c:176:39: style:inconclusive: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. [funcArgNamesDifferent] xsnow-3.8.3/src/kdtree.c:102:39: note: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. xsnow-3.8.3/src/kdtree.c:176:39: note: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. xsnow-3.8.3/src/kdtree.c:415:41: style:inconclusive: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] xsnow-3.8.3/src/kdtree.h:61:48: note: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.8.3/src/kdtree.c:415:41: note: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.8.3/src/kdtree.c:549:47: style:inconclusive: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] xsnow-3.8.3/src/kdtree.h:89:54: note: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.8.3/src/kdtree.c:549:47: note: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.8.3/src/kdtree.c:573:48: style:inconclusive: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] xsnow-3.8.3/src/kdtree.h:90:55: note: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.8.3/src/kdtree.c:573:48: note: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.8.3/src/kdtree.c:626:32: style:inconclusive: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.3/src/kdtree.h:95:39: note: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:626:32: note: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:638:34: style:inconclusive: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.3/src/kdtree.h:101:41: note: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:638:34: note: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:643:30: style:inconclusive: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.3/src/kdtree.h:104:37: note: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:643:30: note: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:648:31: style:inconclusive: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.3/src/kdtree.h:109:38: note: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:648:31: note: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:654:33: style:inconclusive: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.3/src/kdtree.h:114:40: note: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:654:33: note: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:665:34: style:inconclusive: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.3/src/kdtree.h:115:41: note: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:665:34: note: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:679:34: style:inconclusive: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.3/src/kdtree.h:116:41: note: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:679:34: note: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:690:35: style:inconclusive: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.3/src/kdtree.h:117:42: note: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:690:35: note: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:846:41: style:inconclusive: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.8.3/src/kdtree.c:104:41: note: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:846:41: note: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.8.3/src/kdtree.c:633:31: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/kdtree.c:643:30: style: Parameter 'rset' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/ixpm.c:309:7: style: Local variable 'l' shadows outer variable [shadowVariable] xsnow-3.8.3/src/ixpm.c:270:8: note: Shadowed declaration xsnow-3.8.3/src/ixpm.c:309:7: note: Shadow variable xsnow-3.8.3/src/ixpm.c:333:7: style: Local variable 'l' shadows outer variable [shadowVariable] xsnow-3.8.3/src/ixpm.c:270:8: note: Shadowed declaration xsnow-3.8.3/src/ixpm.c:333:7: note: Shadow variable xsnow-3.8.3/src/loadmeasure.c:53:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:385:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LANGUAGES [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:636:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Below [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:660:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:742:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:911:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:1038:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:1080:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:1113:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ConfigureNotify [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:1147:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:1228:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:1281:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XdbeBackground [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:1389:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:1415:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:1426:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/meteor.c:68:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/meteor.c:90:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_ANTIALIAS_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/meteor.c:176:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/main.c:528:8: style: Condition '!StartWindow()' is always false [knownConditionTrueFalse] xsnow-3.8.3/src/main.c:528:20: note: Calling function 'StartWindow' returns 1 xsnow-3.8.3/src/main.c:528:8: note: Condition '!StartWindow()' is always false xsnow-3.8.3/src/main.c:902:7: style: Condition '!dodouble' is always true [knownConditionTrueFalse] xsnow-3.8.3/src/main.c:884:19: note: Assignment 'dodouble=0', assigned value is 0 xsnow-3.8.3/src/main.c:902:7: note: Condition '!dodouble' is always true xsnow-3.8.3/src/main.c:332:13: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/main.c:676:13: style: Variable 'desktopsession' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/main.c:1183:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/main.c:748:18: style: Variable 'gdkwin' is not assigned a value. [unassignedVariable] xsnow-3.8.3/src/moon.c:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/moon.c:137:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/moon.c:230:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.8.3/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.3/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.3/src/scenery.c:111:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/scenery.c:195:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/scenery.c:254:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/scenery.c:425:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmDepth [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/scenery.c:498:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XpmDepth [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/scenery.c:265:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.8.3/src/scenery.c:231:8: note: Shadowed declaration xsnow-3.8.3/src/scenery.c:265:7: note: Shadow variable xsnow-3.8.3/src/scenery.c:275:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.8.3/src/scenery.c:231:8: note: Shadowed declaration xsnow-3.8.3/src/scenery.c:275:7: note: Shadow variable xsnow-3.8.3/src/scenery.c:121:14: style: Variable 'ta' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/scenery.c:122:14: style: Variable 'tb' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/spline_interpol.c:34:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gsl_interp_linear [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/spline_interpol.c:30:36: style:inconclusive: Function 'spline_interpol' argument 1 names different: declaration 'p' definition 'px'. [funcArgNamesDifferent] xsnow-3.8.3/src/spline_interpol.h:52:36: note: Function 'spline_interpol' argument 1 names different: declaration 'p' definition 'px'. xsnow-3.8.3/src/spline_interpol.c:30:36: note: Function 'spline_interpol' argument 1 names different: declaration 'p' definition 'px'. xsnow-3.8.3/src/snow.c:114:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/snow.c:195:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_HYPER [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/snow.c:469:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_REGION_OVERLAP_PART [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/snow.c:582:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/stars.c:62:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/stars.c:75:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/stars.c:103:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/stars.c:122:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_ANTIALIAS_NONE [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/stars.c:126:21: style: Variable 'star' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/stars.c:145:21: style: Variable 'star' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/transwindow.c:138:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_DOCK [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/transwindow.c:249:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Below [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/transwindow.c:263:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Above [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/transwindow.c:156:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.3/src/transwindow.c:50:52: style:inconclusive: Function 'make_trans_window' argument 2 names different: declaration 'Transwindow' definition 'transwindow'. [funcArgNamesDifferent] xsnow-3.8.3/src/transwindow.h:27:59: note: Function 'make_trans_window' argument 2 names different: declaration 'Transwindow' definition 'transwindow'. xsnow-3.8.3/src/transwindow.c:50:52: note: Function 'make_trans_window' argument 2 names different: declaration 'Transwindow' definition 'transwindow'. xsnow-3.8.3/src/transwindow.c:50:69: style:inconclusive: Function 'make_trans_window' argument 3 names different: declaration 'Xscreen' definition 'xscreen'. [funcArgNamesDifferent] xsnow-3.8.3/src/transwindow.h:27:76: note: Function 'make_trans_window' argument 3 names different: declaration 'Xscreen' definition 'xscreen'. xsnow-3.8.3/src/transwindow.c:50:69: note: Function 'make_trans_window' argument 3 names different: declaration 'Xscreen' definition 'xscreen'. xsnow-3.8.3/src/snow.c:414:16: style: Condition 'istart<0' is always false [knownConditionTrueFalse] xsnow-3.8.3/src/snow.c:408:16: note: Assuming that condition 'nx>=fsnow->x' is not redundant xsnow-3.8.3/src/snow.c:412:25: note: Assignment 'istart=nx-fsnow->x', assigned value is greater than -1 xsnow-3.8.3/src/snow.c:414:16: note: Condition 'istart<0' is always false xsnow-3.8.3/src/snow.c:913:4: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.3/src/snow.c:913:4: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.3/src/snow.c:869:4: warning: If memory allocation fails, then there is a possible null pointer dereference: x [nullPointerOutOfMemory] xsnow-3.8.3/src/snow.c:847:24: note: Assuming allocation function fails xsnow-3.8.3/src/snow.c:847:8: note: Assignment 'x=(char***)malloc((n+NFlakeTypesVintage+1)*sizeof(char**))', assigned value is 0 xsnow-3.8.3/src/snow.c:869:4: note: Null pointer dereference xsnow-3.8.3/src/snow.c:506:28: style: Local variable 'grect' shadows outer variable [shadowVariable] xsnow-3.8.3/src/snow.c:487:29: note: Shadowed declaration xsnow-3.8.3/src/snow.c:506:28: note: Shadow variable xsnow-3.8.3/src/snow.c:507:29: style: Local variable 'in' shadows outer variable [shadowVariable] xsnow-3.8.3/src/snow.c:467:30: note: Shadowed declaration xsnow-3.8.3/src/snow.c:507:29: note: Shadow variable xsnow-3.8.3/src/snow.c:514:31: style: Local variable 'grect' shadows outer variable [shadowVariable] xsnow-3.8.3/src/snow.c:506:28: note: Shadowed declaration xsnow-3.8.3/src/snow.c:514:31: note: Shadow variable xsnow-3.8.3/src/snow.c:515:32: style: Local variable 'in' shadows outer variable [shadowVariable] xsnow-3.8.3/src/snow.c:507:29: note: Shadowed declaration xsnow-3.8.3/src/snow.c:515:32: note: Shadow variable xsnow-3.8.3/src/snow.c:520:27: style: Local variable 'grec' shadows outer variable [shadowVariable] xsnow-3.8.3/src/snow.c:466:29: note: Shadowed declaration xsnow-3.8.3/src/snow.c:520:27: note: Shadow variable xsnow-3.8.3/src/snow.c:349:20: style: Variable 'speedxmaxes' can be declared as const array [constVariable] xsnow-3.8.3/src/snow.c:587:28: style: Parameter 'flake' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/snow.c:911:23: style: Parameter 'flake' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/treesnow.c:52:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/treesnow.c:100:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/utils.c:255:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/utils.c:327:11: style: Condition 'changed' is always true [knownConditionTrueFalse] xsnow-3.8.3/src/utils.c:115:27: style:inconclusive: Function 'myXClearArea' argument 1 names different: declaration 'display' definition 'dsp'. [funcArgNamesDifferent] xsnow-3.8.3/src/utils.h:61:37: note: Function 'myXClearArea' argument 1 names different: declaration 'display' definition 'dsp'. xsnow-3.8.3/src/utils.c:115:27: note: Function 'myXClearArea' argument 1 names different: declaration 'display' definition 'dsp'. xsnow-3.8.3/src/utils.c:145:28: style:inconclusive: Function 'ValidColor' argument 1 names different: declaration 'color' definition 'colorName'. [funcArgNamesDifferent] xsnow-3.8.3/src/utils.h:63:39: note: Function 'ValidColor' argument 1 names different: declaration 'color' definition 'colorName'. xsnow-3.8.3/src/utils.c:145:28: note: Function 'ValidColor' argument 1 names different: declaration 'color' definition 'colorName'. xsnow-3.8.3/src/utils.c:179:38: style:inconclusive: Function 'gaussian' argument 2 names different: declaration 'standard_deviation' definition 'std'. [funcArgNamesDifferent] xsnow-3.8.3/src/utils.h:75:45: note: Function 'gaussian' argument 2 names different: declaration 'standard_deviation' definition 'std'. xsnow-3.8.3/src/utils.c:179:38: note: Function 'gaussian' argument 2 names different: declaration 'standard_deviation' definition 'std'. xsnow-3.8.3/src/utils.c:258:23: style:inconclusive: Function 'ScaleChanged' argument 1 names different: declaration 'prev' definition 'prevscale'. [funcArgNamesDifferent] xsnow-3.8.3/src/utils.h:62:34: note: Function 'ScaleChanged' argument 1 names different: declaration 'prev' definition 'prevscale'. xsnow-3.8.3/src/utils.c:258:23: note: Function 'ScaleChanged' argument 1 names different: declaration 'prev' definition 'prevscale'. xsnow-3.8.3/src/utils.c:338:10: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.8.3/src/utils.c:285:8: note: Shadowed declaration xsnow-3.8.3/src/utils.c:338:10: note: Shadow variable xsnow-3.8.3/src/utils.c:70:10: style: Variable 'h' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/utils.c:100:10: style: Variable 'b' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/utils.c:199:71: style: Parameter 'datap' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/utils.c:241:26: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/utils.c:362:10: style: Variable 'a' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/utils.c:389:41: style: Parameter 'myxdo' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/flags.c:395:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xsnow-3.8.3/src/flags.c:395:30: warning: If memory allocation fails, then there is a possible null pointer dereference: flag [nullPointerOutOfMemory] xsnow-3.8.3/src/flags.c:394:27: note: Assuming allocation function fails xsnow-3.8.3/src/flags.c:394:14: note: Assignment 'flag=(char*)malloc((strlen(line)+1)*sizeof(char))', assigned value is 0 xsnow-3.8.3/src/flags.c:395:30: note: Null pointer dereference xsnow-3.8.3/src/flags.c:396:18: warning: If memory allocation fails, then there is a possible null pointer dereference: flag [nullPointerOutOfMemory] xsnow-3.8.3/src/flags.c:394:27: note: Assuming allocation function fails xsnow-3.8.3/src/flags.c:394:14: note: Assignment 'flag=(char*)malloc((strlen(line)+1)*sizeof(char))', assigned value is 0 xsnow-3.8.3/src/flags.c:396:18: note: Null pointer dereference xsnow-3.8.3/src/wind.c:51:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/ui.c:288:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/ui.c:319:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_STATE_ICONIFIED [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/ui.c:552:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/ui.c:667:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_BILINEAR [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/ui.c:746:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/ui.c:1128:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xsnow_xml [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/ui.c:1287:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_PROVIDER_PRIORITY_APPLICATION [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/ui.c:1441:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_APPLICATION_FLAGS_NONE [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/ui.c:1457:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WIN_POS_CENTER [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/ui.c:1524:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xsnow_xml [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/flags.c:65:29: style: Parameter 's' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/flags.c:129:10: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/flags.c:566:34: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/windows.c:70:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_LOW [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/windows.c:97:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Expose [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/windows.c:156:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/windows.c:260:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ButtonPressMask [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/windows.c:522:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/windows.c:598:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsViewable [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/windows.c:674:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/wmctrl.c:120:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnyPropertyType [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/wmctrl.c:212:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnyPropertyType [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/wmctrl.c:104:8: style: Condition 'firstcall' is always true [knownConditionTrueFalse] xsnow-3.8.3/src/wmctrl.c:103:20: note: Assignment 'firstcall=1', assigned value is 1 xsnow-3.8.3/src/wmctrl.c:104:8: note: Condition 'firstcall' is always true xsnow-3.8.3/src/wmctrl.c:331:6: style: Condition 'properties' is always true [knownConditionTrueFalse] xsnow-3.8.3/src/wmctrl.c:540:7: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.3/src/wmctrl.c:540:7: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.3/src/wmctrl.c:540:7: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.3/src/wmctrl.c:540:7: warning: %d in format string (no. 10) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.3/src/wmctrl.c:540:7: warning: %d in format string (no. 11) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.3/src/wmctrl.c:157:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] xsnow-3.8.3/src/wmctrl.c:156:8: note: r is assigned xsnow-3.8.3/src/wmctrl.c:157:5: note: r is overwritten xsnow-3.8.3/src/wmctrl.c:171:26: style:inconclusive: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. [funcArgNamesDifferent] xsnow-3.8.3/src/wmctrl.h:28:42: note: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. xsnow-3.8.3/src/wmctrl.c:171:26: note: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. xsnow-3.8.3/src/wmctrl.c:171:40: style:inconclusive: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. [funcArgNamesDifferent] xsnow-3.8.3/src/wmctrl.h:28:50: note: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. xsnow-3.8.3/src/wmctrl.c:171:40: note: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. xsnow-3.8.3/src/wmctrl.c:270:8: style: Local variable 'type' shadows outer variable [shadowVariable] xsnow-3.8.3/src/wmctrl.c:173:9: note: Shadowed declaration xsnow-3.8.3/src/wmctrl.c:270:8: note: Shadow variable xsnow-3.8.3/src/wmctrl.c:271:25: style: Local variable 'b' shadows outer variable [shadowVariable] xsnow-3.8.3/src/wmctrl.c:175:18: note: Shadowed declaration xsnow-3.8.3/src/wmctrl.c:271:25: note: Shadow variable xsnow-3.8.3/src/wmctrl.c:271:32: style: Local variable 'format' shadows outer variable [shadowVariable] xsnow-3.8.3/src/wmctrl.c:174:8: note: Shadowed declaration xsnow-3.8.3/src/wmctrl.c:271:32: note: Shadow variable xsnow-3.8.3/src/wmctrl.c:272:18: style: Local variable 'properties' shadows outer variable [shadowVariable] xsnow-3.8.3/src/wmctrl.c:176:19: note: Shadowed declaration xsnow-3.8.3/src/wmctrl.c:272:18: note: Shadow variable xsnow-3.8.3/src/wmctrl.c:318:12: style: Local variable 'type' shadows outer variable [shadowVariable] xsnow-3.8.3/src/wmctrl.c:173:9: note: Shadowed declaration xsnow-3.8.3/src/wmctrl.c:318:12: note: Shadow variable xsnow-3.8.3/src/windows.c:545:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.8.3/src/windows.c:531:11: note: Shadowed declaration xsnow-3.8.3/src/windows.c:545:7: note: Shadow variable xsnow-3.8.3/src/wmctrl.c:318:22: style: Local variable 'format' shadows outer variable [shadowVariable] xsnow-3.8.3/src/wmctrl.c:174:8: note: Shadowed declaration xsnow-3.8.3/src/wmctrl.c:318:22: note: Shadow variable xsnow-3.8.3/src/wmctrl.c:318:51: style: Local variable 'b' shadows outer variable [shadowVariable] xsnow-3.8.3/src/wmctrl.c:175:18: note: Shadowed declaration xsnow-3.8.3/src/wmctrl.c:318:51: note: Shadow variable xsnow-3.8.3/src/wmctrl.c:318:69: style: Local variable 'properties' shadows outer variable [shadowVariable] xsnow-3.8.3/src/wmctrl.c:176:19: note: Shadowed declaration xsnow-3.8.3/src/wmctrl.c:318:69: note: Shadow variable xsnow-3.8.3/src/wmctrl.c:343:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.8.3/src/wmctrl.c:286:18: note: Shadowed declaration xsnow-3.8.3/src/wmctrl.c:343:7: note: Shadow variable xsnow-3.8.3/src/wmctrl.c:371:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.8.3/src/wmctrl.c:286:18: note: Shadowed declaration xsnow-3.8.3/src/wmctrl.c:371:7: note: Shadow variable xsnow-3.8.3/src/wmctrl.c:407:20: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.8.3/src/wmctrl.c:286:18: note: Shadowed declaration xsnow-3.8.3/src/wmctrl.c:407:20: note: Shadow variable xsnow-3.8.3/src/windows.c:197:13: style: Variable 'winfo' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/windows.c:666:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/windows.c:679:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/wmctrl.c:466:9: style: Variable 'r' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/wmctrl.c:106:17: style: Variable 'firstcall' is assigned a value that is never used. [unreadVariable] xsnow-3.8.3/src/ui.c:1232: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.3/src/ui.c:1240: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.3/src/ui.c:302:8: style: Condition '!iconified' is always true [knownConditionTrueFalse] xsnow-3.8.3/src/ui.c:296:7: note: Assuming that condition 'iconified' is not redundant xsnow-3.8.3/src/ui.c:302:8: note: Condition '!iconified' is always true xsnow-3.8.3/src/ui.c:874:4: error: Common realloc mistake: 'a' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.8.3/src/ui.c:1202:7: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.8.3/src/xdo_search.c:63:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Window [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo_search.c:109:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo_search.c:208:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo_search.c:223:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsViewable [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo_search.c:287:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo_search.c:403:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Window [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/ui.c:1506:36: style:inconclusive: Function 'yesyes' argument 2 names different: declaration 'data' definition 'window'. [funcArgNamesDifferent] xsnow-3.8.3/src/ui.c:215:43: note: Function 'yesyes' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.8.3/src/ui.c:1506:36: note: Function 'yesyes' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.8.3/src/ui.c:1512:34: style:inconclusive: Function 'nono' argument 2 names different: declaration 'data' definition 'window'. [funcArgNamesDifferent] xsnow-3.8.3/src/ui.c:216:41: note: Function 'nono' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.8.3/src/ui.c:1512:34: note: Function 'nono' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.8.3/src/ui.c:1082:15: style: Local variable 'preview' shadows outer variable [shadowVariable] xsnow-3.8.3/src/ui.c:199:23: note: Shadowed declaration xsnow-3.8.3/src/ui.c:1082:15: note: Shadow variable xsnow-3.8.3/src/ui.c:1267:14: style: Local variable 'p' shadows outer variable [shadowVariable] xsnow-3.8.3/src/ui.c:1197:8: note: Shadowed declaration xsnow-3.8.3/src/ui.c:1267:14: note: Shadow variable xsnow-3.8.3/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.3/src/ui.c:1142:7: note: You might need to cast the function pointer here xsnow-3.8.3/src/ui.c:314:28: note: Parameter 'event' can be declared as pointer to const xsnow-3.8.3/src/ui.c:1232:10: style: Variable 'token' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/ui.c:1506: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.3/src/ui.c:1483:4: note: You might need to cast the function pointer here xsnow-3.8.3/src/ui.c:1506:24: note: Parameter 'w' can be declared as pointer to const xsnow-3.8.3/src/ui.c:1512: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.3/src/ui.c:1491:4: note: You might need to cast the function pointer here xsnow-3.8.3/src/ui.c:1512:22: note: Parameter 'w' can be declared as pointer to const xsnow-3.8.3/src/ui.c:331:12: style: struct member '_santa_button::value' is never used. [unusedStructMember] xsnow-3.8.3/src/xdo.c:123:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:195:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsUnmapped [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:207:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IsUnmapped [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:308:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWX [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:318:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PResizeInc [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:366:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWWidth [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:382:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CWOverrideRedirect [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:412:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XUrgencyHint [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:433:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PropModeReplace [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:520:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:560:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:593:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:624:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:657:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:686:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:718:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:749:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:781:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_target [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:833:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:851:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:860:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:985:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:999:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1024:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1075:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1201:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1286:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1317:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoSymbol [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1425:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1482:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1508:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AnyPropertyType [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1571:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1598:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbUseCoreKbd [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1634:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1655:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMapIndex [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1686:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMapIndex [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1740:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1MotionMask [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1767:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Button1MotionMask [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1796:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Atom [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1844:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1885:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1917:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Atom [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1971:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:1987:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo.c:2015:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xsnow-3.8.3/src/xdo_search.c:341:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.8.3/src/xdo_search.c:114:77: style: Parameter 're' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/xdo_search.c:149:78: style: Parameter 're' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/xdo_search.c:172:82: style: Parameter 're' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/xdo_search.c:59:9: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xsnow-3.8.3/src/ui.c:717:15: style: struct member '_general_button::button' is never used. [unusedStructMember] xsnow-3.8.3/src/ui.c:841:15: style: struct member '_snow_button::button' is never used. [unusedStructMember] xsnow-3.8.3/src/xpm2cairo-gdk.c:58:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_FORMAT_ARGB32 [valueFlowBailoutIncompleteVar] xsnow-3.8.3/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.3/src/xdo.c:198:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.3/src/xdo.c:213:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.3/src/xdo.c:486:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.3/src/xdo.c:506:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.3/src/xdo.c:988:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.3/src/xdo.c:1006:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.3/src/xdo.c:1219:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.3/src/xdo.c:1622:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.3/src/xdo.c:1819:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.3/src/xdo.c:1834:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.8.3/src/xdo.c:1436:18: style: The statement 'if (strptr!=NULL) strptr=NULL' is logically equivalent to 'strptr=NULL'. [duplicateConditionalAssign] xsnow-3.8.3/src/xdo.c:1437:10: note: Assignment 'strptr=NULL' xsnow-3.8.3/src/xdo.c:1436:18: note: Condition 'strptr!=NULL' is redundant xsnow-3.8.3/src/xdo.c:435:49: style: Condition 'ret==0' is always true [knownConditionTrueFalse] xsnow-3.8.3/src/xdo.c:434:12: note: Assuming that condition 'ret==0' is not redundant xsnow-3.8.3/src/xdo.c:435:49: note: Condition 'ret==0' is always true xsnow-3.8.3/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.3/src/xdo.c:146:11: warning: If memory allocation fails, then there is a possible null pointer dereference: xdo [nullPointerOutOfMemory] xsnow-3.8.3/src/xdo.c:145:24: note: Assuming allocation function fails xsnow-3.8.3/src/xdo.c:145:10: note: Assignment 'xdo=(struct xdo_t*)malloc(sizeof(struct xdo_t))', assigned value is 0 xsnow-3.8.3/src/xdo.c:146:11: note: Null pointer dereference xsnow-3.8.3/src/xdo.c:148:4: warning: If memory allocation fails, then there is a possible null pointer dereference: xdo [nullPointerOutOfMemory] xsnow-3.8.3/src/xdo.c:145:24: note: Assuming allocation function fails xsnow-3.8.3/src/xdo.c:145:10: note: Assignment 'xdo=(struct xdo_t*)malloc(sizeof(struct xdo_t))', assigned value is 0 xsnow-3.8.3/src/xdo.c:148:4: note: Null pointer dereference xsnow-3.8.3/src/xdo.c:149:4: warning: If memory allocation fails, then there is a possible null pointer dereference: xdo [nullPointerOutOfMemory] xsnow-3.8.3/src/xdo.c:145:24: note: Assuming allocation function fails xsnow-3.8.3/src/xdo.c:145:10: note: Assignment 'xdo=(struct xdo_t*)malloc(sizeof(struct xdo_t))', assigned value is 0 xsnow-3.8.3/src/xdo.c:149:4: note: Null pointer dereference xsnow-3.8.3/src/xdo.c:1349:32: warning: If memory allocation fails, then there is a possible null pointer dereference: xdo [nullPointerOutOfMemory] xsnow-3.8.3/src/xdo.c:145:24: note: Assuming allocation function fails xsnow-3.8.3/src/xdo.c:145:10: note: Assignment 'xdo=(struct xdo_t*)malloc(sizeof(struct xdo_t))', assigned value is 0 xsnow-3.8.3/src/xdo.c:159:23: note: Calling function '_xdo_has_xtest', 1st argument 'xdo' value is 0 xsnow-3.8.3/src/xdo.c:1349:32: note: Null pointer dereference xsnow-3.8.3/src/xdo.c:118:28: style:inconclusive: Function 'xdo_new' argument 1 names different: declaration 'display' definition 'display_name'. [funcArgNamesDifferent] xsnow-3.8.3/src/xdo.h:234:28: note: Function 'xdo_new' argument 1 names different: declaration 'display' definition 'display_name'. xsnow-3.8.3/src/xdo.c:118:28: note: Function 'xdo_new' argument 1 names different: declaration 'display' definition 'display_name'. xsnow-3.8.3/src/xdo.c:343:50: style:inconclusive: Function 'xdo_set_window_size' argument 2 names different: declaration 'wid' definition 'window'. [funcArgNamesDifferent] xsnow-3.8.3/src/xdo.h:508:50: note: Function 'xdo_set_window_size' argument 2 names different: declaration 'wid' definition 'window'. xsnow-3.8.3/src/xdo.c:343:50: note: Function 'xdo_set_window_size' argument 2 names different: declaration 'wid' definition 'window'. xsnow-3.8.3/src/xdo.c:343:62: style:inconclusive: Function 'xdo_set_window_size' argument 3 names different: declaration 'w' definition 'width'. [funcArgNamesDifferent] xsnow-3.8.3/src/xdo.h:508:59: note: Function 'xdo_set_window_size' argument 3 names different: declaration 'w' definition 'width'. xsnow-3.8.3/src/xdo.c:343:62: note: Function 'xdo_set_window_size' argument 3 names different: declaration 'w' definition 'width'. xsnow-3.8.3/src/xdo.c:343:73: style:inconclusive: Function 'xdo_set_window_size' argument 4 names different: declaration 'h' definition 'height'. [funcArgNamesDifferent] xsnow-3.8.3/src/xdo.h:508:66: note: Function 'xdo_set_window_size' argument 4 names different: declaration 'h' definition 'height'. xsnow-3.8.3/src/xdo.c:343:73: note: Function 'xdo_set_window_size' argument 4 names different: declaration 'h' definition 'height'. xsnow-3.8.3/src/xdo.c:917:51: style:inconclusive: Function 'xdo_get_mouse_location' argument 2 names different: declaration 'x' definition 'x_ret'. [funcArgNamesDifferent] xsnow-3.8.3/src/xdo.h:312:51: note: Function 'xdo_get_mouse_location' argument 2 names different: declaration 'x' definition 'x_ret'. xsnow-3.8.3/src/xdo.c:917:51: note: Function 'xdo_get_mouse_location' argument 2 names different: declaration 'x' definition 'x_ret'. xsnow-3.8.3/src/xdo.c:917:63: style:inconclusive: Function 'xdo_get_mouse_location' argument 3 names different: declaration 'y' definition 'y_ret'. [funcArgNamesDifferent] xsnow-3.8.3/src/xdo.h:312:59: note: Function 'xdo_get_mouse_location' argument 3 names different: declaration 'y' definition 'y_ret'. xsnow-3.8.3/src/xdo.c:917:63: note: Function 'xdo_get_mouse_location' argument 3 names different: declaration 'y' definition 'y_ret'. xsnow-3.8.3/src/xdo.c:918:12: style:inconclusive: Function 'xdo_get_mouse_location' argument 4 names different: declaration 'screen_num' definition 'screen_num_ret'. [funcArgNamesDifferent] xsnow-3.8.3/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.3/src/xdo.c:918:12: note: Function 'xdo_get_mouse_location' argument 4 names different: declaration 'screen_num' definition 'screen_num_ret'. xsnow-3.8.3/src/xdo.c:1170:83: style:inconclusive: Function 'xdo_send_keysequence_window_down' argument 3 names different: declaration 'keysequence' definition 'keyseq'. [funcArgNamesDifferent] xsnow-3.8.3/src/xdo.h:425:19: note: Function 'xdo_send_keysequence_window_down' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.8.3/src/xdo.c:1170:83: note: Function 'xdo_send_keysequence_window_down' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.8.3/src/xdo.c:1175:81: style:inconclusive: Function 'xdo_send_keysequence_window_up' argument 3 names different: declaration 'keysequence' definition 'keyseq'. [funcArgNamesDifferent] xsnow-3.8.3/src/xdo.h:417:19: note: Function 'xdo_send_keysequence_window_up' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.8.3/src/xdo.c:1175:81: note: Function 'xdo_send_keysequence_window_up' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.8.3/src/xdo.c:1180:78: style:inconclusive: Function 'xdo_send_keysequence_window' argument 3 names different: declaration 'keysequence' definition 'keyseq'. [funcArgNamesDifferent] xsnow-3.8.3/src/xdo.h:409:19: note: Function 'xdo_send_keysequence_window' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.8.3/src/xdo.c:1180:78: note: Function 'xdo_send_keysequence_window' argument 3 names different: declaration 'keysequence' definition 'keyseq'. xsnow-3.8.3/src/xdo.c:1952:50: style:inconclusive: Function 'xdo_minimize_window' argument 2 names different: declaration 'wid' definition 'window'. [funcArgNamesDifferent] xsnow-3.8.3/src/xdo.h:642:50: note: Function 'xdo_minimize_window' argument 2 names different: declaration 'wid' definition 'window'. xsnow-3.8.3/src/xdo.c:1952:50: note: Function 'xdo_minimize_window' argument 2 names different: declaration 'wid' definition 'window'. xsnow-3.8.3/src/xdo.c:1626:53: style: Parameter 'modmap' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/xdo.c:1872:9: style: Variable 'viewport_data' can be declared as pointer to const [constVariablePointer] xsnow-3.8.3/src/xdo.c:2000:28: style: Parameter 'xdo' can be declared as pointer to const [constParameterPointer] xsnow-3.8.3/src/xdo.c:1033:29: error: Uninitialized variable: &key.key [uninitvar] xsnow-3.8.3/src/xdo.c:152:15: style: Variable 'display' is assigned a value that is never used. [unreadVariable] xsnow-3.8.3/src/xdo.c:495:12: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] xsnow-3.8.3/src/xdo.c:1419:10: style: Variable 'i' is assigned a value that is never used. [unreadVariable] xsnow-3.8.3/src/xdo.c:1627:17: style: Variable 'j' is assigned a value that is never used. [unreadVariable] xsnow-3.8.3/src/xdo.c:1678:16: style: Variable 'keycode' is assigned a value that is never used. [unreadVariable] diff: head xsnow-3.8.3/src/utils.c:199:71: style: Parameter 'datap' can be declared as pointer to const [constParameterPointer] DONE