2025-11-24 21:08 ftp://ftp.de.debian.org/debian/pool/main/x/xvkbd/xvkbd_4.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j4 platform: Linux-5.4.0-216-generic-x86_64-with-glibc2.29 python: 3.8.10 client-version: 1.3.69 compiler: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0 cppcheck: head 2.18.0 head-info: cb76e52 (2025-11-22 14:47:37 +0100) count: 131 129 elapsed-time: 3.3 4.8 head-timing-info: old-timing-info: head results: xvkbd-4.1/findwidget.c:74:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xvkbd-4.1/findwidget.c:105:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HEADER_SIZE [valueFlowBailoutIncompleteVar] xvkbd-4.1/findwidget.c:234:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HEADER_SIZE [valueFlowBailoutIncompleteVar] xvkbd-4.1/findwidget.c:263:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/findwidget.c:287:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/findwidget.c:69:29: style: Parameter 'selection' can be declared as pointer to const. However it seems that 'ConvertCommand' is a callback function, if 'selection' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xvkbd-4.1/findwidget.c:241:23: note: You might need to cast the function pointer here xvkbd-4.1/findwidget.c:69:29: note: Parameter 'selection' can be declared as pointer to const xvkbd-4.1/findwidget.c:69:46: style: Parameter 'target' can be declared as pointer to const. However it seems that 'ConvertCommand' is a callback function, if 'target' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xvkbd-4.1/findwidget.c:241:23: note: You might need to cast the function pointer here xvkbd-4.1/findwidget.c:69:46: note: Parameter 'target' can be declared as pointer to const xvkbd-4.1/findwidget.c:92:43: style: Parameter 'length' can be declared as pointer to const. However it seems that 'GetClientValue' is a callback function, if 'length' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xvkbd-4.1/findwidget.c:219:51: note: You might need to cast the function pointer here xvkbd-4.1/findwidget.c:92:43: note: Parameter 'length' can be declared as pointer to const xvkbd-4.1/xvkbd.c:529:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:584:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XC_dot [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:682:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:698:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:829:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:849:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:949:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:998:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoSymbol [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:1041:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:1381:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstring [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:1386:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:1507:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:1529:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:1624:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:1649:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:1674:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:1739:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:1866:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:1915:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:1943:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:1958:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2124:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ControlMask [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2144:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2159:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNx [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2177:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XA_ATOM [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2227:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2283:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2339:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2373:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNstate [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2410:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2426:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2559:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2608:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2700:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2714:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2770:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:2792:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3042:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3062:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3140:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable formWidgetClass [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3185:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable formWidgetClass [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3218:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable formWidgetClass [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3233:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3279:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3464:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3483:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNheight [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3515:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3609:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNlabel [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3620:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3688:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3727:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3797:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3839:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KBBellPitch [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3862:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3873:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CurrentTime [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3891:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3925:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3945:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XtNiconPixmap [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:3963:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:4000:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] xvkbd-4.1/xvkbd.c:1662:37: warning: Either the condition '0<=n' is redundant or the array 'word_list[51]' is accessed at index -1, which is out of bounds. [negativeIndex] xvkbd-4.1/xvkbd.c:1651:9: note: Assuming that condition '0<=n' is not redundant xvkbd-4.1/xvkbd.c:1662:37: note: Negative array index xvkbd-4.1/xvkbd.c:615:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xvkbd-4.1/xvkbd.c:617:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xvkbd-4.1/xvkbd.c:1748:32: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xvkbd-4.1/xvkbd.c:1811:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xvkbd-4.1/xvkbd.c:1877:32: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xvkbd-4.1/xvkbd.c:2295:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xvkbd-4.1/xvkbd.c:2302:12: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xvkbd-4.1/xvkbd.c:2758:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] xvkbd-4.1/xvkbd.c:3033:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xvkbd-4.1/xvkbd.c:3052:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xvkbd-4.1/xvkbd.c:3220:8: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xvkbd-4.1/xvkbd.c:3226:10: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] xvkbd-4.1/xvkbd.c:4047:9: style: Condition '1||appres.no_sync' is always true [knownConditionTrueFalse] xvkbd-4.1/xvkbd.c:2161:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xvkbd-4.1/xvkbd.c:2161:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xvkbd-4.1/xvkbd.c:2936:2: warning: %lx in format string (no. 1) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] xvkbd-4.1/xvkbd.c:3391:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xvkbd-4.1/xvkbd.c:3391:7: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xvkbd-4.1/xvkbd.c:3397:2: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xvkbd-4.1/xvkbd.c:3397:2: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] xvkbd-4.1/xvkbd.c:3535:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xvkbd-4.1/xvkbd.c:3540:18: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xvkbd-4.1/xvkbd.c:3542:18: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xvkbd-4.1/xvkbd.c:3544:18: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] xvkbd-4.1/xvkbd.c:2301:74: error: Allocation with XtNewString, XtAddCallback doesn't release it. [leakNoVarFunctionCall] xvkbd-4.1/xvkbd.c:1466:14: warning: If memory allocation fails, then there is a possible null pointer dereference: node_ptr->next [nullPointerOutOfMemory] xvkbd-4.1/xvkbd.c:1465:29: note: Assuming allocation function fails xvkbd-4.1/xvkbd.c:1465:29: note: Assignment 'node_ptr->next=malloc(sizeof(struct WORDLIST))', assigned value is 0 xvkbd-4.1/xvkbd.c:1466:14: note: Null pointer dereference xvkbd-4.1/xvkbd.c:1636:11: warning: If memory allocation fails, then there is a possible null pointer dereference: node_ptr->next [nullPointerOutOfMemory] xvkbd-4.1/xvkbd.c:1635:26: note: Assuming allocation function fails xvkbd-4.1/xvkbd.c:1635:26: note: Assignment 'node_ptr->next=malloc(sizeof(struct WORDLIST))', assigned value is 0 xvkbd-4.1/xvkbd.c:1636:11: note: Null pointer dereference xvkbd-4.1/xvkbd.c:3577:7: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] xvkbd-4.1/xvkbd.c:3572:24: note: Assuming allocation function fails xvkbd-4.1/xvkbd.c:3572:24: note: Assignment 'new_node=malloc(sizeof(struct fkey_struct))', assigned value is 0 xvkbd-4.1/xvkbd.c:3575:10: note: sp is assigned 'new_node' here. xvkbd-4.1/xvkbd.c:3577:7: note: Null pointer dereference xvkbd-4.1/xvkbd.c:3578:7: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] xvkbd-4.1/xvkbd.c:3572:24: note: Assuming allocation function fails xvkbd-4.1/xvkbd.c:3572:24: note: Assignment 'new_node=malloc(sizeof(struct fkey_struct))', assigned value is 0 xvkbd-4.1/xvkbd.c:3575:10: note: sp is assigned 'new_node' here. xvkbd-4.1/xvkbd.c:3578:7: note: Null pointer dereference xvkbd-4.1/xvkbd.c:3643:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] xvkbd-4.1/xvkbd.c:3640:15: note: Assuming allocation function fails xvkbd-4.1/xvkbd.c:3640:15: note: Assignment 'sp=malloc(sizeof(struct fkey_struct))', assigned value is 0 xvkbd-4.1/xvkbd.c:3643:4: note: Null pointer dereference xvkbd-4.1/xvkbd.c:3644:4: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] xvkbd-4.1/xvkbd.c:3640:15: note: Assuming allocation function fails xvkbd-4.1/xvkbd.c:3640:15: note: Assignment 'sp=malloc(sizeof(struct fkey_struct))', assigned value is 0 xvkbd-4.1/xvkbd.c:3644:4: note: Null pointer dereference xvkbd-4.1/xvkbd.c:3646:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] xvkbd-4.1/xvkbd.c:3640:15: note: Assuming allocation function fails xvkbd-4.1/xvkbd.c:3640:15: note: Assignment 'sp=malloc(sizeof(struct fkey_struct))', assigned value is 0 xvkbd-4.1/xvkbd.c:3646:2: note: Null pointer dereference xvkbd-4.1/xvkbd.c:3646:22: warning: If memory allocation fails, then there is a possible null pointer dereference: sp [nullPointerOutOfMemory] xvkbd-4.1/xvkbd.c:3640:15: note: Assuming allocation function fails xvkbd-4.1/xvkbd.c:3640:15: note: Assignment 'sp=malloc(sizeof(struct fkey_struct))', assigned value is 0 xvkbd-4.1/xvkbd.c:3646:22: note: Null pointer dereference xvkbd-4.1/xvkbd.c:4007:10: warning: If memory allocation fails, then there is a possible null pointer dereference: argv1 [nullPointerOutOfMemory] xvkbd-4.1/xvkbd.c:4006:17: note: Assuming allocation function fails xvkbd-4.1/xvkbd.c:4006:17: note: Assignment 'argv1=malloc(sizeof(char*)*(argc1+5))', assigned value is 0 xvkbd-4.1/xvkbd.c:4007:10: note: Null pointer dereference xvkbd-4.1/xvkbd.c:4008:3: warning: If memory allocation fails, then there is a possible null pointer dereference: argv1 [nullPointerOutOfMemory] xvkbd-4.1/xvkbd.c:4006:17: note: Assuming allocation function fails xvkbd-4.1/xvkbd.c:4006:17: note: Assignment 'argv1=malloc(sizeof(char*)*(argc1+5))', assigned value is 0 xvkbd-4.1/xvkbd.c:4008:3: note: Null pointer dereference xvkbd-4.1/xvkbd.c:3838:22: style: Variable 'kc.bell_duration' is reassigned a value before the old one has been used. [redundantAssignment] xvkbd-4.1/xvkbd.c:3836:22: note: kc.bell_duration is assigned xvkbd-4.1/xvkbd.c:3838:22: note: kc.bell_duration is overwritten xvkbd-4.1/xvkbd.c:1437:10: style: Local variable 'p' shadows outer variable [shadowVariable] xvkbd-4.1/xvkbd.c:1394:20: note: Shadowed declaration xvkbd-4.1/xvkbd.c:1437:10: note: Shadow variable xvkbd-4.1/xvkbd.c:1455:12: style: Local variable 'i' shadows outer variable [shadowVariable] xvkbd-4.1/xvkbd.c:1393:14: note: Shadowed declaration xvkbd-4.1/xvkbd.c:1455:12: note: Shadow variable xvkbd-4.1/xvkbd.c:1478:17: style: Local variable 'app_con' shadows outer variable [shadowVariable] xvkbd-4.1/xvkbd.c:473:21: note: Shadowed declaration xvkbd-4.1/xvkbd.c:1478:17: note: Shadow variable xvkbd-4.1/xvkbd.c:3384:18: style: Local variable 'wd' shadows outer variable [shadowVariable] xvkbd-4.1/xvkbd.c:3264:13: note: Shadowed declaration xvkbd-4.1/xvkbd.c:3384:18: note: Shadow variable xvkbd-4.1/xvkbd.c:3385:9: style: Local variable 'max_wd' shadows outer variable [shadowVariable] xvkbd-4.1/xvkbd.c:3264:17: note: Shadowed declaration xvkbd-4.1/xvkbd.c:3385:9: note: Shadow variable xvkbd-4.1/xvkbd.c:3432:15: style: Local variable 'wd' shadows outer variable [shadowVariable] xvkbd-4.1/xvkbd.c:3264:13: note: Shadowed declaration xvkbd-4.1/xvkbd.c:3432:15: note: Shadow variable xvkbd-4.1/xvkbd.c:1389:16: style: Variable 'dict_filename_p' can be declared as pointer to const [constVariablePointer] xvkbd-4.1/xvkbd.c:1501:20: style: Variable 'node_ptr' can be declared as pointer to const [constVariablePointer] xvkbd-4.1/xvkbd.c:1962:19: style: Variable 'last_target_dpy' can be declared as pointer to const [constVariablePointer] xvkbd-4.1/xvkbd.c:2118:48: style: Parameter 'event' can be declared as pointer to const. However it seems that 'ButtonDownAction' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xvkbd-4.1/xvkbd.c:3989:27: note: You might need to cast the function pointer here xvkbd-4.1/xvkbd.c:2118:48: note: Parameter 'event' can be declared as pointer to const xvkbd-4.1/xvkbd.c:2118:63: style: Parameter 'pars' can be declared as pointer to const. However it seems that 'ButtonDownAction' is a callback function, if 'pars' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xvkbd-4.1/xvkbd.c:3989:27: note: You might need to cast the function pointer here xvkbd-4.1/xvkbd.c:2118:63: note: Parameter 'pars' can be declared as pointer to const xvkbd-4.1/xvkbd.c:2118:79: style: Parameter 'n_pars' can be declared as pointer to const. However it seems that 'ButtonDownAction' is a callback function, if 'n_pars' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xvkbd-4.1/xvkbd.c:3989:27: note: You might need to cast the function pointer here xvkbd-4.1/xvkbd.c:2118:79: note: Parameter 'n_pars' can be declared as pointer to const xvkbd-4.1/xvkbd.c:2217:9: style: Variable 'xenv' can be declared as pointer to const [constVariablePointer] xvkbd-4.1/xvkbd.c:2554:47: style: Parameter 'display_name' can be declared as pointer to const. However it seems that 'OpenRemoteDisplay' is a callback function, if 'display_name' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xvkbd-4.1/xvkbd.c:2678:58: note: You might need to cast the function pointer here xvkbd-4.1/xvkbd.c:2554:47: note: Parameter 'display_name' can be declared as pointer to const xvkbd-4.1/xvkbd.c:2601:42: style: Parameter 'key' can be declared as pointer to const. However it seems that 'MenuSelected' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xvkbd-4.1/xvkbd.c:3326:63: note: You might need to cast the function pointer here xvkbd-4.1/xvkbd.c:2601:42: note: Parameter 'key' can be declared as pointer to const xvkbd-4.1/xvkbd.c:3214:25: style: Variable 'cp2' can be declared as pointer to const [constVariablePointer] xvkbd-4.1/xvkbd.c:3266:19: style: Variable 'label' can be declared as pointer to const [constVariablePointer] xvkbd-4.1/xvkbd.c:3598:51: style: Parameter 'key' can be declared as pointer to const. However it seems that 'FKeyValueMenuSelected' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xvkbd-4.1/xvkbd.c:3757:60: note: You might need to cast the function pointer here xvkbd-4.1/xvkbd.c:3598:51: note: Parameter 'key' can be declared as pointer to const xvkbd-4.1/xvkbd.c:3685:23: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] xvkbd-4.1/xvkbd.c:3920:44: style: Parameter 'event' can be declared as pointer to const. However it seems that 'CloseBalloon' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xvkbd-4.1/xvkbd.c:3992:23: note: You might need to cast the function pointer here xvkbd-4.1/xvkbd.c:3920:44: note: Parameter 'event' can be declared as pointer to const xvkbd-4.1/xvkbd.c:3920:59: style: Parameter 'pars' can be declared as pointer to const. However it seems that 'CloseBalloon' is a callback function, if 'pars' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xvkbd-4.1/xvkbd.c:3992:23: note: You might need to cast the function pointer here xvkbd-4.1/xvkbd.c:3920:59: note: Parameter 'pars' can be declared as pointer to const xvkbd-4.1/xvkbd.c:3920:75: style: Parameter 'n_pars' can be declared as pointer to const. However it seems that 'CloseBalloon' is a callback function, if 'n_pars' is declared with const you might also need to cast function pointer(s). [constParameterCallback] xvkbd-4.1/xvkbd.c:3992:23: note: You might need to cast the function pointer here xvkbd-4.1/xvkbd.c:3920:75: note: Parameter 'n_pars' can be declared as pointer to const xvkbd-4.1/xvkbd.c:849:18: style: Variable 'first' is assigned a value that is never used. [unreadVariable] xvkbd-4.1/xvkbd.c:4003:7: style: Unused variable: op [unusedVariable] xvkbd-4.1/xvkbd.c:4003:11: style: Unused variable: ev [unusedVariable] xvkbd-4.1/xvkbd.c:4003:15: style: Unused variable: err [unusedVariable] diff: head xvkbd-4.1/xvkbd.c:1501:20: style: Variable 'node_ptr' can be declared as pointer to const [constVariablePointer] head xvkbd-4.1/xvkbd.c:3685:23: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] DONE