2025-07-04 22:09 ftp://ftp.de.debian.org/debian/pool/main/n/nabi/nabi_1.0.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=motif --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: 9b11b6b (2025-07-04 16:03:30 +0200) count: 386 396 elapsed-time: 6.5 6.8 head-timing-info: old-timing-info: head results: nabi-nabi-1.0.1/IMdkit/FrameMgr.c:462:13: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] nabi-nabi-1.0.1/IMdkit/FrameMgr.c:1189:9: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] nabi-nabi-1.0.1/IMdkit/FrameMgr.c:1870:30: style: Local variable 'dr' shadows outer variable [shadowVariable] nabi-nabi-1.0.1/IMdkit/FrameMgr.c:1850:26: note: Shadowed declaration nabi-nabi-1.0.1/IMdkit/FrameMgr.c:1870:30: note: Shadow variable nabi-nabi-1.0.1/IMdkit/FrameMgr.c:1902:30: style: Local variable 'dr' shadows outer variable [shadowVariable] nabi-nabi-1.0.1/IMdkit/FrameMgr.c:1885:26: note: Shadowed declaration nabi-nabi-1.0.1/IMdkit/FrameMgr.c:1902:30: note: Shadow variable nabi-nabi-1.0.1/IMdkit/FrameMgr.c:1936:30: style: Local variable 'dr' shadows outer variable [shadowVariable] nabi-nabi-1.0.1/IMdkit/FrameMgr.c:1919:26: note: Shadowed declaration nabi-nabi-1.0.1/IMdkit/FrameMgr.c:1936:30: note: Shadow variable nabi-nabi-1.0.1/IMdkit/FrameMgr.c:961:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/FrameMgr.c:1111:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/FrameMgr.c:1692:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/FrameMgr.c:1776:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/FrameMgr.c:2145:23: style: Variable 'd' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/FrameMgr.c:850:19: style: Variable 'next_type' is assigned a value that is never used. [unreadVariable] nabi-nabi-1.0.1/IMdkit/IMConn.c:75:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPointer [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/IMConn.c:82:38: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/IMConn.c:103:21: style: Parameter 'modifiers' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/IMValues.c:73:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPointer [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:110:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNInputStyle [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:262:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNFilterEvents [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:50:12: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:48:20: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:48:8: note: Assignment 'rec=(struct IC*)malloc(sizeof(struct IC))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:50:12: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:51:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:48:20: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:48:8: note: Assignment 'rec=(struct IC*)malloc(sizeof(struct IC))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:51:5: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:53:5: warning: If memory allocation fails, then there is a possible null pointer dereference: rec [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:48:20: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:48:8: note: Assignment 'rec=(struct IC*)malloc(sizeof(struct IC))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:53:5: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:264:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (CARD32*)ic_attr->value [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:263:37: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:263:23: note: Assignment 'ic_attr->value=(void*)malloc(sizeof(CARD32))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:264:7: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:273:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (XRectangle*)pre_attr->value [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:272:38: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:272:24: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(XRectangle))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:273:7: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:278:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (XRectangle*)pre_attr->value [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:277:38: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:277:24: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(XRectangle))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:278:7: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:283:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (XPoint*)pre_attr->value [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:282:38: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:282:24: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(XPoint))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:283:7: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:293:14: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:291:38: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:291:24: note: Assignment 'pre_attr->value=(void*)malloc(total_len)', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:292:8: note: p is assigned '(char*)pre_attr->value' here. nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:293:14: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:300:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)pre_attr->value [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:299:38: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:299:24: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:300:7: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:305:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)pre_attr->value [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:304:38: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:304:24: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:305:7: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:313:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)pre_attr->value [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:309:38: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:309:24: note: Assignment 'pre_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:313:7: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:322:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (XRectangle*)sts_attr->value [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:321:38: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:321:24: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(XRectangle))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:322:7: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:327:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (XRectangle*)sts_attr->value [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:326:38: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:326:24: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(XRectangle))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:327:7: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:337:14: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:335:38: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:335:24: note: Assignment 'sts_attr->value=(void*)malloc(total_len)', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:336:8: note: p is assigned '(char*)sts_attr->value' here. nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:337:14: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:344:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)sts_attr->value [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:343:38: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:343:24: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:344:7: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:349:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)sts_attr->value [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:348:38: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:348:24: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:349:7: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:357:7: warning: If memory allocation fails, then there is a possible null pointer dereference: (long*)sts_attr->value [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:353:38: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:353:24: note: Assignment 'sts_attr->value=(void*)malloc(sizeof(long))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:357:7: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:95:21: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:95:41: style: Parameter 'attr_list' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/IC.c:102:19: style: Parameter 'call_data' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:82:1: portability: Omitted return type of function 'MyGetICValuesHandler' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:90:1: portability: Omitted return type of function 'MySetICValuesHandler' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:98:1: portability: Omitted return type of function 'MyOpenHandler' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:109:1: portability: Omitted return type of function 'MyCloseHandler' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:119:1: portability: Omitted return type of function 'MyCreateICHandler' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:127:1: portability: Omitted return type of function 'MyDestroyICHandler' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:136:1: portability: Omitted return type of function 'IsKey' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:162:1: portability: Omitted return type of function 'ProcessKey' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:181:1: portability: Omitted return type of function 'MyForwardEventHandler' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:244:1: portability: Omitted return type of function 'MyTriggerNotifyHandler' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:266:1: portability: Omitted return type of function 'MyPreeditStartReplyHandler' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:272:1: portability: Omitted return type of function 'MyPreeditCaretReplyHandler' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:278:1: portability: Omitted return type of function 'MyProtoHandler' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:351:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:152:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keysym [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:171:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:186:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:284:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:331:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:382:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPressMask [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:100:15: style: Parameter 'call_data' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:111:15: style: Parameter 'call_data' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:246:24: style: Parameter 'call_data' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:268:20: style: Parameter 'call_data' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:274:20: style: Parameter 'call_data' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:428:8: style: Variable 'address' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/doc/Xi18n_sample/sampleIM.c:215:6: style: Unused variable: count_return [unusedVariable] nabi-nabi-1.0.1/IMdkit/i18nAttr.c:128:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNPreeditAttributes [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nAttr.c:95:41: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/i18nIc.c:53:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD8 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nIc.c:130:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPoint [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nIc.c:158:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XRectangle [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nIc.c:229:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nIc.c:266:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nIc.c:284:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nIc.c:303:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nIc.c:352:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nIc.c:412:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD32 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nIc.c:457:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nIc.c:823:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPressMask [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nIc.c:881:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nIc.c:882:13: warning: If memory allocation fails, then there is a possible null pointer dereference: attrID_list [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/i18nIc.c:881:37: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/i18nIc.c:881:19: note: Assignment 'attrID_list=(CARD16*)malloc(sizeof(CARD16)*64)', assigned value is 0 nabi-nabi-1.0.1/IMdkit/i18nIc.c:882:13: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/i18nMethod.c:102:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMStyles [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nMethod.c:137:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPointer [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nMethod.c:164:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPointer [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nMethod.c:237:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMStyle [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nMethod.c:517:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nMethod.c:606:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nMethod.c:705:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SelectionNotify [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nMethod.c:930:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xEvent [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nMethod.c:1121:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPressMask [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nMethod.c:151:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/i18nMethod.c:873:24: style: Variable 'kev' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:625:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNQueryInputStyle [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:828:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:874:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:1296:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:1350:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPress [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:1811:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD32 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:875:13: warning: If memory allocation fails, then there is a possible null pointer dereference: im_attrID_list [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:874:40: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:874:22: note: Assignment 'im_attrID_list=(CARD16*)malloc(sizeof(CARD16)*20)', assigned value is 0 nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:875:13: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:877:12: warning: If memory allocation fails, then there is a possible null pointer dereference: name_list [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:876:32: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:876:17: note: Assignment 'name_list=(char**)malloc(sizeof(char*)*20)', assigned value is 0 nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:877:12: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:1906:47: warning: Either the condition 'hdr==(struct XimProtoHdr*)NULL' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:1912:13: note: Assuming that condition 'hdr==(struct XimProtoHdr*)NULL' is not redundant nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:1906:47: note: Null pointer addition nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:669:15: style: Local variable 'i' shadows outer variable [shadowVariable] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:623:18: note: Shadowed declaration nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:669:15: note: Shadow variable nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:720:15: style: Local variable 'i' shadows outer variable [shadowVariable] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:623:18: note: Shadowed declaration nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:720:15: note: Shadow variable nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:370:43: style: Parameter 'lib_extension' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:620:39: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:769:51: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:1525:59: style: Parameter 'enc_nego' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/IMdkit/i18nPtHdr.c:1528:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/i18nUtil.c:67:13: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/i18nUtil.c:63:41: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/i18nUtil.c:63:18: note: Assignment 'client=(struct Xi18nClient*)malloc(sizeof(struct Xi18nClient))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/i18nUtil.c:67:13: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/i18nUtil.c:68:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/i18nUtil.c:63:41: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/i18nUtil.c:63:18: note: Assignment 'client=(struct Xi18nClient*)malloc(sizeof(struct Xi18nClient))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/i18nUtil.c:68:5: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/i18nUtil.c:69:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/i18nUtil.c:63:41: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/i18nUtil.c:63:18: note: Assignment 'client=(struct Xi18nClient*)malloc(sizeof(struct Xi18nClient))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/i18nUtil.c:69:5: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/i18nUtil.c:70:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/i18nUtil.c:63:41: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/i18nUtil.c:63:18: note: Assignment 'client=(struct Xi18nClient*)malloc(sizeof(struct Xi18nClient))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/i18nUtil.c:70:5: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/i18nUtil.c:71:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/i18nUtil.c:63:41: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/i18nUtil.c:63:18: note: Assignment 'client=(struct Xi18nClient*)malloc(sizeof(struct Xi18nClient))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/i18nUtil.c:71:5: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/i18nUtil.c:73:5: warning: If memory allocation fails, then there is a possible null pointer dereference: client [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/i18nUtil.c:63:41: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/i18nUtil.c:63:18: note: Assignment 'client=(struct Xi18nClient*)malloc(sizeof(struct Xi18nClient))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/i18nUtil.c:73:5: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/i18nUtil.c:186:14: warning: If memory allocation fails, then there is a possible null pointer dereference: reply [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/i18nUtil.c:184:38: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/i18nUtil.c:184:13: note: Assignment 'reply=(unsigned char*)malloc(reply_length)', assigned value is 0 nabi-nabi-1.0.1/IMdkit/i18nUtil.c:186:14: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/i18nUtil.c:44:18: style: Variable 'client' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/i18nX.c:99:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CARD16 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nX.c:202:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nX.c:277:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nX.c:354:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/IMdkit/i18nX.c:158:20: style: The statement 'if (length!=nitems) length=nitems' is logically equivalent to 'length=nitems'. [duplicateConditionalAssign] nabi-nabi-1.0.1/IMdkit/i18nX.c:159:20: note: Assignment 'length=nitems' nabi-nabi-1.0.1/IMdkit/i18nX.c:158:20: note: Condition 'length!=nitems' is redundant nabi-nabi-1.0.1/IMdkit/i18nX.c:56:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x_client [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/i18nX.c:55:35: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/i18nX.c:55:16: note: Assignment 'x_client=(struct XClient*)malloc(sizeof(struct XClient))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/i18nX.c:56:5: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/i18nX.c:57:5: warning: If memory allocation fails, then there is a possible null pointer dereference: x_client [nullPointerOutOfMemory] nabi-nabi-1.0.1/IMdkit/i18nX.c:55:35: note: Assuming allocation function fails nabi-nabi-1.0.1/IMdkit/i18nX.c:55:16: note: Assignment 'x_client=(struct XClient*)malloc(sizeof(struct XClient))', assigned value is 0 nabi-nabi-1.0.1/IMdkit/i18nX.c:57:5: note: Null pointer dereference nabi-nabi-1.0.1/IMdkit/i18nX.c:178:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/i18nX.c:273:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/i18nX.c:349:36: style: Parameter 'display' can be declared as pointer to const. However it seems that 'CheckCMEvent' is a callback function, if 'display' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nabi-nabi-1.0.1/IMdkit/i18nX.c:382:19: note: You might need to cast the function pointer here nabi-nabi-1.0.1/IMdkit/i18nX.c:349:36: note: Parameter 'display' can be declared as pointer to const nabi-nabi-1.0.1/IMdkit/i18nX.c:349:53: style: Parameter 'event' can be declared as pointer to const. However it seems that 'CheckCMEvent' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nabi-nabi-1.0.1/IMdkit/i18nX.c:382:19: note: You might need to cast the function pointer here nabi-nabi-1.0.1/IMdkit/i18nX.c:349:53: note: Parameter 'event' can be declared as pointer to const nabi-nabi-1.0.1/IMdkit/i18nX.c:352:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/i18nX.c:372:14: style: Variable 'x_client' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/i18nX.c:377:22: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/i18nX.c:460:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/IMdkit/i18nX.c:480:15: style: Variable 'spec' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/candidate.c:98:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable allocation [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/candidate.c:158:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_1 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/candidate.c:328:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STATE_ACTIVE [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/candidate.c:350:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_POPUP [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/candidate.c:358:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/candidate.c:361:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/candidate.c:63:7: style: Variable 'indices' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/candidate.c:82:7: style: Variable 'indices' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/candidate.c:106:21: style: Parameter 'event' can be declared as pointer to const. However it seems that 'nabi_candidate_on_key_press' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nabi-nabi-1.0.1/src/candidate.c:446:5: note: You might need to cast the function pointer here nabi-nabi-1.0.1/src/candidate.c:106:21: note: Parameter 'event' can be declared as pointer to const nabi-nabi-1.0.1/src/candidate.c:217:21: style: Parameter 'event' can be declared as pointer to const. However it seems that 'nabi_candidate_on_scroll' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nabi-nabi-1.0.1/src/candidate.c:448:5: note: You might need to cast the function pointer here nabi-nabi-1.0.1/src/candidate.c:217:21: note: Parameter 'event' can be declared as pointer to const nabi-nabi-1.0.1/src/conf.c:194:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/conf.c:301:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/conf.c:314:2: error: Memory leak: config_dir [memleak] nabi-nabi-1.0.1/src/conf.c:98:63: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/conf.c:112:62: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/conf.c:132:63: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/conf.c:134:15: style: Variable 'member' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/conf.c:143:62: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/conf.c:145:10: style: Variable 'member' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/conf.c:151:62: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/conf.c:160:50: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/debug.c:44:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/eggtrayicon.c:87:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_PLUG [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/eggtrayicon.c:99:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_PROPERTY_CHANGE_MASK [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/eggtrayicon.c:120:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_ORIENTATION [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/eggtrayicon.c:158:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/eggtrayicon.c:215:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DestroyNotify [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/eggtrayicon.c:230:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/eggtrayicon.c:259:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ClientMessage [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/eggtrayicon.c:299:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/eggtrayicon.c:418:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/eggtrayicon.c:129:20: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'egg_tray_icon_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nabi-nabi-1.0.1/src/eggtrayicon.c:110:33: note: You might need to cast the function pointer here nabi-nabi-1.0.1/src/eggtrayicon.c:129:20: note: Parameter 'pspec' can be declared as pointer to const nabi-nabi-1.0.1/src/eggtrayicon.c:200:11: style: Variable 'xev' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/eggtrayicon.c:479:45: style: Parameter 'icon' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/handlebox.c:65:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_WINDOW [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/handlebox.c:92:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON_PRESS_MASK [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/handlebox.c:100:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_WINDOW_TYPE_HINT_TOOLBAR [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/handlebox.c:115:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/handlebox.c:143:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable border_width [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/handlebox.c:132:26: style:inconclusive: Function 'nabi_handle_box_size_allocate' argument 2 names different: declaration 'real_allocation' definition 'allocation'. [funcArgNamesDifferent] nabi-nabi-1.0.1/src/handlebox.c:34:29: note: Function 'nabi_handle_box_size_allocate' argument 2 names different: declaration 'real_allocation' definition 'allocation'. nabi-nabi-1.0.1/src/handlebox.c:132:26: note: Function 'nabi_handle_box_size_allocate' argument 2 names different: declaration 'real_allocation' definition 'allocation'. nabi-nabi-1.0.1/src/handlebox.c:132:26: style: Parameter 'allocation' can be declared as pointer to const. However it seems that 'nabi_handle_box_size_allocate' is a callback function, if 'allocation' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nabi-nabi-1.0.1/src/handlebox.c:81:35: note: You might need to cast the function pointer here nabi-nabi-1.0.1/src/handlebox.c:132:26: note: Parameter 'allocation' can be declared as pointer to const nabi-nabi-1.0.1/src/handler.c:130:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPress [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/handler.c:251:13: style: Variable 'ic' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/handler.c:264:13: style: Variable 'ic' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/ic.c:110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:137:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIConv [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:163:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIConv [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:218:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:229:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GIConv [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:322:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPreeditEnable [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:469:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HANGUL_OUTPUT_JAMO [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:524:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_DIRECTION_LTR [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:693:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPreeditPosition [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:750:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPreeditPosition [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:786:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_FILTER_REMOVE [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:830:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INPUT_OUTPUT [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:876:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1031:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNInputStyle [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1123:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNFilterEvents [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1253:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XCompoundTextStyle [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1279:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPreeditPosition [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1386:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPointer [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1405:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPointer [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1417:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPreeditCallbacks [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1449:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPreeditCallbacks [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1527:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMFeedback [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1581:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPreeditCallbacks [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1634:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPreeditCallbacks [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1682:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPreeditCallbacks [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1747:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMStatusCallbacks [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1778:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMStatusCallbacks [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1809:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMStatusCallbacks [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1885:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_1 [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1971:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMBackwardChar [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:1992:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMBackwardChar [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:2025:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:2051:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_Shift_L [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:2177:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_NORMALIZE_DEFAULT_COMPOSE [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:2515:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoSymbol [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ic.c:248:13: style: Condition 'ret==-1' is always false [knownConditionTrueFalse] nabi-nabi-1.0.1/src/ic.c:993:5: style: Statements following 'return' will never be executed. [unreachableCode] nabi-nabi-1.0.1/src/ic.c:277:20: style: Checking if unsigned expression 'toplevel->ref' is less than zero. [unsignedLessThanZero] nabi-nabi-1.0.1/src/ic.c:130:47: style:inconclusive: Function 'nabi_connection_create' argument 2 names different: declaration 'encoding' definition 'locale'. [funcArgNamesDifferent] nabi-nabi-1.0.1/src/ic.h:137:63: note: Function 'nabi_connection_create' argument 2 names different: declaration 'encoding' definition 'locale'. nabi-nabi-1.0.1/src/ic.c:130:47: note: Function 'nabi_connection_create' argument 2 names different: declaration 'encoding' definition 'locale'. nabi-nabi-1.0.1/src/ic.c:225:52: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/ic.c:443:24: style: Parameter 'ic' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/ic.c:536:11: style: Parameter 'normal' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/ic.c:536:25: style: Parameter 'hilight' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/ic.c:780:13: style: Variable 'event' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/ic.c:949:48: style: Parameter 'font_name' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/ic.c:951:18: style: Variable 'fontset' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/ic.c:975:38: style: Parameter 'point' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/ic.c:1000:42: style: Parameter 'rect' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/ic.c:1088:18: style: Variable 'rect' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/ic.c:1091:18: style: Variable 'rect' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/ic.c:1811:8: style: Variable 'status_str' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/ic.c:2126:44: style: Parameter 'candidate' can be declared as pointer to const. However it seems that 'nabi_ic_candidate_commit_cb' is a callback function, if 'candidate' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nabi-nabi-1.0.1/src/ic.c:2235:14: note: You might need to cast the function pointer here nabi-nabi-1.0.1/src/ic.c:2126:44: note: Parameter 'candidate' can be declared as pointer to const nabi-nabi-1.0.1/src/ic.c:1386:47: error: Uninitialized variables: preedit_state.major_code, preedit_state.minor_code [uninitvar] nabi-nabi-1.0.1/src/ic.c:1405:45: error: Uninitialized variables: preedit_state.major_code, preedit_state.minor_code [uninitvar] nabi-nabi-1.0.1/src/ic.c:1696:50: error: Uninitialized variable: commit_data.keysym [uninitvar] nabi-nabi-1.0.1/src/ic.c:2300:9: style: Variable 'keylen' is assigned a value that is never used. [unreadVariable] nabi-nabi-1.0.1/src/keyboard-layout.c:60:50: style: Parameter 'layout' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/keycapturedialog.c:36:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/keycapturedialog.c:84:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/keycapturedialog.c:92:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/keycapturedialog.c:124:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/keycapturedialog.c:65:5: error: Memory leak: str [memleak] nabi-nabi-1.0.1/src/keycapturedialog.c:30:12: style: Variable 'keys' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/keycapturedialog.c:142:44: style: Parameter 'dialog' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/main.c:47:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/preference.c:60:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_INTERP_NEAREST [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/preference.c:151:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NABI_THEMES_DIR [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/preference.c:266:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/preference.c:450:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/preference.c:479:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_STRING [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/preference.c:505:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_SHADOW_IN [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/preference.c:607:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/preference.c:871:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_OK [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/preference.c:1263:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEFAULT_THEME [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/preference.c:1410:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/preference.c:1440:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/preference.c:109:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:117:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:257:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:268:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:403:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:428:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:430:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:736:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:740:13: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:745:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:748:13: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:761:13: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:797:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:801:13: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:815:13: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:908:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:913:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:930:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:934:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:948:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:1109:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:1112:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/src/preference.c:1116:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:1130:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:1141:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:1152:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:1163:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:1176:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:1187:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:1190:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:1224:12: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:1408:11: style: gtk_hbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_HORIZONTAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_hbox_newCalled] nabi-nabi-1.0.1/src/preference.c:1491:9: style: Local variable 'child' shadows outer variable [shadowVariable] nabi-nabi-1.0.1/src/preference.c:1432:16: note: Shadowed declaration nabi-nabi-1.0.1/src/preference.c:1491:9: note: Shadow variable nabi-nabi-1.0.1/src/preference.c:592:12: style: Variable 'title' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/preference.c:593:12: style: Variable 'message' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/preference.c:1293:26: style: Variable 'layout' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/preference.c:1387:34: style: Parameter 'dialog' can be declared as pointer to const. However it seems that 'on_preference_destroy' is a callback function, if 'dialog' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nabi-nabi-1.0.1/src/preference.c:1479:5: note: You might need to cast the function pointer here nabi-nabi-1.0.1/src/preference.c:1387:34: note: Parameter 'dialog' can be declared as pointer to const nabi-nabi-1.0.1/src/preference.c:1387:51: style: Parameter 'data' can be declared as pointer to const. However it seems that 'on_preference_destroy' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nabi-nabi-1.0.1/src/preference.c:1479:5: note: You might need to cast the function pointer here nabi-nabi-1.0.1/src/preference.c:1387:51: note: Parameter 'data' can be declared as pointer to const nabi-nabi-1.0.1/src/server.c:296:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/server.c:405:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/server.c:482:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PropModeReplace [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/server.c:555:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ShiftMask [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/server.c:610:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/server.c:680:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/server.c:709:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMStyle [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/server.c:793:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/server.c:821:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/server.c:855:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XK_BackSpace [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/server.c:903:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/server.c:979:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/server.c:291:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:291:5: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:292:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:292:5: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:296:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:296:2: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:298:2: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:298:2: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:300:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:300:5: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:301:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:301:5: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:302:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:302:5: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:303:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:303:5: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:304:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:304:5: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:305:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:305:5: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:306:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:306:5: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:307:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:307:5: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:308:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:308:5: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:309:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:309:5: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:310:5: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:310:5: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:582:9: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:313:34: note: Calling function 'nabi_server_set_trigger_keys', 1st argument 'server' value is 0 nabi-nabi-1.0.1/src/server.c:582:9: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:582:33: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:313:34: note: Calling function 'nabi_server_set_trigger_keys', 1st argument 'server' value is 0 nabi-nabi-1.0.1/src/server.c:582:33: note: Null pointer dereference nabi-nabi-1.0.1/src/server.c:491:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] nabi-nabi-1.0.1/src/server.c:493:7: note: Found duplicate branches for 'if' and 'else'. nabi-nabi-1.0.1/src/server.c:491:5: note: Found duplicate branches for 'if' and 'else'. nabi-nabi-1.0.1/src/server.c:324:6: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] nabi-nabi-1.0.1/src/server.c:541:2: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] nabi-nabi-1.0.1/src/server.c:584:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nabi-nabi-1.0.1/src/server.c:723:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nabi-nabi-1.0.1/src/server.c:734:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nabi-nabi-1.0.1/src/server.c:741:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nabi-nabi-1.0.1/src/server.c:617:66: style:inconclusive: Function 'nabi_server_get_ic' argument 3 names different: declaration 'icid' definition 'ic_id'. [funcArgNamesDifferent] nabi-nabi-1.0.1/src/server.h:186:33: note: Function 'nabi_server_get_ic' argument 3 names different: declaration 'icid' definition 'ic_id'. nabi-nabi-1.0.1/src/server.c:617:66: note: Function 'nabi_server_get_ic' argument 3 names different: declaration 'icid' definition 'ic_id'. nabi-nabi-1.0.1/src/server.c:344:14: style: Local variable 'name' shadows outer argument [shadowArgument] nabi-nabi-1.0.1/src/server.c:278:59: note: Shadowed declaration nabi-nabi-1.0.1/src/server.c:344:14: note: Shadow variable nabi-nabi-1.0.1/src/server.c:816:16: style: Local variable 'toplevel' shadows outer variable [shadowVariable] nabi-nabi-1.0.1/src/server.c:811:19: note: Shadowed declaration nabi-nabi-1.0.1/src/server.c:816:16: note: Shadow variable nabi-nabi-1.0.1/src/server.c:630:35: style: Parameter 'keylist' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/server.c:895:15: style: Variable 'line' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/src/session.c:256:30: style: Parameter 'previos_id' can be declared as pointer to const [constParameterPointer] nabi-nabi-1.0.1/src/ui.c:805:22: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE_BUGREPORT is a macro then please configure it. [unknownMacro] nabi-nabi-1.0.1/src/ustring.c:24:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ucschar [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/src/ustring.c:97:13: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] nabi-nabi-1.0.1/src/util.c:56:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nabi_tc_to_sc_table [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/gtk.c:19:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/gtk.c:24:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/test/gtk.c:3:28: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'on_destroy' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nabi-nabi-1.0.1/test/gtk.c:20:5: note: You might need to cast the function pointer here nabi-nabi-1.0.1/test/gtk.c:3:28: note: Parameter 'widget' can be declared as pointer to const nabi-nabi-1.0.1/test/gtk.c:3:45: style: Parameter 'data' can be declared as pointer to const. However it seems that 'on_destroy' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nabi-nabi-1.0.1/test/gtk.c:20:5: note: You might need to cast the function pointer here nabi-nabi-1.0.1/test/gtk.c:3:45: note: Parameter 'data' can be declared as pointer to const nabi-nabi-1.0.1/test/gtk1.c:20:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_TOPLEVEL [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/gtk1.c:21:5: style: Obsolete function 'gtk_signal_connect' called. It is recommended to use 'g_signal_connect' instead. [prohibitedgtk_signal_connectCalled] nabi-nabi-1.0.1/test/gtk1.c:25:12: style: gtk_vbox_new has been deprecated since version 3.2 and should not be used in newly-written code. You can use gtk_box_new() with GTK_ORIENTATION_VERTICAL instead, which is a quick and easy change. But the recommendation is to switch to GtkGrid, since GtkBox is going to go away eventually. See Migrating from other containers to GtkGrid. [prohibitedgtk_vbox_newCalled] nabi-nabi-1.0.1/test/gtk1.c:4:28: style: Parameter 'widget' can be declared as pointer to const. However it seems that 'on_destroy' is a callback function, if 'widget' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nabi-nabi-1.0.1/test/gtk1.c:22:10: note: You might need to cast the function pointer here nabi-nabi-1.0.1/test/gtk1.c:4:28: note: Parameter 'widget' can be declared as pointer to const nabi-nabi-1.0.1/test/gtk1.c:4:45: style: Parameter 'data' can be declared as pointer to const. However it seems that 'on_destroy' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nabi-nabi-1.0.1/test/gtk1.c:22:10: note: You might need to cast the function pointer here nabi-nabi-1.0.1/test/gtk1.c:4:45: note: Parameter 'data' can be declared as pointer to const nabi-nabi-1.0.1/test/xim_filter.c:69:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTLD_NEXT [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xim_filter.c:90:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KeyPress [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xim_filter.c:107:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xim_filter.c:115:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xim_filter.c:123:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xim_filter.c:132:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xim_filter.c:140:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xim_filter.c:149:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable None [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xim_filter.c:173:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xim_filter.c:187:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xim_filter.c:201:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xim_filter.c:131:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/test/xlib.cpp:158:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XNDestroyCallback [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xlib.cpp:193:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPreeditCallbacks [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xlib.cpp:354:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCForeground [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xlib.cpp:484:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMPreeditPosition [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xlib.cpp:560:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XLookupNone [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xlib.cpp:808:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XIMBackwardChar [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xlib.cpp:863:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] nabi-nabi-1.0.1/test/xlib.cpp:107:11: warning: Member variable 'TextView::m_inputStyle' is not initialized in the constructor. [uninitMemberVar] nabi-nabi-1.0.1/test/xlib.cpp:131:16: style:inconclusive: Technically the member function 'TextView::isDestroyed' can be const. [functionConst] nabi-nabi-1.0.1/test/xlib.cpp:24:10: note: Technically the member function 'TextView::isDestroyed' can be const. nabi-nabi-1.0.1/test/xlib.cpp:131:16: note: Technically the member function 'TextView::isDestroyed' can be const. nabi-nabi-1.0.1/test/xlib.cpp:867:2: error: Resource leak: display [resourceLeak] nabi-nabi-1.0.1/test/xlib.cpp:874:2: error: Resource leak: display [resourceLeak] nabi-nabi-1.0.1/test/xlib.cpp:881:2: error: Resource leak: display [resourceLeak] nabi-nabi-1.0.1/test/xlib.cpp:831:13: style: C-style pointer casting [cstyleCast] nabi-nabi-1.0.1/test/xlib.cpp:838:22: style: C-style pointer casting [cstyleCast] nabi-nabi-1.0.1/test/xlib.cpp:557:10: style: The scope of the variable 'buf' can be reduced. [variableScope] nabi-nabi-1.0.1/test/xlib.cpp:690:38: style:inconclusive: Function 'IMDestroyCallback' argument 1 names different: declaration 'xim' definition 'im'. [funcArgNamesDifferent] nabi-nabi-1.0.1/test/xlib.cpp:38:39: note: Function 'IMDestroyCallback' argument 1 names different: declaration 'xim' definition 'im'. nabi-nabi-1.0.1/test/xlib.cpp:690:38: note: Function 'IMDestroyCallback' argument 1 names different: declaration 'xim' definition 'im'. nabi-nabi-1.0.1/test/xlib.cpp:704:55: style:inconclusive: Function 'preeditStartCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. [funcArgNamesDifferent] nabi-nabi-1.0.1/test/xlib.cpp:41:56: note: Function 'preeditStartCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. nabi-nabi-1.0.1/test/xlib.cpp:704:55: note: Function 'preeditStartCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. nabi-nabi-1.0.1/test/xlib.cpp:709:54: style:inconclusive: Function 'preeditDoneCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. [funcArgNamesDifferent] nabi-nabi-1.0.1/test/xlib.cpp:42:55: note: Function 'preeditDoneCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. nabi-nabi-1.0.1/test/xlib.cpp:709:54: note: Function 'preeditDoneCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. nabi-nabi-1.0.1/test/xlib.cpp:720:54: style:inconclusive: Function 'preeditDrawCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. [funcArgNamesDifferent] nabi-nabi-1.0.1/test/xlib.cpp:43:55: note: Function 'preeditDrawCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. nabi-nabi-1.0.1/test/xlib.cpp:720:54: note: Function 'preeditDrawCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. nabi-nabi-1.0.1/test/xlib.cpp:748:55: style:inconclusive: Function 'preeditCaretCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. [funcArgNamesDifferent] nabi-nabi-1.0.1/test/xlib.cpp:44:56: note: Function 'preeditCaretCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. nabi-nabi-1.0.1/test/xlib.cpp:748:55: note: Function 'preeditCaretCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. nabi-nabi-1.0.1/test/xlib.cpp:773:54: style:inconclusive: Function 'statusStartCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. [funcArgNamesDifferent] nabi-nabi-1.0.1/test/xlib.cpp:46:55: note: Function 'statusStartCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. nabi-nabi-1.0.1/test/xlib.cpp:773:54: note: Function 'statusStartCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. nabi-nabi-1.0.1/test/xlib.cpp:778:53: style:inconclusive: Function 'statusDoneCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. [funcArgNamesDifferent] nabi-nabi-1.0.1/test/xlib.cpp:47:54: note: Function 'statusDoneCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. nabi-nabi-1.0.1/test/xlib.cpp:778:53: note: Function 'statusDoneCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. nabi-nabi-1.0.1/test/xlib.cpp:783:53: style:inconclusive: Function 'statusDrawCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. [funcArgNamesDifferent] nabi-nabi-1.0.1/test/xlib.cpp:48:54: note: Function 'statusDrawCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. nabi-nabi-1.0.1/test/xlib.cpp:783:53: note: Function 'statusDrawCallback' argument 2 names different: declaration 'client_data' definition 'user_data'. nabi-nabi-1.0.1/test/xlib.cpp:155:17: style: Local variable 'destroy' shadows outer function [shadowFunction] nabi-nabi-1.0.1/test/xlib.cpp:21:10: note: Shadowed declaration nabi-nabi-1.0.1/test/xlib.cpp:155:17: note: Shadow variable nabi-nabi-1.0.1/test/xlib.cpp:346:22: style: Variable 'fontset_ext' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/test/xlib.cpp:544:14: style: Variable 'str' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/test/xlib.cpp:726:35: style: Variable 'draw_data' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/test/xlib.cpp:754:36: style: Variable 'caret_data' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/test/xlib.cpp:855:22: style: Parameter 'argv' can be declared as const array [constParameter] nabi-nabi-1.0.1/test/xlib.cpp:863:11: style: Variable 'locale' can be declared as pointer to const [constVariablePointer] nabi-nabi-1.0.1/test/xlib.cpp:877:11: style: Variable 'modifiers' can be declared as pointer to const [constVariablePointer] diff: 2.17.0 nabi-nabi-1.0.1/src/conf.c:269:18: warning: If memory allocation fails, then there is a possible null pointer dereference: config_filename [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/conf.c:268:39: note: Assuming allocation function fails nabi-nabi-1.0.1/src/conf.c:268:39: note: Assignment 'config_filename=g_build_filename(homedir,".nabi","config",NULL)', assigned value is 0 nabi-nabi-1.0.1/src/conf.c:269:18: note: Null pointer dereference 2.17.0 nabi-nabi-1.0.1/src/conf.c:311:18: warning: If memory allocation fails, then there is a possible null pointer dereference: config_filename [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/conf.c:310:39: note: Assuming allocation function fails nabi-nabi-1.0.1/src/conf.c:310:39: note: Assignment 'config_filename=g_build_filename(config_dir,"config",NULL)', assigned value is 0 nabi-nabi-1.0.1/src/conf.c:311:18: note: Null pointer dereference 2.17.0 nabi-nabi-1.0.1/src/eggtrayicon.c:84:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable egg_tray_icon_init [valueFlowBailoutIncompleteVar] head nabi-nabi-1.0.1/src/eggtrayicon.c:87:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_PLUG [valueFlowBailoutIncompleteVar] 2.17.0 nabi-nabi-1.0.1/src/ic.c:2162:17: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/ic.c:2434:22: note: Assuming allocation function fails nabi-nabi-1.0.1/src/ic.c:2434:22: note: Assignment 'key=g_strconcat(text,preedit,NULL)', assigned value is 0 nabi-nabi-1.0.1/src/ic.c:2436:50: note: Calling function 'nabi_ic_update_candidate_window_with_key', 2nd argument 'key' value is 0 nabi-nabi-1.0.1/src/ic.c:2162:17: note: Null pointer dereference 2.17.0 nabi-nabi-1.0.1/src/ic.c:2166:21: warning: If memory allocation fails, then there is a possible null pointer dereference: key [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/ic.c:2434:22: note: Assuming allocation function fails nabi-nabi-1.0.1/src/ic.c:2434:22: note: Assignment 'key=g_strconcat(text,preedit,NULL)', assigned value is 0 nabi-nabi-1.0.1/src/ic.c:2436:50: note: Calling function 'nabi_ic_update_candidate_window_with_key', 2nd argument 'key' value is 0 nabi-nabi-1.0.1/src/ic.c:2163:11: note: Assuming condition is false nabi-nabi-1.0.1/src/ic.c:2166:21: note: Null pointer dereference 2.17.0 nabi-nabi-1.0.1/src/preference.c:156:17: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 nabi-nabi-1.0.1/src/preference.c:482:17: warning: If memory allocation fails, then there is a possible null pointer dereference: keys [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/preference.c:481:22: note: Assuming allocation function fails nabi-nabi-1.0.1/src/preference.c:481:22: note: Assignment 'keys=g_strsplit(key_list,",",0)', assigned value is 0 nabi-nabi-1.0.1/src/preference.c:482:17: note: Null pointer dereference 2.17.0 nabi-nabi-1.0.1/src/preference.c:484:39: warning: If memory allocation fails, then there is a possible null pointer dereference: keys [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/preference.c:481:22: note: Assuming allocation function fails nabi-nabi-1.0.1/src/preference.c:481:22: note: Assignment 'keys=g_strsplit(key_list,",",0)', assigned value is 0 nabi-nabi-1.0.1/src/preference.c:484:39: note: Null pointer dereference 2.17.0 nabi-nabi-1.0.1/src/preference.c:62:28: warning: If memory allocation fails, then there is a possible null pointer dereference: base_filename [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/preference.c:161:30: note: Assuming allocation function fails nabi-nabi-1.0.1/src/preference.c:161:30: note: Assignment 'file_none=g_build_filename(theme_dir,"none",NULL)', assigned value is 0 nabi-nabi-1.0.1/src/preference.c:164:45: note: Calling function 'load_resized_icons_from_file', 1st argument 'file_none' value is 0 nabi-nabi-1.0.1/src/preference.c:62:28: note: Null pointer dereference 2.17.0 nabi-nabi-1.0.1/src/server.c:1119:18: warning: If memory allocation fails, then there is a possible null pointer dereference: filename [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:1117:32: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:1117:32: note: Assignment 'filename=g_build_filename(homedir,".nabi","nabi.log",NULL)', assigned value is 0 nabi-nabi-1.0.1/src/server.c:1119:18: note: Null pointer dereference 2.17.0 nabi-nabi-1.0.1/src/server.c:553:14: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:551:27: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:551:27: note: Assignment 'list=g_strsplit(key_strings[i],"+",0)', assigned value is 0 nabi-nabi-1.0.1/src/server.c:553:14: note: Null pointer dereference 2.17.0 nabi-nabi-1.0.1/src/server.c:554:26: warning: If memory allocation fails, then there is a possible null pointer dereference: list [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:551:27: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:551:27: note: Assignment 'list=g_strsplit(key_strings[i],"+",0)', assigned value is 0 nabi-nabi-1.0.1/src/server.c:554:26: note: Null pointer dereference head nabi-nabi-1.0.1/src/server.c:582:33: warning: If memory allocation fails, then there is a possible null pointer dereference: server [nullPointerOutOfMemory] nabi-nabi-1.0.1/src/server.c:289:33: note: Assuming allocation function fails nabi-nabi-1.0.1/src/server.c:289:14: note: Assignment 'server=(struct NabiServer*)malloc(sizeof(struct NabiServer))', assigned value is 0 nabi-nabi-1.0.1/src/server.c:313:34: note: Calling function 'nabi_server_set_trigger_keys', 1st argument 'server' value is 0 nabi-nabi-1.0.1/src/server.c:582:33: note: Null pointer dereference head nabi-nabi-1.0.1/test/xlib.cpp:131:16: style:inconclusive: Technically the member function 'TextView::isDestroyed' can be const. [functionConst] nabi-nabi-1.0.1/test/xlib.cpp:24:10: note: Technically the member function 'TextView::isDestroyed' can be const. nabi-nabi-1.0.1/test/xlib.cpp:131:16: note: Technically the member function 'TextView::isDestroyed' can be const. 2.17.0 nabi-nabi-1.0.1/test/xlib.cpp:24:10: style:inconclusive: Technically the member function 'TextView::isDestroyed' can be const. [functionConst] nabi-nabi-1.0.1/test/xlib.cpp:131:16: note: Technically the member function 'TextView::isDestroyed' can be const. nabi-nabi-1.0.1/test/xlib.cpp:24:10: note: Technically the member function 'TextView::isDestroyed' can be const. DONE