2025-05-04 21:54 ftp://ftp.de.debian.org/debian/pool/main/g/gwaei/gwaei_3.6.2.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=libcurl --library=zlib --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 88ef81e (2025-05-02 08:42:38 +0200) count: 1010 1012 elapsed-time: 1.8 1.8 head-timing-info: old-timing-info: head results: gwaei-3.6.2/src/gwaei/application-callbacks.c:167:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_ABOUT_DIALOG [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application-callbacks.c:217:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application-callbacks.c:245:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application-callbacks.c:287:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DATADIR2 [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/addvocabularywindow-callbacks.c:44:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_ADDVOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/addvocabularywindow-callbacks.c:75:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_ADDVOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/addvocabularywindow-callbacks.c:88:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_ADDVOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/addvocabularywindow-callbacks.c:106:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_ADDVOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/addvocabularywindow-callbacks.c:131:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_ADDVOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/addvocabularywindow-callbacks.c:162:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_ADDVOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/addvocabularywindow-callbacks.c:215:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_ADDVOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application-callbacks.c:197:1: error: Memory leak: about [memleak] gwaei-3.6.2/src/gwaei/application-callbacks.c:195:21: warning: Either the condition '(logo=gdk_pixbuf_new_from_file(path,NULL))==NULL' is redundant or there is possible null pointer dereference: logo. [nullPointerRedundantCheck] gwaei-3.6.2/src/gwaei/application-callbacks.c:162:57: note: Assuming that condition '(logo=gdk_pixbuf_new_from_file(path,NULL))==NULL' is not redundant gwaei-3.6.2/src/gwaei/application-callbacks.c:195:21: note: Null pointer dereference gwaei-3.6.2/src/gwaei/application-callbacks.c:154:12: style: Variable 'programmer_credits' can be declared as const array [constVariable] gwaei-3.6.2/src/gwaei/addvocabularywindow.c:60:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_ADDVOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/addvocabularywindow.c:74:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwAddVocabularyWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/addvocabularywindow.c:92:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_addvocabularywindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/addvocabularywindow.c:105:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_addvocabularywindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/addvocabularywindow.c:152:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwAddVocabularyWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/addvocabularywindow.c:177:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/addvocabularywindow.c:210:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_addvocabularywindow_list_changed_cb [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/addvocabularywindow-callbacks.c:197:56: style: Variable 'g_signal_handlers_block_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/addvocabularywindow-callbacks.c:199:58: style: Variable 'g_signal_handlers_unblock_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/addvocabularywindow.c:152:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/addvocabularywindow.c:189:33: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/addvocabularywindow.c:229:58: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/addvocabularywindow.c:248:61: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/addvocabularywindow.c:267:64: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/addvocabularywindow.c:384:58: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:54:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_DICTIONARYINSTALLWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:85:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_DICTIONARYINSTALLWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:132:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_DICTIONARYINSTALLWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:155:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_DICTIONARYINSTALLWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:176:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_DICTIONARYINSTALLWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:213:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_DICTIONARYINSTALLWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:234:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_DICTIONARYINSTALLWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:267:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_DICTIONARYINSTALLWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:325:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_DICTIONARYLIST_COLUMN_SELECTED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:351:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_DICTIONARYINSTALLWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:377:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_DICTIONARYINSTALLWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:394:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_DICTIONARYINSTALLWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:135:11: style: Redundant initialization for 'value'. The initialized value is overwritten before it is read. [redundantInitialization] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:129:24: note: value is initialized gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:135:11: note: value is overwritten gwaei-3.6.2/src/gwaei/dictionaryinstallwindow-callbacks.c:70:39: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/application.c:70:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_APPLICATION_FLAGS_NONE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:83:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwApplicationPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:91:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_application_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:148:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_application_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:170:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwApplicationPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:225:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_STRING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:261:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:338:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:459:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_DIALOG_MODAL [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:499:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:728:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_application_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:771:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MENU_LINK_SECTION [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:851:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:882:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_application_open_vocabularywindow_index_cb [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:916:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MENU_ATTRIBUTE_LABEL [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:960:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MENU_ATTRIBUTE_ACTION [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/application.c:1004:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MENU_ATTRIBUTE_ACTION [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow.c:55:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_DICTIONARYINSTALLWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow.c:68:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwDictionaryInstallWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow.c:88:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_dictionaryinstallwindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow.c:116:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_DICTINSTWINDOW_ENGINESTOREFIELD_ID [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow.c:140:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_ENCODING_TOTAL [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow.c:170:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_dictionaryinstallwindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow.c:238:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwDictionaryInstallWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow.c:325:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_DICTINSTWINDOW_ENGINESTOREFIELD_ID [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow.c:394:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_dictionaryinstallwindow_filename_entry_changed_cb [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow.c:238:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow.c:266:74: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/dictionaryinstallwindow.c:302:71: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/dictionarylist.c:65:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwDictionaryListPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionarylist.c:101:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_dictionarylist_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionarylist.c:115:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwDictionaryListPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionarylist.c:245:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_DICTIONARYLIST_COLUMN_IMAGE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionarylist.c:330:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_DICTIONARYLIST_COLUMN_DICT_POINTER [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/dictionarylist.c:115:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/application.c:170:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/application.c:919:19: style: Condition 'label!=NULL' is always true [knownConditionTrueFalse] gwaei-3.6.2/src/gwaei/application.c:862:9: error: Memory leak: path [memleak] gwaei-3.6.2/src/gwaei/application.c:866:5: error: Memory leak: path [memleak] gwaei-3.6.2/src/gwaei/application.c:175:47: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/application.c:199:47: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/application.c:320:49: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/application.c:400:49: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/application.c:411:49: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/application.c:413:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/application.c:422:42: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/application.c:432:42: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/application.c:434:25: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/application.c:441:45: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/application.c:482:62: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/application.c:495:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/application.c:509:48: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/application.c:610:27: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/application.c:784:18: style: Variable 'settings' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/flashcardwindow-callbacks.c:41:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_FLASHCARDWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow-callbacks.c:54:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_FLASHCARDWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow-callbacks.c:68:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_FLASHCARDWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow-callbacks.c:89:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_FLASHCARDWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow-callbacks.c:123:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_FLASHCARDWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow-callbacks.c:140:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_FLASHCARDWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow-callbacks.c:66:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/flashcardwindow-callbacks.c:83:18: style: Variable 'eventkey' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/flashcardstore.c:83:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_GW_FLASHCARDSTORE_COLUMNS [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardstore.c:102:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_flashcardstore_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardstore.c:175:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwFlashCardStorePrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardstore.c:206:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_GW_FLASHCARDSTORE_COLUMNS [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardstore.c:286:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_FLASHCARDSTORE_COLUMN_WEIGHT [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardstore.c:352:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_FLASHCARDSTORE_COLUMN_ORDER [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardstore.c:382:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_FLASHCARDSTORE_COLUMN_TREE_PATH [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardstore.c:412:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_FLASHCARDSTORE_COLUMN_TREE_PATH [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardstore.c:446:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_FLASHCARDSTORE_COLUMN_CORRECT_GUESSES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardstore.c:473:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_FLASHCARDSTORE_COLUMN_TREE_PATH [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardstore.c:507:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_FLASHCARDSTORE_COLUMN_INCORRECT_GUESSES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardstore.c:516:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_FLASHCARDSTORE_COLUMN_IS_COMPLETED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardstore.c:525:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_FLASHCARDSTORE_COLUMN_IS_COMPLETED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/gwaei.c:51:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow.c:64:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_FLASHCARDWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow.c:78:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwFlashCardWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow.c:109:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_flashcardwindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow.c:123:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_flashcardwindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow.c:183:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwFlashCardWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow.c:206:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_flashcardwindow_key_press_event_cb [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow.c:341:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_FLASHCARDSTORE_COLUMN_QUESTION [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow.c:413:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_FLASHCARDSTORE_COLUMN_IS_COMPLETED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardwindow.c:651:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_flashcardwindow_track_results_toggled_cb [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/history.c:55:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_HISTORY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/history.c:66:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwHistoryPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/history.c:81:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_history_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/history.c:90:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_history_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/history.c:140:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwHistoryPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/flashcardstore.c:175:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/flashcardstore.c:107:43: style: Parameter 'object' can be declared as pointer to const. However it seems that 'gw_flashcardstore_set_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/flashcardstore.c:171:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/flashcardstore.c:107:43: note: Parameter 'object' can be declared as pointer to const gwaei-3.6.2/src/gwaei/flashcardstore.c:110:48: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gw_flashcardstore_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/flashcardstore.c:171:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/flashcardstore.c:110:48: note: Parameter 'pspec' can be declared as pointer to const gwaei-3.6.2/src/gwaei/flashcardstore.c:136:47: style: Parameter 'object' can be declared as pointer to const. However it seems that 'gw_flashcardstore_get_property' is a callback function, if 'object' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/flashcardstore.c:172:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/flashcardstore.c:136:47: note: Parameter 'object' can be declared as pointer to const gwaei-3.6.2/src/gwaei/flashcardstore.c:138:48: style: Parameter 'value' can be declared as pointer to const. However it seems that 'gw_flashcardstore_get_property' is a callback function, if 'value' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/flashcardstore.c:172:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/flashcardstore.c:138:48: note: Parameter 'value' can be declared as pointer to const gwaei-3.6.2/src/gwaei/flashcardstore.c:139:48: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gw_flashcardstore_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/flashcardstore.c:172:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/flashcardstore.c:139:48: note: Parameter 'pspec' can be declared as pointer to const gwaei-3.6.2/src/gwaei/history.c:140:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/installprogresswindow-callbacks.c:54:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_INSTALLPROGRESSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/installprogresswindow-callbacks.c:205:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_INSTALLPROGRESSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/installprogresswindow.c:57:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_INSTALLPROGRESSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/installprogresswindow.c:71:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwInstallProgressWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/installprogresswindow.c:90:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_installprogresswindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/installprogresswindow.c:104:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_installprogresswindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/installprogresswindow.c:151:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwInstallProgressWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/installprogresswindow.c:209:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_installprogresswindow_update_ui_timeout [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/installprogresswindow.c:151:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/installprogresswindow.c:173:5: error: Return value of allocation function 'g_thread_try_new' is not stored. [leakReturnValNotUsed] gwaei-3.6.2/src/gwaei/flashcardwindow.c:183:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/installprogresswindow-callbacks.c:43:48: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/installprogresswindow-callbacks.c:49:30: style: Variable 'window' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/installprogresswindow-callbacks.c:200:37: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/flashcardwindow.c:188:58: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/flashcardwindow.c:220:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/flashcardwindow.c:272:63: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/flashcardwindow.c:313:54: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/flashcardwindow.c:448:62: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/flashcardwindow.c:453:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/flashcardwindow.c:507:60: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/flashcardwindow.c:512:31: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/flashcardwindow.c:557:56: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/flashcardwindow.c:601:53: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/flashcardwindow.c:651:54: style: Variable 'g_signal_handlers_block_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/flashcardwindow.c:653:56: style: Variable 'g_signal_handlers_unblock_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/kanjipad-candidatearea.c:62:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_EXPOSURE_MASK [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipad-candidatearea.c:221:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAIRO_OPERATOR_SOURCE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipad-candidatearea.c:249:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_KANJIPADWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipad-candidatearea.c:272:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_KANJIPADWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipad-candidatearea.c:369:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_KANJIPADWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:66:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_KANJIPADWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:112:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_KANJIPADWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:127:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_KANJIPADWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:58:12: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/kanjipad-candidatearea.c:81:77: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/kanjipad-candidatearea.c:105:51: style: Parameter 'wide_character' can be declared as const array [constParameter] gwaei-3.6.2/src/gwaei/kanjipad-candidatearea.c:292:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/kanjipad-candidatearea.c:357:116: style: Parameter 'event' can be declared as pointer to const. However it seems that 'gw_kanjipadwindow_candidatearea_button_press_event_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/kanjipad-candidatearea.c:67:5: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/kanjipad-candidatearea.c:357:116: note: Parameter 'event' can be declared as pointer to const gwaei-3.6.2/src/gwaei/kanjipad-candidatearea.c:362:28: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:244:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_KANJIPADWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:270:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_KANJIPADWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:292:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_KANJIPADWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:319:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_KANJIPADWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:360:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_KANJIPADWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:468:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_EXPOSURE_MASK [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipadwindow.c:69:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_KANJIPADWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipadwindow.c:83:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwKanjipadWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipadwindow.c:139:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipadwindow.c:170:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_kanjipadwindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipadwindow.c:213:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwKanjipadWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipadwindow.c:260:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_EXISTS [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipadwindow.c:311:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/printing.c:161:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_WEIGHT_BOLD [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/printing.c:196:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_WEIGHT_BOLD [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/printing.c:245:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/printing.c:418:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_PRINT_OPERATION_RESULT_APPLY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/printing.c:442:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/printing.c:462:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipadwindow.c:213:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/kanjipadwindow.c:103:23: style: Condition 'priv->strokes!=NULL' is always false [knownConditionTrueFalse] gwaei-3.6.2/src/gwaei/kanjipadwindow.c:102:77: note: Assignment 'priv->strokes=NULL', assigned value is 0 gwaei-3.6.2/src/gwaei/kanjipadwindow.c:103:23: note: Condition 'priv->strokes!=NULL' is always false gwaei-3.6.2/src/gwaei/kanjipadwindow.c:297:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/printing.c:131:46: style: Parameter 'operation' can be declared as pointer to const. However it seems that '_begin_print' is a callback function, if 'operation' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/printing.c:411:5: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/printing.c:131:46: note: Parameter 'operation' can be declared as pointer to const gwaei-3.6.2/src/gwaei/printing.c:132:46: style: Parameter 'context' can be declared as pointer to const. However it seems that '_begin_print' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/printing.c:411:5: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/printing.c:132:46: note: Parameter 'context' can be declared as pointer to const gwaei-3.6.2/src/gwaei/printing.c:133:46: style: Parameter 'data' can be declared as pointer to const. However it seems that '_begin_print' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/printing.c:411:5: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/printing.c:133:46: note: Parameter 'data' can be declared as pointer to const gwaei-3.6.2/src/gwaei/printing.c:175:103: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/printing.c:377:45: style: Parameter 'operation' can be declared as pointer to const. However it seems that '_done' is a callback function, if 'operation' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/printing.c:414:5: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/printing.c:377:45: note: Parameter 'operation' can be declared as pointer to const gwaei-3.6.2/src/gwaei/printing.c:379:45: style: Parameter 'data' can be declared as pointer to const. However it seems that '_done' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/printing.c:414:5: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/printing.c:379:45: note: Parameter 'data' can be declared as pointer to const gwaei-3.6.2/src/gwaei/printing.c:236:16: style: Variable 'line_start' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/printing.c:237:14: style: Variable 'line_end' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/radicalswindow-callbacks.c:57:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_RADICALSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/radicalswindow-callbacks.c:83:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_RADICALSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/radicalswindow-callbacks.c:110:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_RADICALSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/radicalswindow-callbacks.c:80:28: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/radicalswindow-callbacks.c:105:28: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/search-data.c:49:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwSearchData [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/search-data.c:86:41: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/radicalswindow.c:333:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_RADICALSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/radicalswindow.c:347:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwRadicalsWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/radicalswindow.c:359:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_radicalswindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/radicalswindow.c:386:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_radicalswindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/radicalswindow.c:427:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwRadicalsWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/radicalswindow.c:452:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_KEY_Escape [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/radicalswindow.c:481:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_RADARRAY_STROKES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/radicalswindow.c:752:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_radicalswindow_toggled_cb [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:401:21: style: Variable 'ymin' is reassigned a value before the old one has been used. [redundantAssignment] gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:397:30: note: ymin is assigned gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:401:21: note: ymin is overwritten gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:401:21: style: Variable 'ymin' is reassigned a value before the old one has been used. [redundantAssignment] gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:398:30: note: ymin is assigned gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:401:21: note: ymin is overwritten gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:70:78: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:73:15: style: Variable 'cur' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:73:21: style: Variable 'old' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:286:109: style: Parameter 'event' can be declared as pointer to const. However it seems that 'gw_kanjipadwindow_drawingarea_button_press_event_cb' is a callback function, if 'event' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:479:5: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/kanjipad-drawingarea.c:286:109: note: Parameter 'event' can be declared as pointer to const gwaei-3.6.2/src/gwaei/radicalswindow.c:427:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/radicalswindow.c:461:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/radicalswindow.c:526:65: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/radicalswindow.c:536:12: style: Variable 'radical_ptr' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/radicalswindow.c:590:19: style: Variable 'text_ptr' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/radicalswindow.c:629:67: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/radicalswindow.c:752:58: style: Variable 'g_signal_handlers_block_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/radicalswindow.c:756:60: style: Variable 'g_signal_handlers_unblock_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/searchwindow-output.c:129:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_TYPE_EDICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-output.c:407:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_SEARCHWINDOW_CLASS_SIGNALID_WORD_ADDED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-output.c:528:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_SEARCHWINDOW_CLASS_SIGNALID_WORD_ADDED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-output.c:706:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_SEARCHWINDOW_CLASS_SIGNALID_WORD_ADDED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-output.c:796:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_SEARCHWINDOW_CLASS_SIGNALID_WORD_ADDED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-output.c:852:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_SEARCHWINDOW_CLASS_SIGNALID_WORD_ADDED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-output.c:991:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_WINDOW_POPUP [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-output.c:1100:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_DIALOG [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:82:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_UNICODE_SCRIPT_HAN [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:111:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:173:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:216:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:434:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:554:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_APPLICATION_FONT_ZOOM_STEP [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:583:104: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_APPLICATION_FONT_ZOOM_STEP [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:630:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:649:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:676:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:700:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:724:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:748:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:811:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:864:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:901:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1050:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1259:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1283:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_ACTION_COPY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1355:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1420:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CONTROL_MASK [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1467:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1491:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1519:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1606:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1660:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1725:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1783:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1837:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1864:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1883:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1939:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_SEARCHWINDOW_SIGNALID_KANJIPADWINDOW_CLOSED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2005:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_TYPE_KANJIDICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2066:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_SEARCHWINDOW_SIGNALID_RADICALSWINDOW_CLOSED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2133:88: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_TYPE_KANJIDICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2191:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2206:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2308:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2391:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:66:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SEARCHWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:80:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwSearchWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:111:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_searchwindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:151:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:188:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_searchwindow_toggle_kanjipadwindow_cb [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:234:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_searchwindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:289:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwSearchWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:332:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SEARCHSTATUS_IDLE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:780:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TOOLBAR_TEXT [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:995:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:1175:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_SEARCHWINDOW_TIMEOUTID_KEEP_SEARCHING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:1530:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_searchwindow_drag_motion_1_cb [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:1587:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:1734:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lw_search_free [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:1829:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_searchdata_free [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:1913:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_APPLICATION_MIN_FONT_SIZE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:1983:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_window_delete_event_cb [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:2122:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_SEARCHWINDOW_SIGNALID_RADICALSWINDOW_CLOSED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:2265:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:2472:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_STYLE_CLASS_PRIMARY_TOOLBAR [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:2523:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_BUTTON [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow-output.c:694:66: style: Variable 'line' is reassigned a value before the old one has been used. [redundantAssignment] gwaei-3.6.2/src/gwaei/searchwindow-output.c:661:68: note: line is assigned gwaei-3.6.2/src/gwaei/searchwindow-output.c:694:66: note: line is overwritten gwaei-3.6.2/src/gwaei/searchwindow-output.c:1152:26: style: Variable 'dictionary' is reassigned a value before the old one has been used. [redundantAssignment] gwaei-3.6.2/src/gwaei/searchwindow-output.c:1150:18: note: dictionary is assigned gwaei-3.6.2/src/gwaei/searchwindow-output.c:1152:26: note: dictionary is overwritten gwaei-3.6.2/src/gwaei/searchwindow-output.c:47:51: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow-output.c:354:26: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/searchwindow-output.c:444:26: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/searchwindow-output.c:581:26: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/searchwindow-output.c:738:26: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/searchwindow-output.c:819:26: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/searchwindow-output.c:1204:13: style: Variable 'icon_path' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/searchwindow-output.c:849:66: style: Variable 'line' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/searchwindow-output.c:1218:15: style: Variable 'image' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:57:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:82:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:107:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:132:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:159:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:188:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:238:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:266:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:290:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:445:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:533:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:678:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/searchwindow.c:1863:58: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] gwaei-3.6.2/src/gwaei/searchwindow.c:289:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:195:21: warning: Either the condition 'pref_key!=NULL' is redundant or there is possible null pointer dereference: pref_key. [nullPointerRedundantCheck] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:204:18: note: Assuming that condition 'pref_key!=NULL' is not redundant gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:195:21: note: Null pointer dereference gwaei-3.6.2/src/gwaei/searchwindow.c:1516:37: error: Dereferencing 'buffer' after it is deallocated / released [deallocuse] gwaei-3.6.2/src/gwaei/searchwindow.c:1517:34: error: Dereferencing 'buffer' after it is deallocated / released [deallocuse] gwaei-3.6.2/src/gwaei/searchwindow.c:1518:34: error: Dereferencing 'buffer' after it is deallocated / released [deallocuse] gwaei-3.6.2/src/gwaei/searchwindow.c:1519:34: error: Dereferencing 'buffer' after it is deallocated / released [deallocuse] gwaei-3.6.2/src/gwaei/searchwindow.c:1520:34: error: Dereferencing 'buffer' after it is deallocated / released [deallocuse] gwaei-3.6.2/src/gwaei/searchwindow.c:660:80: warning: Either the condition 'position_string!=NULL' is redundant or there is possible null pointer dereference: position_string. [nullPointerRedundantCheck] gwaei-3.6.2/src/gwaei/searchwindow.c:666:25: note: Assuming that condition 'position_string!=NULL' is not redundant gwaei-3.6.2/src/gwaei/searchwindow.c:660:80: note: Null pointer dereference gwaei-3.6.2/src/gwaei/searchwindow.c:402:7: warning: Suspicious use of ; at the end of 'if' statement. [suspiciousSemicolon] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:461:23: style: Variable 'window' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:358:9: warning: Uninitialized variable: text [uninitvar] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:354:9: note: Assuming condition is false gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:358:9: note: Uninitialized variable: text gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:324:54: style: Variable 'g_signal_handlers_block_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:327:56: style: Variable 'g_signal_handlers_unblock_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:393:54: style: Variable 'g_signal_handlers_block_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:395:56: style: Variable 'g_signal_handlers_unblock_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:425:54: style: Variable 'g_signal_handlers_block_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:427:56: style: Variable 'g_signal_handlers_unblock_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:493:54: style: Variable 'g_signal_handlers_block_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:495:56: style: Variable 'g_signal_handlers_unblock_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:517:54: style: Variable 'g_signal_handlers_block_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:519:56: style: Variable 'g_signal_handlers_unblock_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:541:56: style: Variable 'g_signal_handlers_block_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:543:58: style: Variable 'g_signal_handlers_unblock_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:566:54: style: Variable 'g_signal_handlers_block_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:568:56: style: Variable 'g_signal_handlers_unblock_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/searchwindow.c:578:14: style: Variable 'idle_message_none' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/searchwindow.c:705:49: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:707:28: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/searchwindow.c:721:71: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:772:52: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:915:45: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:948:46: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:979:44: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:1009:43: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:1033:45: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:1085:53: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:1240:54: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:1278:62: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:1428:59: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:1437:15: style: Variable 'search' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/searchwindow.c:1769:58: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:1789:60: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:2256:18: style: Variable 'settings' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/searchwindow.c:2364:53: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow.c:659:54: style: Variable 'g_signal_handlers_block_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/searchwindow.c:662:56: style: Variable 'g_signal_handlers_unblock_by_func' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/settingswindow.c:77:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow.c:91:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwSettingsWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow.c:106:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_settingswindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow.c:122:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_settingswindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow.c:203:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwSettingsWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow.c:220:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_GW_SETTINGSWINDOW_SIGNALIDS [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow.c:344:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SCHEMA_BASE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow.c:468:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_JUNCTION_BOTTOM [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow.c:605:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_BUTTON1_MASK [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow.c:696:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow.c:742:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow.c:775:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SETTINGSWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/settingswindow.c:203:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/settingswindow.c:737:23: style: Variable 'window' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/settingswindow.c:738:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/settingswindow.c:739:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/settingswindow.c:767:23: style: Variable 'window' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/settingswindow.c:768:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/settingswindow.c:772:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/settingswindow.c:796:9: warning: Uninitialized variable: path [uninitvar] gwaei-3.6.2/src/gwaei/settingswindow.c:781:16: note: Assuming condition is false gwaei-3.6.2/src/gwaei/settingswindow.c:796:9: note: Uninitialized variable: path gwaei-3.6.2/src/gwaei/spellcheck-callbacks.c:205:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/spellcheck-callbacks.c:155:7: style: Variable 'y' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/spellcheck-callbacks.c:216:31: style: Variable 'end_offset' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/texttagtable.c:68:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_TEXTTAGTABLE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/texttagtable.c:78:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwTextTagTablePrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/texttagtable.c:91:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_texttagtable_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/texttagtable.c:103:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_texttagtable_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/texttagtable.c:176:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwTextTagTablePrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/texttagtable.c:258:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TEXTTAGTABLE_SIGNALID_MATCH_FG [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/texttagtable.c:313:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SCHEMA_HIGHLIGHT [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/texttagtable.c:362:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/texttagtable.c:176:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/texttagtable.c:60:37: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/texttagtable.c:118:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gw_texttagtable_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/texttagtable.c:171:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/texttagtable.c:118:45: note: Parameter 'pspec' can be declared as pointer to const gwaei-3.6.2/src/gwaei/texttagtable.c:120:21: style: Variable 'tagtable' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/texttagtable.c:142:45: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gw_texttagtable_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/texttagtable.c:172:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/texttagtable.c:142:45: note: Parameter 'pspec' can be declared as pointer to const gwaei-3.6.2/src/gwaei/texttagtable.c:144:21: style: Variable 'tagtable' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/texttagtable.c:301:49: style: Parameter 'tagtable' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/spellcheck.c:62:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_SPELLCHECK [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/spellcheck.c:96:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUNSPELL_MYSPELL_DICTIONARY_PATH [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/spellcheck.c:191:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/spellcheck.c:252:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwSpellcheckPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/spellcheck.c:276:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_spellcheck_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/spellcheck.c:341:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwSpellcheckPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/spellcheck.c:373:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_SPELLCHECK_SIGNALID_DICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/spellcheck.c:445:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_SPELLCHECK_SIGNALID_DRAW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/spellcheck.c:644:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_SPELLCHECK_TIMEOUTID_UPDATE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/spellcheck.c:680:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_UNICODE_SCRIPT_LATIN [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/spellcheck.c:702:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_SPELLCHECK_TIMEOUTID_UPDATE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/spellcheck.c:746:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TYPE_WINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/spellcheck.c:778:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_SCALE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/spellcheck.c:841:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_ICON_SIZE_MENU [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:77:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwVocabularyListStorePrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:100:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_vocabularyliststore_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:114:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwVocabularyListStorePrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:148:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYLISTSTORE_COLUMN_NAME [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:168:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYLISTSTORE_COLUMN_NAME [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:180:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYLISTSTORE_COLUMN_OBJECT [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:236:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYLISTSTORE_COLUMN_NAME [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:317:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYLISTSTORE_COLUMN_NAME [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:479:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYLISTSTORE_COLUMN_OBJECT [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:523:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYLISTSTORE_COLUMN_OBJECT [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:591:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYLISTSTORE_COLUMN_NAME [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:639:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_WEIGHT_SEMIBOLD [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:670:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYLISTSTORE_CLASS_SIGNALID_CHANGED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:717:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYLISTSTORE_COLUMN_NAME [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/spellcheck.c:341:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/spellcheck.c:231:22: style: Condition 'priv->handle==NULL' is always true [knownConditionTrueFalse] gwaei-3.6.2/src/gwaei/spellcheck.c:228:79: note: Assignment 'priv->handle=NULL', assigned value is 0 gwaei-3.6.2/src/gwaei/spellcheck.c:231:22: note: Condition 'priv->handle==NULL' is always true gwaei-3.6.2/src/gwaei/spellcheck.c:143:37: warning: Either the condition 'locale!=NULL' is redundant or there is possible null pointer dereference: locale. [nullPointerRedundantCheck] gwaei-3.6.2/src/gwaei/spellcheck.c:145:28: note: Assuming that condition 'locale!=NULL' is not redundant gwaei-3.6.2/src/gwaei/spellcheck.c:143:37: note: Null pointer dereference gwaei-3.6.2/src/gwaei/spellcheck.c:58:35: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/spellcheck.c:208:46: style: Parameter 'spellcheck' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/spellcheck.c:284:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gw_spellcheck_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/spellcheck.c:337:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/spellcheck.c:284:43: note: Parameter 'pspec' can be declared as pointer to const gwaei-3.6.2/src/gwaei/spellcheck.c:286:19: style: Variable 'spellcheck' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/spellcheck.c:308:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gw_spellcheck_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/spellcheck.c:338:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/spellcheck.c:308:43: note: Parameter 'pspec' can be declared as pointer to const gwaei-3.6.2/src/gwaei/spellcheck.c:310:19: style: Variable 'spellcheck' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/spellcheck.c:354:45: style: Parameter 'spellcheck' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/spellcheck.c:360:45: style: Parameter 'spellcheck' can be declared as pointer to const. However it seems that 'gw_spellcheck_remove_signals' is a callback function, if 'spellcheck' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/spellcheck.c:509:54: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/spellcheck.c:360:45: note: Parameter 'spellcheck' can be declared as pointer to const gwaei-3.6.2/src/gwaei/spellcheck.c:421:52: style: Parameter 'spellcheck' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/spellcheck.c:585:54: style: Parameter 'spellcheck' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/spellcheck.c:739:54: style: Parameter 'spellcheck' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/spellcheck.c:103:24: warning: Uninitialized variable: text [uninitvar] gwaei-3.6.2/src/gwaei/spellcheck.c:90:32: note: Assuming condition is false gwaei-3.6.2/src/gwaei/spellcheck.c:103:24: note: Uninitialized variable: text gwaei-3.6.2/src/gwaei/vocabularyliststore.c:114:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:404:15: style: Condition 'atoms!=NULL' is always true [knownConditionTrueFalse] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:461:15: style: Condition 'atoms!=NULL' is always true [knownConditionTrueFalse] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:186:5: error: Returning/dereferencing 'wordstore' after it is deallocated / released [deallocret] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:184:7: note: Returning/dereferencing 'wordstore' after it is deallocated / released gwaei-3.6.2/src/gwaei/vocabularyliststore.c:186:5: note: Returning/dereferencing 'wordstore' after it is deallocated / released gwaei-3.6.2/src/gwaei/vocabularyliststore.c:605:79: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/vocabularyliststore.c:666:33: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow.c:97:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow.c:111:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwVocabularyWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow.c:126:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_vocabularywindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow.c:139:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_vocabularywindow_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow.c:221:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwVocabularyWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow.c:242:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_window_delete_event_cb [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow.c:344:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_GW_VOCABULARYWINDOW_TIMEOUTIDS [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow.c:442:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_JUNCTION_BOTTOM [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow.c:486:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYLISTSTORE_COLUMN_NAME [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow.c:539:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYWORDSTORE_COLUMN_POSITION_INTEGER [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow.c:877:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_NO [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow.c:1070:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MENU_LINK_SUBMENU [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow.c:1227:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYWORDSTORE_COLUMN_DEFINITIONS [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow.c:1267:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_ADDVOCABULARYWINDOW_FOCUS_KANJI [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:81:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_REJECT [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:159:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_ACCEPT [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:190:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:232:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_RESPONSE_REJECT [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:280:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:325:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:375:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:404:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:582:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:635:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:712:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SELECTION_CLIPBOARD [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:743:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:778:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:807:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:859:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:888:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:921:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1073:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1094:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1115:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1136:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1158:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1179:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1198:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1255:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1321:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1402:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYLISTSTORE_COLUMN_OBJECT [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1432:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1481:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_TREE_VIEW_DROP_INTO_OR_BEFORE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1517:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1551:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1589:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1617:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1640:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1663:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1707:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1729:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1751:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1777:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywindow.c:221:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/vocabularywindow.c:792:60: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/vocabularywindow.c:927:63: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/vocabularywindow.c:1030:66: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/vocabularywindow.c:1075:61: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1060:5: warning:inconclusive: The buffer 'query' may not be null-terminated after the call to strncpy(). [terminateStrncpy] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2011:43: warning: Either the condition 'text_radicals!=NULL' is redundant or there is possible null pointer dereference: text_radicals. [nullPointerRedundantCheck] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2025:23: note: Assuming that condition 'text_radicals!=NULL' is not redundant gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2011:43: note: Null pointer dereference gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2011:58: warning: Either the condition 'text_strokes!=NULL' is redundant or there is possible null pointer dereference: text_strokes. [nullPointerRedundantCheck] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2024:22: note: Assuming that condition 'text_strokes!=NULL' is not redundant gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2011:58: note: Null pointer dereference gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:60:73: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:220:88: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:307:61: style: Parameter 'view' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:368:25: style: Variable 'window' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:393:25: style: Variable 'window' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:450:22: style: Variable 'rowlist' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:488:32: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:497:22: style: Variable 'rowlist' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:673:16: style: Variable 'focus' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:802:16: style: Variable 'focus' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1244:25: style: Variable 'window' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1245:32: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1252:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1428:32: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1429:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1513:32: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1514:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1543:25: style: Variable 'window' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1544:32: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1548:18: style: Variable 'source' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1773:18: style: Variable 'gtk_settings' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:105:19: style: Variable 'dictionary' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1572:9: warning: Uninitialized variable: path [uninitvar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1557:16: note: Assuming condition is false gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1572:9: note: Uninitialized variable: path gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:888:58: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1418:47: style: Parameter 'widget' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1418:71: style: Parameter 'event' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1418:87: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:1656:18: style: Variable 'gtk_settings' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2407:48: style: Parameter 'settings' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2407:65: style: Parameter 'KEY' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/searchwindow-callbacks.c:2407:79: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:1296:9: error: Uninitialized variable: path [legacyUninitvar] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:462:23: style: Variable 'rowlist' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:508:23: style: Variable 'rowlist' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:60:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_VOCABULARYWORDSTORE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:85:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_GW_VOCABULARYWORDSTORE_COLUMNS [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:105:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_vocabularywordstore_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:171:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwVocabularyWordStorePrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:210:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_WEIGHT_NORMAL [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:311:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYWORDSTORE_COLUMN_POSITION_INTEGER [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:405:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_PATH_VOCABULARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:420:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:435:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYWORDSTORE_CLASS_SIGNALID_CHANGED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:460:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYWORDSTORE_COLUMN_KANJI [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:615:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PANGO_WEIGHT_SEMIBOLD [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:639:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYWORDSTORE_COLUMN_KANJI [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:672:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYWORDSTORE_COLUMN_INCORRECT_GUESSES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:695:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYWORDSTORE_COLUMN_INCORRECT_GUESSES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:710:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYWORDSTORE_COLUMN_CORRECT_GUESSES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:732:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYWORDSTORE_COLUMN_CORRECT_GUESSES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:788:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_VOCABULARYWORDSTORE_COLUMN_TIMESTAMP [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/window-callbacks.c:92:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GW_TYPE_WINDOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/window-callbacks.c:42:24: style: Variable 'event_configure' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/window-callbacks.c:65:18: style: Variable 'settings' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/window.c:60:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/window.c:79:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_window_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/window.c:93:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gw_window_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/window.c:186:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GwWindowPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/window.c:237:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/kpengine/jstroke/scoring.c:227:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CharPtr [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:171:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:226:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:307:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:113:48: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gw_vocabularywordstore_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:167:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/vocabularywordstore.c:113:48: note: Parameter 'pspec' can be declared as pointer to const gwaei-3.6.2/src/gwaei/vocabularywordstore.c:115:28: style: Variable 'model' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:138:48: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gw_vocabularywordstore_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:168:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/vocabularywordstore.c:138:48: note: Parameter 'pspec' can be declared as pointer to const gwaei-3.6.2/src/gwaei/vocabularywordstore.c:140:28: style: Variable 'model' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:141:35: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:352:67: style: Parameter 'store' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:354:35: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:361:57: style: Parameter 'store' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:416:12: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:431:31: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:520:79: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:590:9: warning: Uninitialized variable: modified [uninitvar] gwaei-3.6.2/src/gwaei/vocabularywordstore.c:556:14: note: Assuming condition is false gwaei-3.6.2/src/gwaei/vocabularywordstore.c:590:9: note: Uninitialized variable: modified gwaei-3.6.2/src/gwaei/window.c:186:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/gwaei/window.c:89:18: style: Variable 'settings' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/window.c:120:39: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gw_window_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/window.c:181:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/window.c:120:39: note: Parameter 'pspec' can be declared as pointer to const gwaei-3.6.2/src/gwaei/window.c:122:15: style: Variable 'window' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/window.c:149:39: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'gw_window_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/gwaei/window.c:182:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/gwaei/window.c:149:39: note: Parameter 'pspec' can be declared as pointer to const gwaei-3.6.2/src/gwaei/window.c:151:15: style: Variable 'window' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/window.c:265:33: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/window.c:276:33: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/window.c:298:38: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/window.c:300:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/window.c:309:35: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/window.c:311:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/window.c:320:38: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/window.c:322:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/window.c:331:39: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/window.c:342:35: style: Parameter 'window' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/gwaei/window.c:344:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/window.c:402:22: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/window.c:468:18: style: Variable 'settings' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/gwaei/window.c:570:17: style: Variable 'menumodel' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/kpengine/jstroke/util.c:33:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CharPtr [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/kpengine/kpengine.c:46:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KP_LIBDIR [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/kpengine/kpengine.c:208:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/kpengine/kpengine.c:216:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/kpengine/kpengine.c:250:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-callbacks.c:86:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_DICTIONARY_CLASS_SIGNALID_PROGRESS_CHANGED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/kpengine/jstroke/scoring.c:496:48: style:inconclusive: Function 'StrokeScorerExtraFilters' argument 1 names different: declaration 'pscorer' definition 'pScorer'. [funcArgNamesDifferent] gwaei-3.6.2/src/kpengine/jstroke/scoring.c:53:50: note: Function 'StrokeScorerExtraFilters' argument 1 names different: declaration 'pscorer' definition 'pScorer'. gwaei-3.6.2/src/kpengine/jstroke/scoring.c:496:48: note: Function 'StrokeScorerExtraFilters' argument 1 names different: declaration 'pscorer' definition 'pScorer'. gwaei-3.6.2/src/kpengine/jstroke/scoring.c:620:42: style:inconclusive: Function 'StrokeScorerExtraEval' argument 1 names different: declaration 'pscorer' definition 'pScorer'. [funcArgNamesDifferent] gwaei-3.6.2/src/kpengine/jstroke/scoring.c:56:47: note: Function 'StrokeScorerExtraEval' argument 1 names different: declaration 'pscorer' definition 'pScorer'. gwaei-3.6.2/src/kpengine/jstroke/scoring.c:620:42: note: Function 'StrokeScorerExtraEval' argument 1 names different: declaration 'pscorer' definition 'pScorer'. gwaei-3.6.2/src/libwaei/dictionary-callbacks.c:56:19: style: Variable 'dictionary' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-callbacks.c:77:24: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/kpengine/jstroke/scoring.c:620:42: style: Parameter 'pScorer' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/kpengine/kpengine.c:91:19: warning: Either the condition 'nstrokes>32' is redundant or the array 'stroke_dicts[32]' is accessed at index 32, which is out of bounds. [arrayIndexOutOfBoundsCond] gwaei-3.6.2/src/kpengine/kpengine.c:82:38: note: Assuming that condition 'nstrokes>32' is not redundant gwaei-3.6.2/src/kpengine/kpengine.c:91:19: note: Array index out of bounds gwaei-3.6.2/src/kpengine/kpengine.c:92:34: warning: Either the condition 'nstrokes>32' is redundant or the array 'stroke_dicts[32]' is accessed at index 32, which is out of bounds. [arrayIndexOutOfBoundsCond] gwaei-3.6.2/src/kpengine/kpengine.c:82:38: note: Assuming that condition 'nstrokes>32' is not redundant gwaei-3.6.2/src/kpengine/kpengine.c:92:34: note: Array index out of bounds gwaei-3.6.2/src/kpengine/kpengine.c:143:4: error: Common realloc mistake: 'buffer' nulled but not freed upon failure [memleakOnRealloc] gwaei-3.6.2/src/kpengine/kpengine.c:137:18: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] gwaei-3.6.2/src/kpengine/kpengine.c:124:24: note: Assuming allocation function fails gwaei-3.6.2/src/kpengine/kpengine.c:124:24: note: Assignment 'buffer=malloc(1024)', assigned value is 0 gwaei-3.6.2/src/kpengine/kpengine.c:137:18: note: Null pointer dereference gwaei-3.6.2/src/kpengine/kpengine.c:134:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:669:30: debug: Scope::checkVariable found variable 'position_b_ptr' with varid 0. [varid0] gwaei-3.6.2/src/libwaei/dictionary.c:139:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SCHEMA_DICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary.c:155:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LwDictionaryPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary.c:175:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lw_dictionary_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary.c:278:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_DICTIONARY_CLASS_SIGNALID_PROGRESS_CHANGED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary.c:395:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_PATH_DICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary.c:723:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary.c:762:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_LW_QUERY_TYPES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:52:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LwDictionaryInstall [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:72:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SCHEMA_DICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:80:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_TYPE_DICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:159:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:196:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:290:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_ENCODING_UTF8 [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:346:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_PATH_CACHE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:467:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_DICTIONARY_INSTALLER_STATUS_DOWNLOADING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:523:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_DICTIONARY_INSTALLER_STATUS_DECOMPRESSING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:580:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_DICTIONARY_INSTALLER_STATUS_ENCODING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:636:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_DICTIONARY_INSTALLER_STATUS_POSTPROCESSING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:697:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_DICTIONARY_INSTALLER_STATUS_FINISHING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:919:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_LW_DICTIONARY_INSTALLER_STATUSES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:1088:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SCHEMA_DICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:1111:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SCHEMA_DICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionarylist.c:67:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LwDictionaryListPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionarylist.c:86:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lw_dictionarylist_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionarylist.c:100:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_DICTIONARYLIST_CLASS_SIGNALID_CHANGED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionarylist.c:163:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_DICTIONARYLIST_CLASS_SIGNALID_REMOVED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionarylist.c:187:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_NONE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionarylist.c:265:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_DICTIONARYLIST_CLASS_SIGNALID_REMOVED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionarylist.c:296:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_DICTIONARYLIST_CLASS_SIGNALID_REMOVED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionarylist.c:326:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_DICTIONARYLIST_CLASS_SIGNALID_ADDED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionarylist.c:649:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_DICTIONARYLIST_CLASS_SIGNALID_CHANGED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionarylist.c:669:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable position_b_ptr [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionarylist.c:740:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_ENCODING_EUC_JP [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/dictionary.c:288:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/libwaei/dictionary.c:630:14: warning:inconclusive: Either the condition 'error!=NULL' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] gwaei-3.6.2/src/libwaei/dictionary.c:621:15: note: Assuming that condition 'error!=NULL' is not redundant gwaei-3.6.2/src/libwaei/dictionary.c:630:14: note: Null pointer dereference gwaei-3.6.2/src/libwaei/dictionary.c:683:5: warning: Either the condition 'childlist!=NULL' is redundant or there is possible null pointer dereference: childlist. [nullPointerRedundantCheck] gwaei-3.6.2/src/libwaei/dictionary.c:734:19: note: Assuming that condition 'childlist!=NULL' is not redundant gwaei-3.6.2/src/libwaei/dictionary.c:683:5: note: Null pointer dereference gwaei-3.6.2/src/libwaei/dictionary.c:684:5: warning: Either the condition 'childlist!=NULL' is redundant or there is possible null pointer dereference: childlist. [nullPointerRedundantCheck] gwaei-3.6.2/src/libwaei/dictionary.c:734:19: note: Assuming that condition 'childlist!=NULL' is not redundant gwaei-3.6.2/src/libwaei/dictionary.c:684:5: note: Null pointer dereference gwaei-3.6.2/src/libwaei/dictionary.c:685:5: warning: Either the condition 'childlist!=NULL' is redundant or there is possible null pointer dereference: childlist. [nullPointerRedundantCheck] gwaei-3.6.2/src/libwaei/dictionary.c:734:19: note: Assuming that condition 'childlist!=NULL' is not redundant gwaei-3.6.2/src/libwaei/dictionary.c:685:5: note: Null pointer dereference gwaei-3.6.2/src/libwaei/dictionary.c:686:5: warning: Either the condition 'childlist!=NULL' is redundant or there is possible null pointer dereference: childlist. [nullPointerRedundantCheck] gwaei-3.6.2/src/libwaei/dictionary.c:734:19: note: Assuming that condition 'childlist!=NULL' is not redundant gwaei-3.6.2/src/libwaei/dictionary.c:686:5: note: Null pointer dereference gwaei-3.6.2/src/libwaei/dictionary.c:687:5: warning: Either the condition 'childlist!=NULL' is redundant or there is possible null pointer dereference: childlist. [nullPointerRedundantCheck] gwaei-3.6.2/src/libwaei/dictionary.c:734:19: note: Assuming that condition 'childlist!=NULL' is not redundant gwaei-3.6.2/src/libwaei/dictionary.c:687:5: note: Null pointer dereference gwaei-3.6.2/src/libwaei/dictionary.c:714:13: warning: Either the condition 'childlist!=NULL' is redundant or there is possible null pointer dereference: childiter. [nullPointerRedundantCheck] gwaei-3.6.2/src/libwaei/dictionary.c:734:19: note: Assuming that condition 'childlist!=NULL' is not redundant gwaei-3.6.2/src/libwaei/dictionary.c:711:17: note: Assignment 'childiter=childlist', assigned value is 0 gwaei-3.6.2/src/libwaei/dictionary.c:714:13: note: Null pointer dereference gwaei-3.6.2/src/libwaei/dictionary.c:128:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary.c:183:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lw_dictionary_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/libwaei/dictionary.c:270:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/libwaei/dictionary.c:183:43: note: Parameter 'pspec' can be declared as pointer to const gwaei-3.6.2/src/libwaei/dictionary.c:186:19: style: Variable 'dictionary' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary.c:212:43: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lw_dictionary_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/libwaei/dictionary.c:271:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/libwaei/dictionary.c:212:43: note: Parameter 'pspec' can be declared as pointer to const gwaei-3.6.2/src/libwaei/dictionary.c:215:19: style: Variable 'dictionary' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary.c:216:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary.c:468:39: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionary.c:474:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary.c:484:43: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionary.c:486:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary.c:635:42: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionary.c:641:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary.c:671:12: style: Variable 'childiter' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:130:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/libwaei/dictionarylist.c:403:22: style: Condition 'dictionary==NULL' is always true [knownConditionTrueFalse] gwaei-3.6.2/src/libwaei/dictionarylist.c:389:18: note: Assignment 'dictionary=NULL', assigned value is 0 gwaei-3.6.2/src/libwaei/dictionarylist.c:403:22: note: Condition 'dictionary==NULL' is always true gwaei-3.6.2/src/libwaei/dictionarylist.c:143:28: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:175:28: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:251:28: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:282:28: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:318:28: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:342:53: style: Parameter 'dictionarylist' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:348:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:422:65: style: Parameter 'dictionarylist' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:428:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:458:59: style: Parameter 'dictionarylist' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:464:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:510:56: style: Parameter 'dictionarylist' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:550:48: style: Parameter 'dictionarylist' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:555:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:569:30: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:617:28: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:727:28: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionarylist.c:808:57: style: Parameter 'dictionarylist' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:544:31: warning: Either the condition 'error==NULL' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] gwaei-3.6.2/src/libwaei/dictionary-installer.c:544:19: note: Assuming that condition 'error==NULL' is not redundant gwaei-3.6.2/src/libwaei/dictionary-installer.c:544:31: note: Null pointer dereference gwaei-3.6.2/src/libwaei/dictionary-installer.c:882:38: warning: Possible null pointer dereference: list [nullPointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:878:16: note: Assignment 'list=NULL', assigned value is 0 gwaei-3.6.2/src/libwaei/dictionary-installer.c:882:38: note: Null pointer dereference gwaei-3.6.2/src/libwaei/dictionary-installer.c:93:53: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:99:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:100:26: style: Variable 'install' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:122:53: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:137:56: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:147:57: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:153:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:178:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:231:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:280:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:329:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:371:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:418:49: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:424:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:425:26: style: Variable 'install' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:731:46: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:821:53: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:824:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:843:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:903:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:966:51: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:972:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:973:26: style: Variable 'install' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:984:51: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:1002:55: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:1008:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:1009:26: style: Variable 'install' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:1077:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:1100:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:112:12: warning: Uninitialized variable: filelist [uninitvar] gwaei-3.6.2/src/libwaei/dictionary-installer.c:107:27: note: Assuming condition is false gwaei-3.6.2/src/libwaei/dictionary-installer.c:112:12: note: Uninitialized variable: filelist gwaei-3.6.2/src/libwaei/dictionary-installer.c:693:29: style: Variable 'targetlist' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/libwaei/exampledictionary.c:61:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_TYPE_EXAMPLEDICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/exampledictionary.c:80:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lw_exampledictionary_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/exampledictionary.c:100:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lw_exampledictionary_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/exampledictionary.c:122:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_LW_QUERY_TYPES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/exampledictionary.c:201:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_IO_MAX_FGETS_LINE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/exampledictionary.c:267:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_QUERY_TYPE_KANJI [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/exampledictionary.c:328:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_QUERY_DELIMITOR_PRIMARY_STRING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/edictionary.c:61:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_TYPE_EDICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/edictionary.c:80:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lw_edictionary_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/edictionary.c:115:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lw_edictionary_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/edictionary.c:138:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_LW_QUERY_TYPES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/edictionary.c:203:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_IO_MAX_FGETS_LINE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/edictionary.c:319:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_QUERY_TYPE_KANJI [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/edictionary.c:435:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/edictionary.c:469:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_QUERY_DELIMITOR_PRIMARY_STRING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/history.c:60:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_TYPE_HISTORY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/history.c:71:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LwHistoryPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/history.c:89:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lw_history_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/history.c:161:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_HISTORY_CLASS_SIGNALID_CHANGED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/history.c:245:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_HISTORY_CLASS_SIGNALID_CHANGED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/history.c:281:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_HISTORY_CLASS_SIGNALID_CHANGED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/history.c:366:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_HISTORY_CLASS_SIGNALID_ADDED [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/history.c:420:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_HISTORY_CLASS_SIGNALID_BACK [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/history.c:461:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_HISTORY_CLASS_SIGNALID_FORWARD [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/history.c:201:5: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/libwaei/history.c:97:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lw_history_set_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/libwaei/history.c:155:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/libwaei/history.c:97:40: note: Parameter 'pspec' can be declared as pointer to const gwaei-3.6.2/src/libwaei/history.c:100:16: style: Variable 'history' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/history.c:123:40: style: Parameter 'pspec' can be declared as pointer to const. However it seems that 'lw_history_get_property' is a callback function, if 'pspec' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/libwaei/history.c:156:34: note: You might need to cast the function pointer here gwaei-3.6.2/src/libwaei/history.c:123:40: note: Parameter 'pspec' can be declared as pointer to const gwaei-3.6.2/src/libwaei/history.c:126:16: style: Variable 'history' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/history.c:127:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/history.c:223:21: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/history.c:259:21: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/history.c:320:42: style: Parameter 'history' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/history.c:323:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/history.c:345:21: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/history.c:403:21: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/history.c:444:21: style: Variable 'klass' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/history.c:481:38: style: Parameter 'history' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/history.c:488:23: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/exampledictionary.c:326:9: style: Condition 'split_script_changes' is always true [knownConditionTrueFalse] gwaei-3.6.2/src/libwaei/exampledictionary.c:324:45: note: Assignment 'split_script_changes=split_whitespace=!0', assigned value is 1 gwaei-3.6.2/src/libwaei/exampledictionary.c:326:9: note: Condition 'split_script_changes' is always true gwaei-3.6.2/src/libwaei/exampledictionary.c:70:49: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/exampledictionary.c:170:35: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/exampledictionary.c:177:35: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/exampledictionary.c:249:45: style: Parameter 'dictionary' can be declared as pointer to const. However it seems that 'lw_exampledictionary_compare' is a callback function, if 'dictionary' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/libwaei/exampledictionary.c:120:33: note: You might need to cast the function pointer here gwaei-3.6.2/src/libwaei/exampledictionary.c:249:45: note: Parameter 'dictionary' can be declared as pointer to const gwaei-3.6.2/src/libwaei/exampledictionary.c:362:61: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/exampledictionary.c:362:82: style: Parameter 'query' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/kanjidictionary.c:60:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_TYPE_KANJIDICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/kanjidictionary.c:79:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lw_kanjidictionary_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/kanjidictionary.c:100:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lw_kanjidictionary_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/kanjidictionary.c:123:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_LW_QUERY_TYPES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/kanjidictionary.c:177:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_RE_TOTAL [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/kanjidictionary.c:334:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_QUERY_RANGE_TYPE_STROKES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/kanjidictionary.c:454:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_QUERY_DELIMITOR_PRIMARY_STRING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/edictionary.c:467:9: style: Condition 'split_script_changes' is always true [knownConditionTrueFalse] gwaei-3.6.2/src/libwaei/edictionary.c:465:45: note: Assignment 'split_script_changes=split_whitespace=!0', assigned value is 1 gwaei-3.6.2/src/libwaei/edictionary.c:467:9: note: Condition 'split_script_changes' is always true gwaei-3.6.2/src/libwaei/edictionary.c:70:37: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/edictionary.c:195:12: style: Variable 'nextnextnext' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/edictionary.c:300:39: style: Parameter 'dictionary' can be declared as pointer to const. However it seems that 'lw_edictionary_compare' is a callback function, if 'dictionary' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/libwaei/edictionary.c:135:33: note: You might need to cast the function pointer here gwaei-3.6.2/src/libwaei/edictionary.c:300:39: note: Parameter 'dictionary' can be declared as pointer to const gwaei-3.6.2/src/libwaei/edictionary.c:408:53: style: Parameter 'dictionary' can be declared as pointer to const. However it seems that 'lw_edictionary_installer_postprocess' is a callback function, if 'dictionary' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/libwaei/edictionary.c:136:47: note: You might need to cast the function pointer here gwaei-3.6.2/src/libwaei/edictionary.c:408:53: note: Parameter 'dictionary' can be declared as pointer to const gwaei-3.6.2/src/libwaei/edictionary.c:423:26: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/edictionary.c:424:26: style: Variable 'install' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/io.c:193:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/io.c:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_GLOBAL_ALL [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/io.c:376:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/io.c:442:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_IO_MAX_FGETS_LINE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/io.c:581:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_IO_MAX_FGETS_LINE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/io.c:729:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_FILE_TEST_IS_REGULAR [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/io.c:804:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_IO_ERROR [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/io.c:863:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_IO_ERROR [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/kanjidictionary.c:452:9: style: Condition 'split_script_changes' is always true [knownConditionTrueFalse] gwaei-3.6.2/src/libwaei/kanjidictionary.c:450:45: note: Assignment 'split_script_changes=split_whitespace=!0', assigned value is 1 gwaei-3.6.2/src/libwaei/kanjidictionary.c:452:9: note: Condition 'split_script_changes' is always true gwaei-3.6.2/src/libwaei/kanjidictionary.c:480:54: style: Condition '**tokeniter=='f'' is always false [knownConditionTrueFalse] gwaei-3.6.2/src/libwaei/kanjidictionary.c:480:39: style: Same expression on both sides of '||'. [duplicateExpression] gwaei-3.6.2/src/libwaei/kanjidictionary.c:69:45: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/kanjidictionary.c:422:57: style: Parameter 'dictionary' can be declared as pointer to const. However it seems that 'lw_kanjidictionary_installer_postprocess' is a callback function, if 'dictionary' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/libwaei/kanjidictionary.c:121:47: note: You might need to cast the function pointer here gwaei-3.6.2/src/libwaei/kanjidictionary.c:422:57: note: Parameter 'dictionary' can be declared as pointer to const gwaei-3.6.2/src/libwaei/morphology.c:63:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LwMorphology [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/morphology.c:110:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LwMorphologyEngine [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/morphology.c:229:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MECAB_NOR_NODE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/preferences.c:48:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LwPreferences [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/morphology.c:118:9: warning: Either the condition 'engine!=NULL' is redundant or there is possible null pointer dereference: engine. [nullPointerRedundantCheck] gwaei-3.6.2/src/libwaei/morphology.c:111:16: note: Assuming that condition 'engine!=NULL' is not redundant gwaei-3.6.2/src/libwaei/morphology.c:118:9: note: Null pointer dereference gwaei-3.6.2/src/libwaei/morphology.c:225:26: style: Variable 'word_class' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/io.c:729:5: warning: Assert statement calls a function which may have desired side effects: 'g_file_test'. [assertWithSideEffect] gwaei-3.6.2/src/libwaei/io.c:191:64: style: Condition 'target_bytes_left==MAX' is always true [knownConditionTrueFalse] gwaei-3.6.2/src/libwaei/io.c:187:17: note: Assuming that condition 'MAX!=target_bytes_left' is not redundant gwaei-3.6.2/src/libwaei/io.c:191:64: note: Condition 'target_bytes_left==MAX' is always true gwaei-3.6.2/src/libwaei/io.c:174:19: warning: If resource allocation fails, then there is a possible null pointer dereference: readfd [nullPointerOutOfResources] gwaei-3.6.2/src/libwaei/io.c:169:20: note: Assuming allocation function fails gwaei-3.6.2/src/libwaei/io.c:169:20: note: Assignment 'readfd=fopen(SOURCE_PATH,"rb")', assigned value is 0 gwaei-3.6.2/src/libwaei/io.c:174:19: note: Null pointer dereference gwaei-3.6.2/src/libwaei/io.c:181:46: warning: If resource allocation fails, then there is a possible null pointer dereference: writefd [nullPointerOutOfResources] gwaei-3.6.2/src/libwaei/io.c:170:21: note: Assuming allocation function fails gwaei-3.6.2/src/libwaei/io.c:170:21: note: Assignment 'writefd=fopen(TARGET_PATH,"wb")', assigned value is 0 gwaei-3.6.2/src/libwaei/io.c:181:46: note: Null pointer dereference gwaei-3.6.2/src/libwaei/io.c:336:12: warning: If resource allocation fails, then there is a possible null pointer dereference: outfile [nullPointerOutOfResources] gwaei-3.6.2/src/libwaei/io.c:313:20: note: Assuming allocation function fails gwaei-3.6.2/src/libwaei/io.c:313:20: note: Assignment 'outfile=fopen(TARGET_PATH,"wb")', assigned value is 0 gwaei-3.6.2/src/libwaei/io.c:336:12: note: Null pointer dereference gwaei-3.6.2/src/libwaei/io.c:415:31: warning: Either the condition 'error==NULL' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] gwaei-3.6.2/src/libwaei/io.c:415:19: note: Assuming that condition 'error==NULL' is not redundant gwaei-3.6.2/src/libwaei/io.c:415:31: note: Null pointer dereference gwaei-3.6.2/src/libwaei/io.c:465:53: warning: If resource allocation fails, then there is a possible null pointer dereference: kanji_file [nullPointerOutOfResources] gwaei-3.6.2/src/libwaei/io.c:453:24: note: Assuming allocation function fails gwaei-3.6.2/src/libwaei/io.c:453:24: note: Assignment 'kanji_file=fopen(KANJI_DICTIONARY_PATH,"r")', assigned value is 0 gwaei-3.6.2/src/libwaei/io.c:465:53: note: Null pointer dereference gwaei-3.6.2/src/libwaei/io.c:614:48: warning: If resource allocation fails, then there is a possible null pointer dereference: inputf [nullPointerOutOfResources] gwaei-3.6.2/src/libwaei/io.c:599:19: note: Assuming allocation function fails gwaei-3.6.2/src/libwaei/io.c:599:19: note: Assignment 'inputf=fopen(INPUT_NAMES_PLACES_PATH,"r")', assigned value is 0 gwaei-3.6.2/src/libwaei/io.c:614:48: note: Null pointer dereference gwaei-3.6.2/src/libwaei/io.c:745:12: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] gwaei-3.6.2/src/libwaei/io.c:738:17: note: Assuming allocation function fails gwaei-3.6.2/src/libwaei/io.c:738:17: note: Assignment 'file=fopen(URI,"rb")', assigned value is 0 gwaei-3.6.2/src/libwaei/io.c:745:12: note: Null pointer dereference gwaei-3.6.2/src/libwaei/io.c:802:16: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] gwaei-3.6.2/src/libwaei/io.c:782:17: note: Assuming allocation function fails gwaei-3.6.2/src/libwaei/io.c:782:17: note: Assignment 'file=fopen(in->uri,"rb")', assigned value is 0 gwaei-3.6.2/src/libwaei/io.c:802:16: note: Null pointer dereference gwaei-3.6.2/src/libwaei/io.c:856:54: warning: If resource allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfResources] gwaei-3.6.2/src/libwaei/io.c:848:20: note: Assuming allocation function fails gwaei-3.6.2/src/libwaei/io.c:848:20: note: Assignment 'stream=fdopen(out->fd,"rb")', assigned value is 0 gwaei-3.6.2/src/libwaei/io.c:854:11: note: Assuming condition is false gwaei-3.6.2/src/libwaei/io.c:856:54: note: Null pointer dereference gwaei-3.6.2/src/libwaei/io.c:876:12: warning: If resource allocation fails, then there is a possible null pointer dereference: file [nullPointerOutOfResources] gwaei-3.6.2/src/libwaei/io.c:847:17: note: Assuming allocation function fails gwaei-3.6.2/src/libwaei/io.c:847:17: note: Assignment 'file=fopen(out->uri,"wb")', assigned value is 0 gwaei-3.6.2/src/libwaei/io.c:876:12: note: Null pointer dereference gwaei-3.6.2/src/libwaei/io.c:897:29: warning: Either the condition 'error==NULL' is redundant or there is possible null pointer dereference: error. [nullPointerRedundantCheck] gwaei-3.6.2/src/libwaei/io.c:897:17: note: Assuming that condition 'error==NULL' is not redundant gwaei-3.6.2/src/libwaei/io.c:897:29: note: Null pointer dereference gwaei-3.6.2/src/libwaei/io.c:105:12: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/io.c:223:42: style: Parameter 'ptr' can be declared as pointer to const. However it seems that '_libcurl_write_func' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/libwaei/io.c:323:53: note: You might need to cast the function pointer here gwaei-3.6.2/src/libwaei/io.c:223:42: note: Parameter 'ptr' can be declared as pointer to const gwaei-3.6.2/src/libwaei/io.c:445:11: style: Variable 'radicals_ptr' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/io.c:445:26: style: Variable 'kanji_ptr' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/io.c:445:51: style: Variable 'temp_ptr' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/io.c:710:42: style: Parameter 'SOURCE_PATH' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/io.c:712:42: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/io.c:713:42: style: Parameter 'cancellable' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/range.c:58:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LwRange [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/io.c:166:14: style: Variable 'position' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/libwaei/io.c:695:31: style: Variable 'source' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/libwaei/io.c:778:11: style: Variable 'chunk' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/libwaei/io.c:796:13: style: Variable 'chunk' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/libwaei/io.c:846:12: style: Variable 'curpos' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/libwaei/io.c:857:14: style: Variable 'curpos' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/libwaei/range.c:118:36: style: Parameter 'range' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/range.c:75:12: style: Variable 'temp' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/libwaei/query.c:48:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LwQuery [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/query.c:78:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_LW_QUERY_TYPES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/query.c:119:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_LW_QUERY_TYPES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/query.c:142:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_LW_QUERY_RANGE_TYPES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/query.c:267:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_QUERY_TYPE_KANJI [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/query.c:322:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_QUERY_FLAG_HIRAGANA_TO_KATAKANA [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/query.c:397:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_QUERY_FLAG_ROMAJI_TO_FURIGANA [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/regex.c:60:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_RE_TOTAL [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/regex.c:106:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_RE_TOTAL [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/result.c:50:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LwResult [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/result.c:102:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_RELEVANCE_UNSET [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/result.c:92:29: style: Parameter 'result' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/result.c:127:33: style: Parameter 'result1' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/result.c:127:52: style: Parameter 'result2' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/query.c:177:29: style: Parameter 'query' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/query.c:184:30: style: Parameter 'query' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/query.c:254:61: style: Parameter 'query' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/query.c:302:64: style: Parameter 'query' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/query.c:376:62: style: Parameter 'query' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/query.c:265:12: style: Unused variable: temp [unusedVariable] gwaei-3.6.2/src/libwaei/unknowndictionary.c:61:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_TYPE_UNKNOWNDICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/unknowndictionary.c:80:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lw_unknowndictionary_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/unknowndictionary.c:96:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lw_unknowndictionary_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/unknowndictionary.c:118:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_LW_QUERY_TYPES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/unknowndictionary.c:159:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_IO_MAX_FGETS_LINE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/unknowndictionary.c:210:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_QUERY_TYPE_KANJI [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/unknowndictionary.c:271:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_QUERY_DELIMITOR_PRIMARY_STRING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LwSearch [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:110:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SEARCHSTATUS_IDLE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:151:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_LW_RELEVANCE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:188:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_IO_MAX_FGETS_LINE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:228:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SEARCHSTATUS_FINISHING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:373:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SEARCHSTATUS_SEARCHING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:416:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SEARCHSTATUS_SEARCHING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:440:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_RELEVANCE_HIGH [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:470:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SEARCH_FLAG_EXACT [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:559:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SEARCHSTATUS_CANCELING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:592:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SEARCHSTATUS_SEARCHING [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:632:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_RELEVANCE_HIGH [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:660:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_LW_RELEVANCE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:675:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_RELEVANCE_HIGH [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:690:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_RELEVANCE_LOW [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/search.c:743:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_QUERY_FLAG_DELIMIT_WHITESPACE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/unknowndictionary.c:269:9: style: Condition 'split_script_changes' is always true [knownConditionTrueFalse] gwaei-3.6.2/src/libwaei/unknowndictionary.c:267:45: note: Assignment 'split_script_changes=split_whitespace=!0', assigned value is 1 gwaei-3.6.2/src/libwaei/unknowndictionary.c:269:9: note: Condition 'split_script_changes' is always true gwaei-3.6.2/src/libwaei/unknowndictionary.c:70:49: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/unknowndictionary.c:152:12: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/unknowndictionary.c:192:45: style: Parameter 'dictionary' can be declared as pointer to const. However it seems that 'lw_unknowndictionary_compare' is a callback function, if 'dictionary' is declared with const you might also need to cast function pointer(s). [constParameterCallback] gwaei-3.6.2/src/libwaei/unknowndictionary.c:116:33: note: You might need to cast the function pointer here gwaei-3.6.2/src/libwaei/unknowndictionary.c:192:45: note: Parameter 'dictionary' can be declared as pointer to const gwaei-3.6.2/src/libwaei/unknowndictionary.c:305:61: style: Parameter 'dictionary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/unknowndictionary.c:305:82: style: Parameter 'query' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/search.c:373:16: style: Condition 'search!=NULL' is always true [knownConditionTrueFalse] gwaei-3.6.2/src/libwaei/search.c:492:60: style: Condition 'exact' is always true [knownConditionTrueFalse] gwaei-3.6.2/src/libwaei/search.c:239:31: style: Parameter 'item1' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/search.c:239:48: style: Parameter 'item2' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/search.c:293:31: style: Parameter 'search' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/search.c:328:31: style: Parameter 'search' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/search.c:713:32: style: Parameter 'search' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/search.c:369:13: style: Variable 'current' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/libwaei/search.c:370:12: style: Variable 'length' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/libwaei/vocabulary.c:91:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LwVocabulary [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/vocabulary.c:123:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_PATH_VOCABULARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/vocabulary.c:167:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_PATH_VOCABULARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/word.c:39:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_WORD_FIELD_KANJI [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/word.c:45:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_WORD_FIELD_KANJI [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/word.c:53:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_WORD_FIELD_FURIGANA [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/word.c:59:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_WORD_FIELD_FURIGANA [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/word.c:67:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_WORD_FIELD_DEFINITIONS [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/word.c:73:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_WORD_FIELD_DEFINITIONS [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/word.c:87:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_WORD_FIELD_CORRECT_GUESSES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/word.c:103:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_WORD_FIELD_INCORRECT_GUESSES [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/word.c:168:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_WORD_FIELD_TIMESTAMP [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/word.c:207:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LwWord [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/word.c:223:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LwWord [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/word.c:259:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_LW_WORD_FIELDS [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/word.c:279:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_LW_WORD_FIELDS [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/vocabulary.c:61:11: error: Return value of allocation function 'g_dir_rewind' is not stored. [leakReturnValNotUsed] gwaei-3.6.2/src/libwaei/word.c:231:26: style: Array index 'i' is used before limits check. [arrayIndexThenCheck] gwaei-3.6.2/src/libwaei/vocabulary.c:158:13: style: Variable 'word' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/vocabulary.c:206:39: style: Parameter 'vocabulary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/vocabulary.c:212:40: style: Parameter 'vocabulary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/vocabulary.c:224:38: style: Parameter 'vocabulary' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/word.c:190:22: style: Checking if unsigned expression 'difference' is less than zero. [unsignedLessThanZero] gwaei-3.6.2/src/libwaei/word.c:79:38: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/word.c:95:40: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/word.c:112:28: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/word.c:176:28: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/libwaei/word.c:218:12: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/waei/console-callbacks.c:93:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/console-callbacks.c:119:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SEARCHSTATUS_IDLE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/application.c:68:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WApplicationPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/application.c:77:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w_application_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/application.c:102:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w_application_parent_class [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/application.c:116:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WApplicationPrivate [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/application.c:159:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_NONE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/application.c:196:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/application.c:228:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TOTAL_LW_PATHS [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:196:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_UNICODE_SCRIPT_COMMON [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:230:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_UNICODE_SCRIPT_COMMON [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:282:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_UNICODE_SCRIPT_COMMON [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:315:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_UNICODE_SCRIPT_COMMON [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:349:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_UNICODE_SCRIPT_COMMON [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:1018:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_NORMALIZE_NFC [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:1105:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_NORMALIZE_ALL [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:1182:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_UNICODE_SCRIPT_LATIN [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:1247:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_UNICODE_SCRIPT_KATAKANA [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:1434:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_UNICODE_SCRIPT_INVALID_CODE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:1465:0: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_UNICODE_SCRIPT_INVALID_CODE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:1587:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_UNICODE_SCRIPT_INVALID_CODE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:1643:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_REGEX_CASELESS [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/application.c:116:3: style: g_type_class_add_private has been deprecated since version 2.58 and should not be used in newly-written code. Use the G_ADD_PRIVATE() macro with the G_DEFINE_* family of macros to add instance private data to a type. [prohibitedg_type_class_add_privateCalled] gwaei-3.6.2/src/waei/application.c:184:1: error: Memory leak: description_text [memleak] gwaei-3.6.2/src/waei/application.c:216:47: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/waei/application.c:237:46: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/waei/application.c:352:47: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/waei/application.c:354:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/waei/application.c:361:47: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/waei/application.c:363:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/waei/application.c:370:46: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/waei/application.c:372:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/waei/application.c:379:49: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/waei/application.c:381:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/waei/application.c:388:47: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/waei/application.c:390:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/waei/application.c:397:57: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/waei/application.c:399:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/waei/application.c:406:54: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/waei/application.c:408:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/waei/application.c:415:56: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/waei/application.c:417:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/waei/application.c:424:50: style: Parameter 'application' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/waei/application.c:426:24: style: Variable 'priv' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/waei/console-output.c:62:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_TYPE_EDICTIONARY [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/console-output.c:294:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SEARCHSTATUS_IDLE [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/console.c:70:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w_console_uninstall_progress_cb [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/console.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable w_console_update_progress_cb [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/console.c:148:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/console.c:263:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/console.c:305:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LW_SEARCH_FLAG_EXACT [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/console-output.c:306:5: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] gwaei-3.6.2/src/waei/console-output.c:308:5: note: Found duplicate branches for 'if' and 'else'. gwaei-3.6.2/src/waei/console-output.c:306:5: note: Found duplicate branches for 'if' and 'else'. gwaei-3.6.2/src/waei/console-output.c:290:59: style: Parameter 'search' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/waei/console.c:305:37: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] gwaei-3.6.2/src/waei/console.c:146:32: style: Parameter 'app' can be declared as pointer to const [constParameterPointer] gwaei-3.6.2/src/waei/console.c:289:11: style: Variable 'message_total' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/waei/console.c:290:11: style: Variable 'message_relevant' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/waei/console.c:218:7: style: Variable 'j' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/waei/console.c:306:16: style: Variable 'resolution' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/waei/search-data.c:47:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WSearchData [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/waei/waei.c:50:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] gwaei-3.6.2/src/libwaei/utilities.c:945:20: style: Condition 'kana_ptr==NULL' is always false [knownConditionTrueFalse] gwaei-3.6.2/src/libwaei/utilities.c:1329:14: style: Condition 'text!=NULL' is always true [knownConditionTrueFalse] gwaei-3.6.2/src/libwaei/utilities.c:1166:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] gwaei-3.6.2/src/libwaei/utilities.c:1165:28: note: Assuming allocation function fails gwaei-3.6.2/src/libwaei/utilities.c:1165:14: note: Assignment 'buffer=(char*)malloc(sizeof(char)*(strlen(string)*2)+1)', assigned value is 0 gwaei-3.6.2/src/libwaei/utilities.c:1166:5: note: Null pointer dereference gwaei-3.6.2/src/libwaei/utilities.c:1237:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buffer [nullPointerOutOfMemory] gwaei-3.6.2/src/libwaei/utilities.c:1236:28: note: Assuming allocation function fails gwaei-3.6.2/src/libwaei/utilities.c:1236:14: note: Assignment 'buffer=(char*)malloc(sizeof(char)*(strlen(string)*2)+1)', assigned value is 0 gwaei-3.6.2/src/libwaei/utilities.c:1237:5: note: Null pointer dereference gwaei-3.6.2/src/libwaei/utilities.c:1343:19: style: Variable 'src_ptr' can be declared as pointer to const [constVariablePointer] gwaei-3.6.2/src/libwaei/utilities.c:390:17: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/libwaei/utilities.c:1096:9: style: Variable 'ucp' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/libwaei/utilities.c:1465:17: style: Variable 'this_script' is assigned a value that is never used. [unreadVariable] gwaei-3.6.2/src/libwaei/utilities.c:1485:16: style: Variable 'this_script' is assigned a value that is never used. [unreadVariable] diff: head gwaei-3.6.2/src/gwaei/application-callbacks.c:195:21: warning: Either the condition '(logo=gdk_pixbuf_new_from_file(path,NULL))==NULL' is redundant or there is possible null pointer dereference: logo. [nullPointerRedundantCheck] gwaei-3.6.2/src/gwaei/application-callbacks.c:162:57: note: Assuming that condition '(logo=gdk_pixbuf_new_from_file(path,NULL))==NULL' is not redundant gwaei-3.6.2/src/gwaei/application-callbacks.c:195:21: note: Null pointer dereference 2.17.0 gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:81:33: warning: If memory allocation fails, then there is a possible null pointer dereference: message [nullPointerOutOfMemory] gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:72:28: note: Assuming allocation function fails gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:72:28: note: Assignment 'message=g_string_new(NULL)', assigned value is 0 gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:81:33: note: Null pointer dereference 2.17.0 gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:83:24: warning: If memory allocation fails, then there is a possible null pointer dereference: message [nullPointerOutOfMemory] gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:72:28: note: Assuming allocation function fails gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:72:28: note: Assignment 'message=g_string_new(NULL)', assigned value is 0 gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:83:24: note: Null pointer dereference 2.17.0 gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:85:22: warning: If memory allocation fails, then there is a possible null pointer dereference: message [nullPointerOutOfMemory] gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:72:28: note: Assuming allocation function fails gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:72:28: note: Assignment 'message=g_string_new(NULL)', assigned value is 0 gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:85:22: note: Null pointer dereference 2.17.0 gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:87:52: warning: If memory allocation fails, then there is a possible null pointer dereference: message [nullPointerOutOfMemory] gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:72:28: note: Assuming allocation function fails gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:72:28: note: Assignment 'message=g_string_new(NULL)', assigned value is 0 gwaei-3.6.2/src/gwaei/kanjipadwindow-callbacks.c:87:52: note: Null pointer dereference head gwaei-3.6.2/src/gwaei/searchwindow.c:660:80: warning: Either the condition 'position_string!=NULL' is redundant or there is possible null pointer dereference: position_string. [nullPointerRedundantCheck] gwaei-3.6.2/src/gwaei/searchwindow.c:666:25: note: Assuming that condition 'position_string!=NULL' is not redundant gwaei-3.6.2/src/gwaei/searchwindow.c:660:80: note: Null pointer dereference head gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:195:21: warning: Either the condition 'pref_key!=NULL' is redundant or there is possible null pointer dereference: pref_key. [nullPointerRedundantCheck] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:204:18: note: Assuming that condition 'pref_key!=NULL' is not redundant gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:195:21: note: Null pointer dereference 2.17.0 gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:195:21: warning: If memory allocation fails, then there is a possible null pointer dereference: pref_key [nullPointerOutOfMemory] gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:194:32: note: Assuming allocation function fails gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:194:32: note: Assignment 'pref_key=g_strdup_printf("%s",gtk_buildable_get_name(GTK_BUILDABLE(widget)))', assigned value is 0 gwaei-3.6.2/src/gwaei/settingswindow-callbacks.c:195:21: note: Null pointer dereference 2.17.0 gwaei-3.6.2/src/gwaei/spellcheck.c:125:18: warning: If memory allocation fails, then there is a possible null pointer dereference: locale [nullPointerOutOfMemory] gwaei-3.6.2/src/gwaei/spellcheck.c:122:23: note: Assuming allocation function fails gwaei-3.6.2/src/gwaei/spellcheck.c:122:23: note: Assignment 'locale=g_strdup(NAME)', assigned value is 0 gwaei-3.6.2/src/gwaei/spellcheck.c:125:18: note: Null pointer dereference 2.17.0 gwaei-3.6.2/src/gwaei/spellcheck.c:147:30: warning: If memory allocation fails, then there is a possible null pointer dereference: locale [nullPointerOutOfMemory] gwaei-3.6.2/src/gwaei/spellcheck.c:146:35: note: Assuming allocation function fails gwaei-3.6.2/src/gwaei/spellcheck.c:146:35: note: Assignment 'locale=g_strdup(FILENAME)', assigned value is 0 gwaei-3.6.2/src/gwaei/spellcheck.c:147:30: note: Null pointer dereference 2.17.0 gwaei-3.6.2/src/gwaei/spellcheck.c:720:35: warning: If memory allocation fails, then there is a possible null pointer dereference: iter [nullPointerOutOfMemory] gwaei-3.6.2/src/gwaei/spellcheck.c:718:34: note: Assuming allocation function fails gwaei-3.6.2/src/gwaei/spellcheck.c:718:34: note: Assignment 'priv->tolkens=g_strsplit(query," ",-1)', assigned value is 0 gwaei-3.6.2/src/gwaei/spellcheck.c:720:23: note: Assignment 'iter=priv->tolkens', assigned value is 0 gwaei-3.6.2/src/gwaei/spellcheck.c:720:35: note: Null pointer dereference head gwaei-3.6.2/src/gwaei/vocabularyliststore.c:404:15: style: Condition 'atoms!=NULL' is always true [knownConditionTrueFalse] head gwaei-3.6.2/src/gwaei/vocabularyliststore.c:461:15: style: Condition 'atoms!=NULL' is always true [knownConditionTrueFalse] head gwaei-3.6.2/src/gwaei/vocabularyliststore.c:605:79: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] 2.17.0 gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:108:48: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:94:27: note: Assuming allocation function fails gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:94:27: note: Assignment 'text=g_string_new("")', assigned value is 0 gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:108:48: note: Null pointer dereference 2.17.0 gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:247:31: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:245:27: note: Assuming allocation function fails gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:245:27: note: Assignment 'text=g_string_new("")', assigned value is 0 gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:247:31: note: Null pointer dereference 2.17.0 gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:248:48: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:245:27: note: Assuming allocation function fails gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:245:27: note: Assignment 'text=g_string_new("")', assigned value is 0 gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:248:48: note: Null pointer dereference 2.17.0 gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:96:31: warning: If memory allocation fails, then there is a possible null pointer dereference: text [nullPointerOutOfMemory] gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:94:27: note: Assuming allocation function fails gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:94:27: note: Assignment 'text=g_string_new("")', assigned value is 0 gwaei-3.6.2/src/gwaei/vocabularywindow-callbacks.c:96:31: note: Null pointer dereference head gwaei-3.6.2/src/gwaei/vocabularywordstore.c:416:12: style: Variable 'filename' can be declared as pointer to const [constVariablePointer] head gwaei-3.6.2/src/gwaei/vocabularywordstore.c:520:79: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] 2.17.0 gwaei-3.6.2/src/kpengine/kpengine.c:53:21: warning: If memory allocation fails, then there is a possible null pointer dereference: fname [nullPointerOutOfMemory] gwaei-3.6.2/src/kpengine/kpengine.c:52:38: note: Assuming allocation function fails gwaei-3.6.2/src/kpengine/kpengine.c:52:38: note: Assignment 'fname=g_build_filename(dir,"jdata.dat",NULL)', assigned value is 0 gwaei-3.6.2/src/kpengine/kpengine.c:53:21: note: Null pointer dereference head gwaei-3.6.2/src/libwaei/dictionary-installer.c:882:38: warning: Possible null pointer dereference: list [nullPointer] gwaei-3.6.2/src/libwaei/dictionary-installer.c:878:16: note: Assignment 'list=NULL', assigned value is 0 gwaei-3.6.2/src/libwaei/dictionary-installer.c:882:38: note: Null pointer dereference head gwaei-3.6.2/src/libwaei/io.c:729:5: warning: Assert statement calls a function which may have desired side effects: 'g_file_test'. [assertWithSideEffect] head gwaei-3.6.2/src/libwaei/morphology.c:225:26: style: Variable 'word_class' can be declared as pointer to const [constVariablePointer] DONE