2022-06-20 14:53 ftp://ftp.de.debian.org/debian/pool/main/x/xsnow/xsnow_3.3.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --template=daca2 -D__GNUC__ --platform=unix64 -rp=temp -j2 platform: Linux-5.10.0-15-cloud-amd64-x86_64-with-glibc2.31 python: 3.9.2 client-version: 1.3.24 compiler: g++ (Debian 10.2.1-6) 10.2.1 20210110 cppcheck: head 2.8 head-info: ff50a01 (2022-06-20 09:17:11 +0200) count: 98 101 elapsed-time: 913.9 1244.6 head-timing-info: Overall time: 0s old-timing-info: Overall time: 0s head results: xsnow-3.3.2/src/Santa.c:178:14: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.3.2/src/Santa.c:134:8: note: Shadowed declaration xsnow-3.3.2/src/Santa.c:178:14: note: Shadow variable xsnow-3.3.2/src/clientwin.c:204:48: style:inconclusive: Function 'Find_Client' argument 3 names different: declaration 'target_win' definition 'subwin'. [funcArgNamesDifferent] xsnow-3.3.2/src/clientwin.h:47:62: note: Function 'Find_Client' argument 3 names different: declaration 'target_win' definition 'subwin'. xsnow-3.3.2/src/clientwin.c:204:48: note: Function 'Find_Client' argument 3 names different: declaration 'target_win' definition 'subwin'. xsnow-3.3.2/src/birds.c:346:15: style: The if condition is the same as the previous if condition [duplicateCondition] xsnow-3.3.2/src/birds.c:338:15: note: First condition xsnow-3.3.2/src/birds.c:346:15: note: Second condition xsnow-3.3.2/src/birds.c:598:15: style: Condition 'ih<1' is always false [knownConditionTrueFalse] xsnow-3.3.2/src/birds.c:577:39: note: Assuming that condition 'ih<=0' is not redundant xsnow-3.3.2/src/birds.c:598:15: note: Condition 'ih<1' is always false xsnow-3.3.2/src/birds.c:681:4: error: Common realloc mistake: 'birds' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.3.2/src/birds.c:539:16: style: Redundant initialization for 'orient'. The initialized value is overwritten before it is read. [redundantInitialization] xsnow-3.3.2/src/birds.c:534:17: note: orient is initialized xsnow-3.3.2/src/birds.c:539:16: note: orient is overwritten xsnow-3.3.2/src/vroot.h:74:16: style: Local variable 'dpy' shadows outer variable [shadowVariable] xsnow-3.3.2/src/dsimple.c:69:17: note: Shadowed declaration xsnow-3.3.2/src/vroot.h:74:16: note: Shadow variable xsnow-3.3.2/src/fallensnow.c:268:7: warning: %d in format string (no. 6) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.3.2/src/fallensnow.c:268:7: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.3.2/src/fallensnow.c:274:44: style:inconclusive: Function 'CleanFallenArea' argument 2 names different: declaration 'x' definition 'xstart'. [funcArgNamesDifferent] xsnow-3.3.2/src/fallensnow.h:36:54: note: Function 'CleanFallenArea' argument 2 names different: declaration 'x' definition 'xstart'. xsnow-3.3.2/src/fallensnow.c:274:44: note: Function 'CleanFallenArea' argument 2 names different: declaration 'x' definition 'xstart'. xsnow-3.3.2/src/docs.c:359:3: error: Common realloc mistake: 'result' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.3.2/src/docs.c:365:3: error: Common realloc mistake: 'result' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.3.2/src/docs.c:436:1: error: va_list 'args' was opened but not closed by va_end(). [va_end_missing] xsnow-3.3.2/src/hashtable.cpp:106:7: performance: Prefer prefix ++/-- operators for non-primitive types. [postfixOperator] xsnow-3.3.2/src/ixpm.c:168:7: error: Width 100 given in format string (no. 1) is larger than destination buffer 's[100]', use %99s to prevent overflowing it. [invalidScanfFormatWidth] xsnow-3.3.2/src/ixpm.c:271:3: error: Width 100 given in format string (no. 1) is larger than destination buffer 's[100]', use %99s to prevent overflowing it. [invalidScanfFormatWidth] xsnow-3.3.2/src/ixpm.c:247:7: error: Memory leak: bits [memleak] xsnow-3.3.2/src/ixpm.c:249:7: error: Memory leak: bits [memleak] xsnow-3.3.2/src/ixpm.c:255:4: error: Common realloc mistake: 'bits' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.3.2/src/ixpm.c:288:7: style: Local variable 'l' shadows outer variable [shadowVariable] xsnow-3.3.2/src/ixpm.c:252:8: note: Shadowed declaration xsnow-3.3.2/src/ixpm.c:288:7: note: Shadow variable xsnow-3.3.2/src/ixpm.c:312:7: style: Local variable 'l' shadows outer variable [shadowVariable] xsnow-3.3.2/src/ixpm.c:252:8: note: Shadowed declaration xsnow-3.3.2/src/ixpm.c:312:7: note: Shadow variable xsnow-3.3.2/src/kdtree.c:195:39: style:inconclusive: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. [funcArgNamesDifferent] xsnow-3.3.2/src/kdtree.c:121:39: note: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. xsnow-3.3.2/src/kdtree.c:195:39: note: Function 'insert_rec' argument 1 names different: declaration 'node' definition 'nptr'. xsnow-3.3.2/src/kdtree.c:434:41: style:inconclusive: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] xsnow-3.3.2/src/kdtree.h:81:48: note: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.3.2/src/kdtree.c:434:41: note: Function 'kd_nearest' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.3.2/src/kdtree.c:568:47: style:inconclusive: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] xsnow-3.3.2/src/kdtree.h:109:54: note: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.3.2/src/kdtree.c:568:47: note: Function 'kd_nearest_range' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.3.2/src/kdtree.c:592:48: style:inconclusive: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. [funcArgNamesDifferent] xsnow-3.3.2/src/kdtree.h:110:55: note: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.3.2/src/kdtree.c:592:48: note: Function 'kd_nearest_rangef' argument 1 names different: declaration 'tree' definition 'kd'. xsnow-3.3.2/src/kdtree.c:645:32: style:inconclusive: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.3.2/src/kdtree.h:115:39: note: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:645:32: note: Function 'kd_res_free' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:657:34: style:inconclusive: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.3.2/src/kdtree.h:121:41: note: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:657:34: note: Function 'kd_res_rewind' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:662:30: style:inconclusive: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.3.2/src/kdtree.h:124:37: note: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:662:30: note: Function 'kd_res_end' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:667:31: style:inconclusive: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.3.2/src/kdtree.h:129:38: note: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:667:31: note: Function 'kd_res_next' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:673:33: style:inconclusive: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.3.2/src/kdtree.h:134:40: note: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:673:33: note: Function 'kd_res_item' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:684:34: style:inconclusive: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.3.2/src/kdtree.h:135:41: note: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:684:34: note: Function 'kd_res_itemf' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:698:34: style:inconclusive: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.3.2/src/kdtree.h:136:41: note: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:698:34: note: Function 'kd_res_item3' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:709:35: style:inconclusive: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.3.2/src/kdtree.h:137:42: note: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:709:35: note: Function 'kd_res_item3f' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:865:41: style:inconclusive: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. [funcArgNamesDifferent] xsnow-3.3.2/src/kdtree.c:123:41: note: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/kdtree.c:865:41: note: Function 'clear_results' argument 1 names different: declaration 'set' definition 'rset'. xsnow-3.3.2/src/main.c:723:7: style: Condition '!dodouble' is always true [knownConditionTrueFalse] xsnow-3.3.2/src/main.c:705:19: note: Assignment 'dodouble=0', assigned value is 0 xsnow-3.3.2/src/main.c:723:7: note: Condition '!dodouble' is always true xsnow-3.3.2/src/main.c:953:4: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] xsnow-3.3.2/src/scenery.c:219:7: error: Common realloc mistake: 'TreeType' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.3.2/src/scenery.c:268:9: error: Common realloc mistake: 'TreeType' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.3.2/src/scenery.c:276:3: error: Common realloc mistake: 'TreeType' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.3.2/src/scenery.c:346:7: error: Common realloc mistake: 'Trees' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.3.2/src/scenery.c:386:7: error: Common realloc mistake: 'TreeType' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.3.2/src/scenery.c:229:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.3.2/src/scenery.c:197:8: note: Shadowed declaration xsnow-3.3.2/src/scenery.c:229:7: note: Shadow variable xsnow-3.3.2/src/scenery.c:238:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.3.2/src/scenery.c:197:8: note: Shadowed declaration xsnow-3.3.2/src/scenery.c:238:7: note: Shadow variable xsnow-3.3.2/src/snow.c:383:16: style: Condition 'istart<0' is always false [knownConditionTrueFalse] xsnow-3.3.2/src/snow.c:377:16: note: Assuming that condition 'nx>=fsnow->x' is not redundant xsnow-3.3.2/src/snow.c:381:25: note: Assignment 'istart=nx-fsnow->x', assigned value is greater than -1 xsnow-3.3.2/src/snow.c:383:16: note: Condition 'istart<0' is always false xsnow-3.3.2/src/snow.c:868:4: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.3.2/src/snow.c:868:4: warning: %d in format string (no. 5) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.3.2/src/snow.c:471:28: style: Local variable 'grect' shadows outer variable [shadowVariable] xsnow-3.3.2/src/snow.c:451:29: note: Shadowed declaration xsnow-3.3.2/src/snow.c:471:28: note: Shadow variable xsnow-3.3.2/src/snow.c:472:29: style: Local variable 'in' shadows outer variable [shadowVariable] xsnow-3.3.2/src/snow.c:431:30: note: Shadowed declaration xsnow-3.3.2/src/snow.c:472:29: note: Shadow variable xsnow-3.3.2/src/snow.c:481:31: style: Local variable 'grect' shadows outer variable [shadowVariable] xsnow-3.3.2/src/snow.c:471:28: note: Shadowed declaration xsnow-3.3.2/src/snow.c:481:31: note: Shadow variable xsnow-3.3.2/src/snow.c:482:32: style: Local variable 'in' shadows outer variable [shadowVariable] xsnow-3.3.2/src/snow.c:472:29: note: Shadowed declaration xsnow-3.3.2/src/snow.c:482:32: note: Shadow variable xsnow-3.3.2/src/snow.c:488:27: style: Local variable 'grec' shadows outer variable [shadowVariable] xsnow-3.3.2/src/snow.c:430:29: note: Shadowed declaration xsnow-3.3.2/src/snow.c:488:27: note: Shadow variable xsnow-3.3.2/src/snow.c:323:20: style: Variable 'speedxmaxes' can be declared as const array [constVariable] xsnow-3.3.2/src/stars.c:96:4: error: Common realloc mistake: 'Stars' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.3.2/src/transwindow.c:131:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xsnow-3.3.2/src/transwindow.c:45:34: style:inconclusive: Function 'make_trans_window' argument 1 names different: declaration 'Transwindow' definition 'transwindow'. [funcArgNamesDifferent] xsnow-3.3.2/src/transwindow.h:26:41: note: Function 'make_trans_window' argument 1 names different: declaration 'Transwindow' definition 'transwindow'. xsnow-3.3.2/src/transwindow.c:45:34: note: Function 'make_trans_window' argument 1 names different: declaration 'Transwindow' definition 'transwindow'. xsnow-3.3.2/src/transwindow.c:45:51: style:inconclusive: Function 'make_trans_window' argument 2 names different: declaration 'Fullscreen' definition 'fullscreen'. [funcArgNamesDifferent] xsnow-3.3.2/src/transwindow.h:26:58: note: Function 'make_trans_window' argument 2 names different: declaration 'Fullscreen' definition 'fullscreen'. xsnow-3.3.2/src/transwindow.c:45:51: note: Function 'make_trans_window' argument 2 names different: declaration 'Fullscreen' definition 'fullscreen'. xsnow-3.3.2/src/ui.c:439:7: error: Common realloc mistake: 'a' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.3.2/src/ui.c:737:4: error: Common realloc mistake: 'a' nulled but not freed upon failure [memleakOnRealloc] xsnow-3.3.2/src/ui.c:1158:36: style:inconclusive: Function 'yesyes' argument 2 names different: declaration 'data' definition 'window'. [funcArgNamesDifferent] xsnow-3.3.2/src/ui.c:198:43: note: Function 'yesyes' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.3.2/src/ui.c:1158:36: note: Function 'yesyes' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.3.2/src/ui.c:1164:34: style:inconclusive: Function 'nono' argument 2 names different: declaration 'data' definition 'window'. [funcArgNamesDifferent] xsnow-3.3.2/src/ui.c:199:41: note: Function 'nono' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.3.2/src/ui.c:1164:34: note: Function 'nono' argument 2 names different: declaration 'data' definition 'window'. xsnow-3.3.2/src/ui.c:1158:24: style: Parameter 'w' can be declared as pointer to const [constParameter] xsnow-3.3.2/src/ui.c:1164:22: style: Parameter 'w' can be declared as pointer to const [constParameter] xsnow-3.3.2/src/ui.c:603:15: style: struct member '_general_button::button' is never used. [unusedStructMember] xsnow-3.3.2/src/ui.c:709:15: style: struct member '_snow_button::button' is never used. [unusedStructMember] xsnow-3.3.2/src/utils.c:169:34: style: Condition '(*(char*)&endiantest)==1' is always true [knownConditionTrueFalse] xsnow-3.3.2/src/utils.c:168:21: note: Assignment 'endiantest=1', assigned value is 1 xsnow-3.3.2/src/utils.c:169:34: note: Condition '(*(char*)&endiantest)==1' is always true xsnow-3.3.2/src/utils.c:72:27: style:inconclusive: Function 'myXClearArea' argument 1 names different: declaration 'display' definition 'dsp'. [funcArgNamesDifferent] xsnow-3.3.2/src/utils.h:58:37: note: Function 'myXClearArea' argument 1 names different: declaration 'display' definition 'dsp'. xsnow-3.3.2/src/utils.c:72:27: note: Function 'myXClearArea' argument 1 names different: declaration 'display' definition 'dsp'. xsnow-3.3.2/src/utils.c:129:38: style:inconclusive: Function 'gaussian' argument 2 names different: declaration 'standard_deviation' definition 'std'. [funcArgNamesDifferent] xsnow-3.3.2/src/utils.h:65:45: note: Function 'gaussian' argument 2 names different: declaration 'standard_deviation' definition 'std'. xsnow-3.3.2/src/utils.c:129:38: note: Function 'gaussian' argument 2 names different: declaration 'standard_deviation' definition 'std'. xsnow-3.3.2/src/utils.c:202:23: style:inconclusive: Function 'ScaleChanged' argument 1 names different: declaration 'prev' definition 'prevscale'. [funcArgNamesDifferent] xsnow-3.3.2/src/utils.h:59:34: note: Function 'ScaleChanged' argument 1 names different: declaration 'prev' definition 'prevscale'. xsnow-3.3.2/src/utils.c:202:23: note: Function 'ScaleChanged' argument 1 names different: declaration 'prev' definition 'prevscale'. xsnow-3.3.2/src/windows.c:405:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.3.2/src/windows.c:57:4: style: Statements following return, break, continue, goto or throw will never be executed. [unreachableCode] xsnow-3.3.2/src/windows.c:360:29: style:inconclusive: Function 'DetermineWindow' argument 1 names different: declaration 'xtrans' definition 'xwin'. [funcArgNamesDifferent] xsnow-3.3.2/src/windows.h:30:45: note: Function 'DetermineWindow' argument 1 names different: declaration 'xtrans' definition 'xwin'. xsnow-3.3.2/src/windows.c:360:29: note: Function 'DetermineWindow' argument 1 names different: declaration 'xtrans' definition 'xwin'. xsnow-3.3.2/src/windows.c:360:42: style:inconclusive: Function 'DetermineWindow' argument 2 names different: declaration 'xtransname' definition 'xwinname'. [funcArgNamesDifferent] xsnow-3.3.2/src/windows.h:30:60: note: Function 'DetermineWindow' argument 2 names different: declaration 'xtransname' definition 'xwinname'. xsnow-3.3.2/src/windows.c:360:42: note: Function 'DetermineWindow' argument 2 names different: declaration 'xtransname' definition 'xwinname'. xsnow-3.3.2/src/windows.c:360:64: style:inconclusive: Function 'DetermineWindow' argument 3 names different: declaration 'gtrans' definition 'gtkwin'. [funcArgNamesDifferent] xsnow-3.3.2/src/windows.h:30:84: note: Function 'DetermineWindow' argument 3 names different: declaration 'gtrans' definition 'gtkwin'. xsnow-3.3.2/src/windows.c:360:64: note: Function 'DetermineWindow' argument 3 names different: declaration 'gtrans' definition 'gtkwin'. xsnow-3.3.2/src/wmctrl.c:98:8: style: Condition 'firstcall' is always true [knownConditionTrueFalse] xsnow-3.3.2/src/wmctrl.c:97:20: note: Assignment 'firstcall=1', assigned value is 1 xsnow-3.3.2/src/wmctrl.c:98:8: note: Condition 'firstcall' is always true xsnow-3.3.2/src/wmctrl.c:320:6: style: Condition 'properties' is always true [knownConditionTrueFalse] xsnow-3.3.2/src/wmctrl.c:592:7: warning: %d in format string (no. 7) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.3.2/src/wmctrl.c:592:7: warning: %d in format string (no. 8) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.3.2/src/wmctrl.c:592:7: warning: %d in format string (no. 9) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.3.2/src/wmctrl.c:592:7: warning: %d in format string (no. 10) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.3.2/src/wmctrl.c:592:7: warning: %d in format string (no. 11) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xsnow-3.3.2/src/wmctrl.c:535:18: warning: Either the condition 's' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] xsnow-3.3.2/src/wmctrl.c:537:12: note: Assuming that condition 's' is not redundant xsnow-3.3.2/src/wmctrl.c:535:18: note: Null pointer dereference xsnow-3.3.2/src/wmctrl.c:151:5: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] xsnow-3.3.2/src/wmctrl.c:150:8: note: r is assigned xsnow-3.3.2/src/wmctrl.c:151:5: note: r is overwritten xsnow-3.3.2/src/wmctrl.c:165:26: style:inconclusive: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. [funcArgNamesDifferent] xsnow-3.3.2/src/wmctrl.h:27:42: note: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. xsnow-3.3.2/src/wmctrl.c:165:26: note: Function 'GetWindows' argument 1 names different: declaration 'w' definition 'windows'. xsnow-3.3.2/src/wmctrl.c:165:40: style:inconclusive: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. [funcArgNamesDifferent] xsnow-3.3.2/src/wmctrl.h:27:50: note: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. xsnow-3.3.2/src/wmctrl.c:165:40: note: Function 'GetWindows' argument 2 names different: declaration 'nw' definition 'nwin'. xsnow-3.3.2/src/wmctrl.c:260:8: style: Local variable 'type' shadows outer variable [shadowVariable] xsnow-3.3.2/src/wmctrl.c:167:9: note: Shadowed declaration xsnow-3.3.2/src/wmctrl.c:260:8: note: Shadow variable xsnow-3.3.2/src/wmctrl.c:261:25: style: Local variable 'b' shadows outer variable [shadowVariable] xsnow-3.3.2/src/wmctrl.c:169:18: note: Shadowed declaration xsnow-3.3.2/src/wmctrl.c:261:25: note: Shadow variable xsnow-3.3.2/src/wmctrl.c:261:32: style: Local variable 'format' shadows outer variable [shadowVariable] xsnow-3.3.2/src/wmctrl.c:168:8: note: Shadowed declaration xsnow-3.3.2/src/wmctrl.c:261:32: note: Shadow variable xsnow-3.3.2/src/wmctrl.c:262:18: style: Local variable 'properties' shadows outer variable [shadowVariable] xsnow-3.3.2/src/wmctrl.c:170:19: note: Shadowed declaration xsnow-3.3.2/src/wmctrl.c:262:18: note: Shadow variable xsnow-3.3.2/src/wmctrl.c:307:12: style: Local variable 'type' shadows outer variable [shadowVariable] xsnow-3.3.2/src/wmctrl.c:167:9: note: Shadowed declaration xsnow-3.3.2/src/wmctrl.c:307:12: note: Shadow variable xsnow-3.3.2/src/wmctrl.c:307:22: style: Local variable 'format' shadows outer variable [shadowVariable] xsnow-3.3.2/src/wmctrl.c:168:8: note: Shadowed declaration xsnow-3.3.2/src/wmctrl.c:307:22: note: Shadow variable xsnow-3.3.2/src/wmctrl.c:307:51: style: Local variable 'b' shadows outer variable [shadowVariable] xsnow-3.3.2/src/wmctrl.c:169:18: note: Shadowed declaration xsnow-3.3.2/src/wmctrl.c:307:51: note: Shadow variable xsnow-3.3.2/src/wmctrl.c:307:69: style: Local variable 'properties' shadows outer variable [shadowVariable] xsnow-3.3.2/src/wmctrl.c:170:19: note: Shadowed declaration xsnow-3.3.2/src/wmctrl.c:307:69: note: Shadow variable xsnow-3.3.2/src/wmctrl.c:332:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.3.2/src/wmctrl.c:276:18: note: Shadowed declaration xsnow-3.3.2/src/wmctrl.c:332:7: note: Shadow variable xsnow-3.3.2/src/wmctrl.c:360:7: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.3.2/src/wmctrl.c:276:18: note: Shadowed declaration xsnow-3.3.2/src/wmctrl.c:360:7: note: Shadow variable xsnow-3.3.2/src/wmctrl.c:396:20: style: Local variable 'i' shadows outer variable [shadowVariable] xsnow-3.3.2/src/wmctrl.c:276:18: note: Shadowed declaration xsnow-3.3.2/src/wmctrl.c:396:20: note: Shadow variable xsnow-3.3.2/src/wmctrl.c:100:17: style: Variable 'firstcall' is assigned a value that is never used. [unreadVariable] xsnow-3.3.2/src/flags.c:376:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'signed long'. [invalidPrintfArgType_sint] xsnow-3.3.2/src/flags.c:318:4: error: Common realloc mistake: 'FlagsFile' nulled but not freed upon failure [memleakOnRealloc] diff: 2.8 xsnow-3.3.2/src/kdtree.c:254:6: error: Memory leak: buf [memleak] 2.8 xsnow-3.3.2/src/kdtree.c:504:6: error: Memory leak: buf [memleak] 2.8 xsnow-3.3.2/src/kdtree.c:607:6: error: Memory leak: buf [memleak] head xsnow-3.3.2/src/snow.c:323:20: style: Variable 'speedxmaxes' can be declared as const array [constVariable] 2.8 xsnow-3.3.2/src/snow.c:323:20: style: Variable 'speedxmaxes' can be declared with const [constVariable] head xsnow-3.3.2/src/ui.c:1158:24: style: Parameter 'w' can be declared as pointer to const [constParameter] 2.8 xsnow-3.3.2/src/ui.c:1158:24: style: Parameter 'w' can be declared with const [constParameter] head xsnow-3.3.2/src/ui.c:1164:22: style: Parameter 'w' can be declared as pointer to const [constParameter] 2.8 xsnow-3.3.2/src/ui.c:1164:22: style: Parameter 'w' can be declared with const [constParameter] DONE