Error: COMPILER_WARNING: [#def1] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/api.c: scope_hint: In function 'enchant_get_version' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/api.c:73:1: warning[-Wsuggest-attribute=const]: function might be candidate for attribute 'const' # 73 | enchant_get_version (void) # | ^~~~~~~~~~~~~~~~~~~ # 71| # 72| const gchar* # 73|-> enchant_get_version (void) # 74| { # 75| const gchar* result; Error: COMPILER_WARNING: [#def2] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/api.c: scope_hint: In function 'enchant_get_user_language' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/api.c:84:1: warning[-Wsuggest-attribute=malloc]: function might be candidate for attribute 'malloc' # 84 | enchant_get_user_language (void) # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 82| # 83| gchar* # 84|-> enchant_get_user_language (void) # 85| { # 86| gchar** languages = NULL; Error: COMPILER_WARNING (CWE-563): [#def3] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/api.c:90:14: warning[-Wunused-but-set-variable]: variable '_languages_size_' set but not used # 90 | gint _languages_size_; # | ^~~~~~~~~~~~~~~~ # 88| gchar** _tmp1_; # 89| gint languages_length1; # 90|-> gint _languages_size_; # 91| const gchar* _tmp2_ = NULL; # 92| gchar** _tmp3_; Error: COMPILER_WARNING (CWE-563): [#def4] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/api.c:93:14: warning[-Wunused-but-set-variable]: variable '_tmp3__length1' set but not used # 93 | gint _tmp3__length1; # | ^~~~~~~~~~~~~~ # 91| const gchar* _tmp2_ = NULL; # 92| gchar** _tmp3_; # 93|-> gint _tmp3__length1; # 94| const gchar* _tmp4_; # 95| gchar* _tmp7_; Error: COMPILER_WARNING (CWE-563): [#def5] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/api.c:118:22: warning[-Wunused-but-set-variable]: variable '_tmp5__length1' set but not used # 118 | gint _tmp5__length1; # | ^~~~~~~~~~~~~~ # 116| } else { # 117| gchar** _tmp5_; # 118|-> gint _tmp5__length1; # 119| const gchar* _tmp6_; # 120| #line 44 "api.vala" Error: COMPILER_WARNING (CWE-1164): [#def6] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:64:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_PROVIDER" is not used # 64 | #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ()) # | ^~~~~~~~~~~~~~~~~~~~~ # 62| #define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL))) # 63| # 64|-> #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ()) # 65| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 66| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) Error: COMPILER_WARNING (CWE-1164): [#def7] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:65:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER" is not used # 65 | #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # | ^~~~~~~~~~~~~~~~ # 63| # 64| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ()) # 65|-> #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 66| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 67| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) Error: COMPILER_WARNING (CWE-1164): [#def8] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:66:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER_CLASS" is not used # 66 | #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # | ^~~~~~~~~~~~~~~~~~~~~~ # 64| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ()) # 65| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 66|-> #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 67| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 68| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) Error: COMPILER_WARNING (CWE-1164): [#def9] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:67:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER" is not used # 67 | #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # | ^~~~~~~~~~~~~~~~~~~ # 65| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 66| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 67|-> #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 68| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # 69| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) Error: COMPILER_WARNING (CWE-1164): [#def10] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:68:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER_CLASS" is not used # 68 | #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 66| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 67| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 68|-> #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # 69| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 70| Error: COMPILER_WARNING (CWE-1164): [#def11] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:69:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER_GET_CLASS" is not used # 69 | #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~~ # 67| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 68| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # 69|-> #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 70| # 71| typedef struct _EnchantProvider EnchantProvider; Error: COMPILER_WARNING (CWE-1164): [#def12] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:77:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_DICT" is not used # 77 | #define TYPE_ENCHANT_DICT (enchant_dict_get_type ()) # | ^~~~~~~~~~~~~~~~~ # 75| typedef struct _EnchantBroker EnchantBroker; # 76| # 77|-> #define TYPE_ENCHANT_DICT (enchant_dict_get_type ()) # 78| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 79| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) Error: COMPILER_WARNING (CWE-1164): [#def13] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:78:9: warning[-Wunused-macros]: macro "ENCHANT_DICT" is not used # 78 | #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # | ^~~~~~~~~~~~ # 76| # 77| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ()) # 78|-> #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 79| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 80| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) Error: COMPILER_WARNING (CWE-1164): [#def14] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:79:9: warning[-Wunused-macros]: macro "ENCHANT_DICT_CLASS" is not used # 79 | #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # | ^~~~~~~~~~~~~~~~~~ # 77| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ()) # 78| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 79|-> #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 80| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 81| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) Error: COMPILER_WARNING (CWE-1164): [#def15] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:80:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT" is not used # 80 | #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # | ^~~~~~~~~~~~~~~ # 78| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 79| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 80|-> #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 81| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # 82| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass)) Error: COMPILER_WARNING (CWE-1164): [#def16] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:81:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT_CLASS" is not used # 81 | #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # | ^~~~~~~~~~~~~~~~~~~~~ # 79| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 80| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 81|-> #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # 82| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass)) # 83| Error: COMPILER_WARNING (CWE-1164): [#def17] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:82:9: warning[-Wunused-macros]: macro "ENCHANT_DICT_GET_CLASS" is not used # 82 | #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass)) # | ^~~~~~~~~~~~~~~~~~~~~~ # 80| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 81| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # 82|-> #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass)) # 83| # 84| typedef struct _EnchantDict EnchantDict; Error: COMPILER_WARNING (CWE-1164): [#def18] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:101:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_SESSION" is not used # 101 | #define TYPE_ENCHANT_SESSION (enchant_session_get_type ()) # | ^~~~~~~~~~~~~~~~~~~~ # 99| #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) # 100| # 101|-> #define TYPE_ENCHANT_SESSION (enchant_session_get_type ()) # 102| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 103| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) Error: COMPILER_WARNING (CWE-1164): [#def19] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:102:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION" is not used # 102 | #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # | ^~~~~~~~~~~~~~~ # 100| # 101| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ()) # 102|-> #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 103| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 104| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) Error: COMPILER_WARNING (CWE-1164): [#def20] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:103:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION_CLASS" is not used # 103 | #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # | ^~~~~~~~~~~~~~~~~~~~~ # 101| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ()) # 102| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 103|-> #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 104| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 105| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) Error: COMPILER_WARNING (CWE-1164): [#def21] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:104:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION" is not used # 104 | #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # | ^~~~~~~~~~~~~~~~~~ # 102| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 103| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 104|-> #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 105| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # 106| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass)) Error: COMPILER_WARNING (CWE-1164): [#def22] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:105:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION_CLASS" is not used # 105 | #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 103| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 104| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 105|-> #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # 106| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 107| Error: COMPILER_WARNING (CWE-1164): [#def23] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:106:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION_GET_CLASS" is not used # 106 | #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 104| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 105| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # 106|-> #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 107| # 108| typedef struct _EnchantSession EnchantSession; Error: COMPILER_WARNING (CWE-1164): [#def24] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:113:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_PWL" is not used # 113 | #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ()) # | ^~~~~~~~~~~~~~~~ # 111| typedef struct _EnchantSessionPrivate EnchantSessionPrivate; # 112| # 113|-> #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ()) # 114| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 115| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) Error: COMPILER_WARNING (CWE-1164): [#def25] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c: scope_hint: At top level enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:114:9: warning[-Wunused-macros]: macro "ENCHANT_PWL" is not used # 114 | #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # | ^~~~~~~~~~~ # 112| # 113| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ()) # 114|-> #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 115| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 116| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) Error: COMPILER_WARNING (CWE-1164): [#def26] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:115:9: warning[-Wunused-macros]: macro "ENCHANT_PWL_CLASS" is not used # 115 | #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # | ^~~~~~~~~~~~~~~~~ # 113| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ()) # 114| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 115|-> #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 116| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 117| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) Error: COMPILER_WARNING (CWE-1164): [#def27] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:116:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL" is not used # 116 | #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # | ^~~~~~~~~~~~~~ # 114| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 115| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 116|-> #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 117| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # 118| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass)) Error: COMPILER_WARNING (CWE-1164): [#def28] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:117:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL_CLASS" is not used # 117 | #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # | ^~~~~~~~~~~~~~~~~~~~ # 115| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 116| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 117|-> #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # 118| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 119| Error: COMPILER_WARNING (CWE-1164): [#def29] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:118:9: warning[-Wunused-macros]: macro "ENCHANT_PWL_GET_CLASS" is not used # 118 | #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass)) # | ^~~~~~~~~~~~~~~~~~~~~ # 116| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 117| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # 118|-> #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 119| # 120| typedef struct _EnchantPWL EnchantPWL; Error: COMPILER_WARNING (CWE-1164): [#def30] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:130:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_COMPOSITE_DICT" is not used # 130 | #define TYPE_ENCHANT_COMPOSITE_DICT (enchant_composite_dict_get_type ()) # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # 128| typedef gint (*DictIsWordCharacter) (EnchantDict* me, guint32 uc_in, size_t n); # 129| # 130|-> #define TYPE_ENCHANT_COMPOSITE_DICT (enchant_composite_dict_get_type ()) # 131| #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict)) # 132| #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) Error: COMPILER_WARNING (CWE-1164): [#def31] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:131:9: warning[-Wunused-macros]: macro "ENCHANT_COMPOSITE_DICT" is not used # 131 | #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict)) # | ^~~~~~~~~~~~~~~~~~~~~~ # 129| # 130| #define TYPE_ENCHANT_COMPOSITE_DICT (enchant_composite_dict_get_type ()) # 131|-> #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict)) # 132| #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) # 133| #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT)) Error: COMPILER_WARNING (CWE-1164): [#def32] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:132:9: warning[-Wunused-macros]: macro "ENCHANT_COMPOSITE_DICT_CLASS" is not used # 132 | #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 130| #define TYPE_ENCHANT_COMPOSITE_DICT (enchant_composite_dict_get_type ()) # 131| #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict)) # 132|-> #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) # 133| #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT)) # 134| #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT)) Error: COMPILER_WARNING (CWE-1164): [#def33] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:133:9: warning[-Wunused-macros]: macro "IS_ENCHANT_COMPOSITE_DICT" is not used # 133 | #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 131| #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict)) # 132| #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) # 133|-> #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT)) # 134| #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT)) # 135| #define ENCHANT_COMPOSITE_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) Error: COMPILER_WARNING (CWE-1164): [#def34] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:134:9: warning[-Wunused-macros]: macro "IS_ENCHANT_COMPOSITE_DICT_CLASS" is not used # 134 | #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 132| #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) # 133| #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT)) # 134|-> #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT)) # 135| #define ENCHANT_COMPOSITE_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) # 136| Error: COMPILER_WARNING (CWE-1164): [#def35] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:135:9: warning[-Wunused-macros]: macro "ENCHANT_COMPOSITE_DICT_GET_CLASS" is not used # 135 | #define ENCHANT_COMPOSITE_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 133| #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT)) # 134| #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT)) # 135|-> #define ENCHANT_COMPOSITE_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) # 136| # 137| typedef struct _EnchantCompositeDict EnchantCompositeDict; Error: COMPILER_WARNING (CWE-1164): [#def36] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:145:9: warning[-Wunused-macros]: macro "_vala_warn_if_fail" is not used # 145 | #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); # | ^~~~~~~~~~~~~~~~~~ # 143| #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; } # 144| #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; } # 145|-> #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); # 146| # 147| struct _EnchantBroker { Error: COMPILER_WARNING: [#def37] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c: scope_hint: In function 'normalize_dictionary_tag' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:571:1: warning[-Wsuggest-attribute=malloc]: function might be candidate for attribute 'malloc' # 571 | normalize_dictionary_tag (const gchar* dict_tag) # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 569| # 570| gchar* # 571|-> normalize_dictionary_tag (const gchar* dict_tag) # 572| { # 573| gchar* new_tag = NULL; Error: COMPILER_WARNING (CWE-563): [#def38] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c: scope_hint: In function 'normalize_dictionary_tag' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:639:38: warning[-Wunused-but-set-variable]: variable '_tmp9_' set but not used # 639 | gint _tmp9_; # | ^~~~~~ # 637| if (!_tmp8_) { # 638| #line 639 "broker.c" # 639|-> gint _tmp9_; # 640| #line 45 "broker.vala" # 641| i = i + 1; Error: COMPILER_WARNING (CWE-563): [#def39] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:724:30: warning[-Wunused-but-set-variable]: variable '_tmp22_' set but not used # 724 | gint _tmp22_; # | ^~~~~~~ # 722| #line 723 "broker.c" # 723| { # 724|-> gint _tmp22_; # 725| gboolean _tmp23_ = FALSE; # 726| #line 55 "broker.vala" Error: COMPILER_WARNING (CWE-563): [#def40] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:741:46: warning[-Wunused-but-set-variable]: variable '_tmp24_' set but not used # 741 | gint _tmp24_; # | ^~~~~~~ # 739| if (!_tmp23_) { # 740| #line 741 "broker.c" # 741|-> gint _tmp24_; # 742| #line 55 "broker.vala" # 743| i = i + 1; Error: COMPILER_WARNING: [#def41] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c: scope_hint: In function 'iso_639_from_tag' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:813:1: warning[-Wsuggest-attribute=malloc]: function might be candidate for attribute 'malloc' # 813 | iso_639_from_tag (const gchar* dict_tag) # | ^~~~~~~~~~~~~~~~ # 811| # 812| gchar* # 813|-> iso_639_from_tag (const gchar* dict_tag) # 814| { # 815| gchar* _tmp0_; Error: COMPILER_WARNING (CWE-563): [#def42] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:1894:22: warning[-Wunused-but-set-variable]: variable '_tokens_size_' set but not used # 1894 | gchar** _tmp10_; # | ^~~~~~~~~~~ # 1892| const gchar* _tmp8_; # 1893| gchar** _tmp9_; # 1894|-> gchar** _tmp10_; # 1895| gint tokens_length1; # 1896| gint _tokens_size_; Error: COMPILER_WARNING (CWE-563): [#def43] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c: scope_hint: In function 'enchant_broker_get_ordered_providers' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:1915:30: warning[-Wunused-variable]: unused variable '_token_collection_size_' # 1915 | gchar** token_collection = NULL; # | ^~~~~~~~~~~~~~~~~~~~~~~ # 1913| #line 1912 "broker.c" # 1914| { # 1915|-> gchar** token_collection = NULL; # 1916| gint token_collection_length1 = 0; # 1917| gint _token_collection_size_ = 0; Error: COMPILER_WARNING (CWE-843): [#def44] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c: scope_hint: In function '_composite_dict_suggest_dict_suggest' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:2266:50: warning[-Wincompatible-pointer-types]: passing argument 4 of 'composite_dict_suggest' from incompatible pointer type enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:352:39: note: expected 'gint *' {aka 'int *'} but argument is of type 'size_t *' {aka 'long unsigned int *'} # 2264| size_t len, # 2265| size_t* result_length1) # 2266|-> { # 2267| gchar** result; # 2268| result = composite_dict_suggest (me, word, len, result_length1); Error: COMPILER_WARNING (CWE-563): [#def45] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:2303:14: warning[-Wunused-but-set-variable]: variable '_tags_size_' set but not used # 2303 | gchar** _tmp3_; # | ^~~~~~~~~~ # 2301| gchar** tags = NULL; # 2302| gchar** _tmp2_; # 2303|-> gchar** _tmp3_; # 2304| gint tags_length1; # 2305| gint _tags_size_; Error: COMPILER_WARNING (CWE-563): [#def46] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:2324:14: warning[-Wunused-but-set-variable]: variable '_tmp34__length1' set but not used # 2324 | EnchantDict* _tmp33_; # | ^~~~~~~~~~~~~~~ # 2322| EnchantDict* _tmp31_; # 2323| EnchantDict* _tmp32_; # 2324|-> EnchantDict* _tmp33_; # 2325| gchar** _tmp34_; # 2326| gint _tmp34__length1; Error: COMPILER_WARNING (CWE-563): [#def47] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c: scope_hint: In function 'enchant_broker_request_dict_with_pwl' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:2355:22: warning[-Wunused-variable]: unused variable '_tag_collection_size_' # 2355 | gchar** tag_collection = NULL; # | ^~~~~~~~~~~~~~~~~~~~~ # 2353| #line 2352 "broker.c" # 2354| { # 2355|-> gchar** tag_collection = NULL; # 2356| gint tag_collection_length1 = 0; # 2357| gint _tag_collection_size_ = 0; Error: COMPILER_WARNING (CWE-563): [#def48] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:2403:22: warning[-Wunused-variable]: unused variable '_tag_collection_size_' # 2403 | gchar** tag_collection = NULL; # | ^~~~~~~~~~~~~~~~~~~~~ # 2401| #line 2400 "broker.c" # 2402| { # 2403|-> gchar** tag_collection = NULL; # 2404| gint tag_collection_length1 = 0; # 2405| gint _tag_collection_size_ = 0; Error: COMPILER_WARNING (CWE-694): [#def49] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:2420:46: warning[-Wshadow]: declaration of 'dict' shadows a previous local # 2420 | const gchar* _tmp9_; # | ^~~~ enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:2314:22: note: shadowed declaration is here # 2314 | EnchantCompositeDict* _tmp24_; # | ^~~~ # 2418| { # 2419| gchar* normalized_tag = NULL; # 2420|-> const gchar* _tmp9_; # 2421| gchar* _tmp10_; # 2422| EnchantDict* dict = NULL; Error: COMPILER_WARNING (CWE-563): [#def50] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c: scope_hint: In function 'enchant_broker_list_dicts' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:2786:46: warning[-Wunused-variable]: unused variable '_tag_collection_size_' # 2786 | gchar** tag_collection = NULL; # | ^~~~~~~~~~~~~~~~~~~~~ # 2784| #line 2783 "broker.c" # 2785| { # 2786|-> gchar** tag_collection = NULL; # 2787| gint tag_collection_length1 = 0; # 2788| gint _tag_collection_size_ = 0; Error: COMPILER_WARNING (CWE-563): [#def51] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c: scope_hint: In function 'enchant_broker_instance_init' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/broker.c:3289:47: warning[-Wunused-parameter]: unused parameter 'self' # 3289 | # | ^ # 3287| #line 3286 "broker.c" # 3288| } # 3289|-> # 3290| static void # 3291| enchant_broker_instance_init (EnchantBroker * self) Error: COMPILER_WARNING (CWE-1164): [#def52] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:58:9: warning[-Wunused-macros]: macro "ENCHANT_COMPOSITE_DICT" is not used # 58 | #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict)) # | ^~~~~~~~~~~~~~~~~~~~~~ # 56| # 57| #define TYPE_ENCHANT_COMPOSITE_DICT (enchant_composite_dict_get_type ()) # 58|-> #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict)) # 59| #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) # 60| #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT)) Error: COMPILER_WARNING (CWE-1164): [#def53] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:59:9: warning[-Wunused-macros]: macro "ENCHANT_COMPOSITE_DICT_CLASS" is not used # 59 | #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 57| #define TYPE_ENCHANT_COMPOSITE_DICT (enchant_composite_dict_get_type ()) # 58| #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict)) # 59|-> #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) # 60| #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT)) # 61| #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT)) Error: COMPILER_WARNING (CWE-1164): [#def54] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:60:9: warning[-Wunused-macros]: macro "IS_ENCHANT_COMPOSITE_DICT" is not used # 60 | #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 58| #define ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDict)) # 59| #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) # 60|-> #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT)) # 61| #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT)) # 62| #define ENCHANT_COMPOSITE_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) Error: COMPILER_WARNING (CWE-1164): [#def55] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:61:9: warning[-Wunused-macros]: macro "IS_ENCHANT_COMPOSITE_DICT_CLASS" is not used # 61 | #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # 59| #define ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) # 60| #define IS_ENCHANT_COMPOSITE_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_COMPOSITE_DICT)) # 61|-> #define IS_ENCHANT_COMPOSITE_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_COMPOSITE_DICT)) # 62| #define ENCHANT_COMPOSITE_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_COMPOSITE_DICT, EnchantCompositeDictClass)) # 63| Error: COMPILER_WARNING (CWE-1164): [#def56] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:68:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_DICT" is not used # 68 | #define TYPE_ENCHANT_DICT (enchant_dict_get_type ()) # | ^~~~~~~~~~~~~~~~~ # 66| typedef struct _EnchantCompositeDictPrivate EnchantCompositeDictPrivate; # 67| # 68|-> #define TYPE_ENCHANT_DICT (enchant_dict_get_type ()) # 69| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 70| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) Error: COMPILER_WARNING (CWE-1164): [#def57] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:69:9: warning[-Wunused-macros]: macro "ENCHANT_DICT" is not used # 69 | #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # | ^~~~~~~~~~~~ # 67| # 68| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ()) # 69|-> #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 70| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 71| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) Error: COMPILER_WARNING (CWE-1164): [#def58] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c: scope_hint: At top level enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:70:9: warning[-Wunused-macros]: macro "ENCHANT_DICT_CLASS" is not used # 70 | #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # | ^~~~~~~~~~~~~~~~~~ # 68| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ()) # 69| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 70|-> #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 71| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 72| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) Error: COMPILER_WARNING (CWE-1164): [#def59] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:71:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT" is not used # 71 | #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # | ^~~~~~~~~~~~~~~ # 69| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 70| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 71|-> #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 72| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # 73| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass)) Error: COMPILER_WARNING (CWE-1164): [#def60] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:72:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT_CLASS" is not used # 72 | #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # | ^~~~~~~~~~~~~~~~~~~~~ # 70| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 71| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 72|-> #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # 73| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass)) # 74| Error: COMPILER_WARNING (CWE-1164): [#def61] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:73:9: warning[-Wunused-macros]: macro "ENCHANT_DICT_GET_CLASS" is not used # 73 | #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass)) # | ^~~~~~~~~~~~~~~~~~~~~~ # 71| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 72| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # 73|-> #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass)) # 74| # 75| typedef struct _EnchantDict EnchantDict; Error: COMPILER_WARNING (CWE-1164): [#def62] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:81:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_SESSION" is not used # 81 | #define TYPE_ENCHANT_SESSION (enchant_session_get_type ()) # | ^~~~~~~~~~~~~~~~~~~~ # 79| typedef struct _EnchantDictPrivate EnchantDictPrivate; # 80| # 81|-> #define TYPE_ENCHANT_SESSION (enchant_session_get_type ()) # 82| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 83| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) Error: COMPILER_WARNING (CWE-1164): [#def63] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:82:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION" is not used # 82 | #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # | ^~~~~~~~~~~~~~~ # 80| # 81| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ()) # 82|-> #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 83| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 84| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) Error: COMPILER_WARNING (CWE-1164): [#def64] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:83:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION_CLASS" is not used # 83 | #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # | ^~~~~~~~~~~~~~~~~~~~~ # 81| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ()) # 82| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 83|-> #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 84| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 85| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) Error: COMPILER_WARNING (CWE-1164): [#def65] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:84:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION" is not used # 84 | #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # | ^~~~~~~~~~~~~~~~~~ # 82| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 83| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 84|-> #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 85| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # 86| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass)) Error: COMPILER_WARNING (CWE-1164): [#def66] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:85:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION_CLASS" is not used # 85 | #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 83| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 84| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 85|-> #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # 86| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 87| Error: COMPILER_WARNING (CWE-1164): [#def67] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:86:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION_GET_CLASS" is not used # 86 | #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 84| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 85| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # 86|-> #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 87| # 88| typedef struct _EnchantSession EnchantSession; Error: COMPILER_WARNING (CWE-1164): [#def68] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:100:9: warning[-Wunused-macros]: macro "_vala_return_if_fail" is not used # 100 | #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; } # | ^~~~~~~~~~~~~~~~~~~~ # 98| #define _g_array_unref0(var) ((var == NULL) ? NULL : (var = (g_array_unref (var), NULL))) # 99| #define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); # 100|-> #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; } # 101| #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; } # 102| #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); Error: COMPILER_WARNING (CWE-1164): [#def69] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:101:9: warning[-Wunused-macros]: macro "_vala_return_val_if_fail" is not used # 101 | #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; } # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 99| #define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); # 100| #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; } # 101|-> #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; } # 102| #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); # 103| Error: COMPILER_WARNING (CWE-1164): [#def70] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:102:9: warning[-Wunused-macros]: macro "_vala_warn_if_fail" is not used # 102 | #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); # | ^~~~~~~~~~~~~~~~~~ # 100| #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; } # 101| #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; } # 102|-> #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); # 103| # 104| struct _EnchantCompositeDict { Error: COMPILER_WARNING (CWE-563): [#def71] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c: scope_hint: In function 'value_enchant_composite_dict_collect_value' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:290:51: warning[-Wunused-parameter]: unused parameter 'n_collect_values' # 290 | guint n_collect_values, # | ~~~~~~^~~~~~~~~~~~~~~~ # 288| static gchar* # 289| value_enchant_composite_dict_collect_value (GValue* value, # 290|-> guint n_collect_values, # 291| GTypeCValue* collect_values, # 292| guint collect_flags) Error: COMPILER_WARNING (CWE-563): [#def72] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:292:51: warning[-Wunused-parameter]: unused parameter 'collect_flags' # 292 | guint collect_flags) # | ~~~~~~^~~~~~~~~~~~~ # 290| guint n_collect_values, # 291| GTypeCValue* collect_values, # 292|-> guint collect_flags) # 293| { # 294| #line 29 "composite.vala" Error: COMPILER_WARNING (CWE-563): [#def73] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c: scope_hint: In function 'value_enchant_composite_dict_lcopy_value' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:324:49: warning[-Wunused-parameter]: unused parameter 'n_collect_values' # 324 | guint n_collect_values, # | ~~~~~~^~~~~~~~~~~~~~~~ # 322| static gchar* # 323| value_enchant_composite_dict_lcopy_value (const GValue* value, # 324|-> guint n_collect_values, # 325| GTypeCValue* collect_values, # 326| guint collect_flags) Error: COMPILER_WARNING (CWE-563): [#def74] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c: scope_hint: In function 'enchant_composite_dict_class_init' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:450:45: warning[-Wunused-parameter]: unused parameter 'klass_data' # 450 | gpointer klass_data) # | ~~~~~~~~~^~~~~~~~~~ # 448| static void # 449| enchant_composite_dict_class_init (EnchantCompositeDictClass * klass, # 450|-> gpointer klass_data) # 451| { # 452| #line 29 "composite.vala" Error: COMPILER_WARNING (CWE-563): [#def75] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c: scope_hint: In function 'enchant_composite_dict_instance_init' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:461:48: warning[-Wunused-parameter]: unused parameter 'klass' # 461 | gpointer klass) # | ~~~~~~~~~^~~~~ # 459| static void # 460| enchant_composite_dict_instance_init (EnchantCompositeDict * self, # 461|-> gpointer klass) # 462| { # 463| #line 29 "composite.vala" Error: COMPILER_WARNING (CWE-563): [#def76] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:789:38: warning[-Wunused-but-set-variable]: variable '_suggs_size_' set but not used # 789 | gint _suggs_size_; # | ^~~~~~~~~~~~ # 787| gchar** _tmp8_; # 788| gint suggs_length1; # 789|-> gint _suggs_size_; # 790| gchar** _tmp9_; # 791| gint _tmp9__length1; Error: COMPILER_WARNING (CWE-563): [#def77] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:791:38: warning[-Wunused-but-set-variable]: variable '_tmp9__length1' set but not used # 791 | gint _tmp9__length1; # | ^~~~~~~~~~~~~~ # 789| gint _suggs_size_; # 790| gchar** _tmp9_; # 791|-> gint _tmp9__length1; # 792| #line 59 "composite.vala" # 793| _tmp6_ = dict; Error: COMPILER_WARNING (CWE-563): [#def78] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:809:49: warning[-Wunused-but-set-variable]: variable '_tmp10_' set but not used # 809 | gchar** _tmp10_; # | ^~~~~~~ # 807| if (_tmp9_ != NULL) { # 808| #line 809 "composite.c" # 809|-> gchar** _tmp10_; # 810| gint _tmp10__length1; # 811| #line 61 "composite.vala" Error: COMPILER_WARNING (CWE-563): [#def79] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:832:81: warning[-Wunused-but-set-variable]: variable '_tmp13_' set but not used # 832 | gchar** _tmp13_; # | ^~~~~~~ # 830| while (TRUE) { # 831| #line 832 "composite.c" # 832|-> gchar** _tmp13_; # 833| gint _tmp13__length1; # 834| GArray* _tmp14_; Error: COMPILER_WARNING (CWE-563): [#def80] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c: scope_hint: In function 'composite_dict_suggest' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/composite.c:836:78: warning[-Wunused-but-set-variable]: variable '_tmp15__length1' set but not used # 836 | gint _tmp15__length1; # | ^~~~~~~~~~~~~~~ # 834| GArray* _tmp14_; # 835| gchar** _tmp15_; # 836|-> gint _tmp15__length1; # 837| const gchar* _tmp16_; # 838| gchar* _tmp17_; Error: COMPILER_WARNING (CWE-1164): [#def81] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:61:9: warning[-Wunused-macros]: macro "ENCHANT_DICT" is not used # 61 | #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # | ^~~~~~~~~~~~ # 59| # 60| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ()) # 61|-> #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 62| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 63| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) Error: COMPILER_WARNING (CWE-1164): [#def82] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:62:9: warning[-Wunused-macros]: macro "ENCHANT_DICT_CLASS" is not used # 62 | #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # | ^~~~~~~~~~~~~~~~~~ # 60| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ()) # 61| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 62|-> #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 63| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 64| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) Error: COMPILER_WARNING (CWE-1164): [#def83] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:63:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT" is not used # 63 | #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # | ^~~~~~~~~~~~~~~ # 61| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 62| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 63|-> #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 64| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # 65| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass)) Error: COMPILER_WARNING (CWE-1164): [#def84] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:64:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT_CLASS" is not used # 64 | #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # | ^~~~~~~~~~~~~~~~~~~~~ # 62| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 63| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 64|-> #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # 65| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass)) # 66| Error: COMPILER_WARNING (CWE-1164): [#def85] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:77:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_SESSION" is not used # 77 | #define TYPE_ENCHANT_SESSION (enchant_session_get_type ()) # | ^~~~~~~~~~~~~~~~~~~~ # 75| typedef struct _EnchantDictPrivate EnchantDictPrivate; # 76| # 77|-> #define TYPE_ENCHANT_SESSION (enchant_session_get_type ()) # 78| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 79| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) Error: COMPILER_WARNING (CWE-1164): [#def86] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:78:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION" is not used # 78 | #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # | ^~~~~~~~~~~~~~~ # 76| # 77| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ()) # 78|-> #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 79| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 80| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) Error: COMPILER_WARNING (CWE-1164): [#def87] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:79:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION_CLASS" is not used # 79 | #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # | ^~~~~~~~~~~~~~~~~~~~~ # 77| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ()) # 78| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 79|-> #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 80| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 81| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) Error: COMPILER_WARNING (CWE-1164): [#def88] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:80:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION" is not used # 80 | #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # | ^~~~~~~~~~~~~~~~~~ # 78| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 79| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 80|-> #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 81| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # 82| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass)) Error: COMPILER_WARNING (CWE-1164): [#def89] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:81:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION_CLASS" is not used # 81 | #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 79| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 80| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 81|-> #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # 82| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 83| Error: COMPILER_WARNING (CWE-1164): [#def90] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:82:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION_GET_CLASS" is not used # 82 | #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 80| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 81| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # 82|-> #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 83| # 84| typedef struct _EnchantSession EnchantSession; Error: COMPILER_WARNING (CWE-1164): [#def91] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:87:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_PROVIDER" is not used # 87 | #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ()) # | ^~~~~~~~~~~~~~~~~~~~~ # 85| typedef struct _EnchantSessionClass EnchantSessionClass; # 86| # 87|-> #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ()) # 88| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 89| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) Error: COMPILER_WARNING (CWE-1164): [#def92] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:88:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER" is not used # 88 | #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # | ^~~~~~~~~~~~~~~~ # 86| # 87| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ()) # 88|-> #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 89| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 90| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) Error: COMPILER_WARNING (CWE-1164): [#def93] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:89:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER_CLASS" is not used # 89 | #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # | ^~~~~~~~~~~~~~~~~~~~~~ # 87| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ()) # 88| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 89|-> #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 90| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 91| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) Error: COMPILER_WARNING (CWE-1164): [#def94] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:90:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER" is not used # 90 | #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # | ^~~~~~~~~~~~~~~~~~~ # 88| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 89| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 90|-> #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 91| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # 92| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) Error: COMPILER_WARNING (CWE-1164): [#def95] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:91:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER_CLASS" is not used # 91 | #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 89| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 90| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 91|-> #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # 92| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 93| Error: COMPILER_WARNING (CWE-1164): [#def96] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:92:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER_GET_CLASS" is not used # 92 | #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~~ # 90| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 91| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # 92|-> #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 93| # 94| typedef struct _EnchantProvider EnchantProvider; Error: COMPILER_WARNING (CWE-1164): [#def97] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:98:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_PWL" is not used # 98 | #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ()) # | ^~~~~~~~~~~~~~~~ # 96| typedef struct _EnchantSessionPrivate EnchantSessionPrivate; # 97| # 98|-> #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ()) # 99| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 100| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) Error: COMPILER_WARNING (CWE-1164): [#def98] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c: scope_hint: At top level enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:99:9: warning[-Wunused-macros]: macro "ENCHANT_PWL" is not used # 99 | #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # | ^~~~~~~~~~~ # 97| # 98| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ()) # 99|-> #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 100| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 101| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) Error: COMPILER_WARNING (CWE-1164): [#def99] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:100:9: warning[-Wunused-macros]: macro "ENCHANT_PWL_CLASS" is not used # 100 | #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # | ^~~~~~~~~~~~~~~~~ # 98| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ()) # 99| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 100|-> #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 101| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 102| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) Error: COMPILER_WARNING (CWE-1164): [#def100] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:101:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL" is not used # 101 | #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # | ^~~~~~~~~~~~~~ # 99| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 100| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 101|-> #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 102| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # 103| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass)) Error: COMPILER_WARNING (CWE-1164): [#def101] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:102:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL_CLASS" is not used # 102 | #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # | ^~~~~~~~~~~~~~~~~~~~ # 100| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 101| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 102|-> #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # 103| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 104| Error: COMPILER_WARNING (CWE-1164): [#def102] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:103:9: warning[-Wunused-macros]: macro "ENCHANT_PWL_GET_CLASS" is not used # 103 | #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass)) # | ^~~~~~~~~~~~~~~~~~~~~ # 101| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 102| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # 103|-> #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 104| # 105| typedef struct _EnchantPWL EnchantPWL; Error: COMPILER_WARNING (CWE-1164): [#def103] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:120:9: warning[-Wunused-macros]: macro "_vala_assert" is not used # 120 | #define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); # | ^~~~~~~~~~~~ # 118| #define _g_strv_builder_unref0(var) ((var == NULL) ? NULL : (var = (g_strv_builder_unref (var), NULL))) # 119| typedef struct _ParamSpecEnchantDict ParamSpecEnchantDict; # 120|-> #define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); # 121| #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; } # 122| #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; } Error: COMPILER_WARNING (CWE-1164): [#def104] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:123:9: warning[-Wunused-macros]: macro "_vala_warn_if_fail" is not used # 123 | #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); # | ^~~~~~~~~~~~~~~~~~ # 121| #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; } # 122| #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; } # 123|-> #define _vala_warn_if_fail(expr, msg) if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); # 124| # 125| struct _EnchantDict { Error: COMPILER_WARNING (CWE-563): [#def105] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c: scope_hint: In function 'enchant_dict_filter_suggestions' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:723:22: warning[-Wunused-variable]: unused variable '_sugg_collection_size_' # 723 | gint _sugg_collection_size_ = 0; # | ^~~~~~~~~~~~~~~~~~~~~~ # 721| gchar** sugg_collection = NULL; # 722| gint sugg_collection_length1 = 0; # 723|-> gint _sugg_collection_size_ = 0; # 724| gint sugg_it = 0; # 725| #line 148 "dict.vala" Error: COMPILER_WARNING (CWE-563): [#def106] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:815:14: warning[-Wunused-but-set-variable]: variable '_dict_suggs_size_' set but not used # 815 | gint _dict_suggs_size_; # | ^~~~~~~~~~~~~~~~~ # 813| gchar** dict_suggs = NULL; # 814| gint dict_suggs_length1; # 815|-> gint _dict_suggs_size_; # 816| DictSuggest _tmp4_; # 817| gchar** _tmp16_; Error: COMPILER_WARNING (CWE-563): [#def107] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c: scope_hint: In function 'enchant_dict_suggest' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:876:22: warning[-Wunused-but-set-variable]: variable '_tmp12__length1' set but not used # 876 | gint _tmp12__length1; # | ^~~~~~~~~~~~~~~ # 874| gchar** _tmp11_; # 875| gchar** _tmp12_; # 876|-> gint _tmp12__length1; # 877| #line 166 "dict.vala" # 878| _tmp5_ = self->suggest_method; Error: COMPILER_WARNING (CWE-563): [#def108] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c: scope_hint: In function 'enchant_dict_store_replacement' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:1265:41: warning[-Wunused-parameter]: unused parameter 'mis_len' # 1265 | ssize_t mis_len, # | ~~~~~~~~^~~~~~~ # 1263| enchant_dict_store_replacement (EnchantDict* self, # 1264| const gchar* mis, # 1265|-> ssize_t mis_len, # 1266| const gchar* cor, # 1267| ssize_t cor_len) Error: COMPILER_WARNING (CWE-563): [#def109] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:1267:41: warning[-Wunused-parameter]: unused parameter 'cor_len' # 1267 | ssize_t cor_len) # | ~~~~~~~~^~~~~~~ # 1265| ssize_t mis_len, # 1266| const gchar* cor, # 1267|-> ssize_t cor_len) # 1268| { # 1269| #line 223 "dict.vala" Error: COMPILER_WARNING (CWE-563): [#def110] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c: scope_hint: In function 'value_enchant_dict_collect_value' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:1514:41: warning[-Wunused-parameter]: unused parameter 'n_collect_values' # 1514 | guint n_collect_values, # | ~~~~~~^~~~~~~~~~~~~~~~ # 1512| static gchar* # 1513| value_enchant_dict_collect_value (GValue* value, # 1514|-> guint n_collect_values, # 1515| GTypeCValue* collect_values, # 1516| guint collect_flags) Error: COMPILER_WARNING (CWE-563): [#def111] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:1516:41: warning[-Wunused-parameter]: unused parameter 'collect_flags' # 1516 | guint collect_flags) # | ~~~~~~^~~~~~~~~~~~~ # 1514| guint n_collect_values, # 1515| GTypeCValue* collect_values, # 1516|-> guint collect_flags) # 1517| { # 1518| #line 44 "dict.vala" Error: COMPILER_WARNING (CWE-563): [#def112] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c: scope_hint: In function 'value_enchant_dict_lcopy_value' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:1548:39: warning[-Wunused-parameter]: unused parameter 'n_collect_values' # 1548 | guint n_collect_values, # | ~~~~~~^~~~~~~~~~~~~~~~ # 1546| static gchar* # 1547| value_enchant_dict_lcopy_value (const GValue* value, # 1548|-> guint n_collect_values, # 1549| GTypeCValue* collect_values, # 1550| guint collect_flags) Error: COMPILER_WARNING (CWE-563): [#def113] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c: scope_hint: In function 'enchant_dict_class_init' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:1674:35: warning[-Wunused-parameter]: unused parameter 'klass_data' # 1674 | gpointer klass_data) # | ~~~~~~~~~^~~~~~~~~~ # 1672| static void # 1673| enchant_dict_class_init (EnchantDictClass * klass, # 1674|-> gpointer klass_data) # 1675| { # 1676| #line 44 "dict.vala" Error: COMPILER_WARNING (CWE-563): [#def114] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c: scope_hint: In function 'enchant_dict_instance_init' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/dict.c:1685:38: warning[-Wunused-parameter]: unused parameter 'klass' # 1685 | gpointer klass) # | ~~~~~~~~~^~~~~ # 1683| static void # 1684| enchant_dict_instance_init (EnchantDict * self, # 1685|-> gpointer klass) # 1686| { # 1687| #line 44 "dict.vala" Error: COMPILER_WARNING (CWE-1164): [#def115] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:63:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER" is not used # 63 | #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # | ^~~~~~~~~~~~~~~~ # 61| # 62| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ()) # 63|-> #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 64| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 65| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) Error: COMPILER_WARNING (CWE-1164): [#def116] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:64:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER_CLASS" is not used # 64 | #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # | ^~~~~~~~~~~~~~~~~~~~~~ # 62| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ()) # 63| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 64|-> #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 65| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 66| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) Error: COMPILER_WARNING (CWE-1164): [#def117] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:65:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER" is not used # 65 | #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # | ^~~~~~~~~~~~~~~~~~~ # 63| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 64| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 65|-> #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 66| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # 67| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) Error: COMPILER_WARNING (CWE-1164): [#def118] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:66:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER_CLASS" is not used # 66 | #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 64| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 65| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 66|-> #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # 67| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 68| Error: COMPILER_WARNING (CWE-1164): [#def119] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:73:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_DICT" is not used # 73 | #define TYPE_ENCHANT_DICT (enchant_dict_get_type ()) # | ^~~~~~~~~~~~~~~~~ # 71| typedef void (*ProviderDispose) (EnchantProvider* me); # 72| # 73|-> #define TYPE_ENCHANT_DICT (enchant_dict_get_type ()) # 74| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 75| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) Error: COMPILER_WARNING (CWE-1164): [#def120] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:74:9: warning[-Wunused-macros]: macro "ENCHANT_DICT" is not used # 74 | #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # | ^~~~~~~~~~~~ # 72| # 73| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ()) # 74|-> #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 75| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 76| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) Error: COMPILER_WARNING (CWE-1164): [#def121] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c: scope_hint: At top level enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:75:9: warning[-Wunused-macros]: macro "ENCHANT_DICT_CLASS" is not used # 75 | #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # | ^~~~~~~~~~~~~~~~~~ # 73| #define TYPE_ENCHANT_DICT (enchant_dict_get_type ()) # 74| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 75|-> #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 76| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 77| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) Error: COMPILER_WARNING (CWE-1164): [#def122] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:76:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT" is not used # 76 | #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # | ^~~~~~~~~~~~~~~ # 74| #define ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_DICT, EnchantDict)) # 75| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 76|-> #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 77| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # 78| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass)) Error: COMPILER_WARNING (CWE-1164): [#def123] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:77:9: warning[-Wunused-macros]: macro "IS_ENCHANT_DICT_CLASS" is not used # 77 | #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # | ^~~~~~~~~~~~~~~~~~~~~ # 75| #define ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_DICT, EnchantDictClass)) # 76| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 77|-> #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # 78| #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass)) # 79| Error: COMPILER_WARNING (CWE-1164): [#def124] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:78:9: warning[-Wunused-macros]: macro "ENCHANT_DICT_GET_CLASS" is not used # 78 | #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass)) # | ^~~~~~~~~~~~~~~~~~~~~~ # 76| #define IS_ENCHANT_DICT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_DICT)) # 77| #define IS_ENCHANT_DICT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_DICT)) # 78|-> #define ENCHANT_DICT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_DICT, EnchantDictClass)) # 79| # 80| typedef struct _EnchantDict EnchantDict; Error: COMPILER_WARNING: [#def125] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c: scope_hint: In function 'enchant_get_user_config_dir' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:173:1: warning[-Wsuggest-attribute=malloc]: function might be candidate for attribute 'malloc' # 173 | enchant_get_user_config_dir (void) # | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ # 171| # 172| gchar* # 173|-> enchant_get_user_config_dir (void) # 174| { # 175| const gchar* env = NULL; Error: COMPILER_WARNING (CWE-563): [#def126] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c: scope_hint: In function '_enchant_provider_dictionary_exists' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:613:8: warning[-Wunused-variable]: unused variable '_dict_collection_size_' # 613 | #line 610 "provider.c" # | ^~~~~~~~~~~~~~~ # 611| #line 141 "provider.vala" # 612| _tmp4_ = _tmp2_ (self, &_tmp3_); # 613|-> #line 610 "provider.c" # 614| { # 615| gchar** dict_collection = NULL; Error: COMPILER_WARNING: [#def127] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c: scope_hint: In function 'enchant_provider_get_user_dict_dir' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:662:1: warning[-Wsuggest-attribute=malloc]: function might be candidate for attribute 'malloc' # 662 | #line 659 "provider.c" # | ^~~~~~~~~~~~~~~~~~~~~~ # 660| #line 144 "provider.vala" # 661| return result; # 662|-> #line 659 "provider.c" # 663| } # 664| Error: COMPILER_WARNING (CWE-563): [#def128] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c: scope_hint: In function 'value_enchant_provider_collect_value' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:755:45: warning[-Wunused-parameter]: unused parameter 'n_collect_values' # 755 | } # | ^ # 753| return value->data[0].v_pointer; # 754| #line 751 "provider.c" # 755|-> } # 756| # 757| static gchar* Error: COMPILER_WARNING (CWE-563): [#def129] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:757:45: warning[-Wunused-parameter]: unused parameter 'collect_flags' # 757 | static gchar* # | ^ # 755| } # 756| # 757|-> static gchar* # 758| value_enchant_provider_collect_value (GValue* value, # 759| guint n_collect_values, Error: COMPILER_WARNING (CWE-563): [#def130] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c: scope_hint: In function 'value_enchant_provider_lcopy_value' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:789:43: warning[-Wunused-parameter]: unused parameter 'n_collect_values' # 789 | } # | ^ # 787| return NULL; # 788| #line 785 "provider.c" # 789|-> } # 790| # 791| static gchar* Error: COMPILER_WARNING (CWE-563): [#def131] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c: scope_hint: In function 'enchant_provider_class_init' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:915:39: warning[-Wunused-parameter]: unused parameter 'klass_data' # 915 | } # | ^ # 913| #line 910 "provider.c" # 914| } # 915|-> } # 916| # 917| static void Error: COMPILER_WARNING (CWE-563): [#def132] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c: scope_hint: In function 'enchant_provider_instance_init' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/provider.c:926:42: warning[-Wunused-parameter]: unused parameter 'klass' # 926 | } # | ^ # 924| ((EnchantProviderClass *) klass)->finalize = enchant_provider_finalize; # 925| #line 922 "provider.c" # 926|-> } # 927| # 928| static void Error: COMPILER_WARNING (CWE-1164): [#def133] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:60:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION" is not used # 60 | #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # | ^~~~~~~~~~~~~~~ # 58| # 59| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ()) # 60|-> #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 61| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 62| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) Error: COMPILER_WARNING (CWE-1164): [#def134] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:61:9: warning[-Wunused-macros]: macro "ENCHANT_SESSION_CLASS" is not used # 61 | #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # | ^~~~~~~~~~~~~~~~~~~~~ # 59| #define TYPE_ENCHANT_SESSION (enchant_session_get_type ()) # 60| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 61|-> #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 62| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 63| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) Error: COMPILER_WARNING (CWE-1164): [#def135] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:62:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION" is not used # 62 | #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # | ^~~~~~~~~~~~~~~~~~ # 60| #define ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_SESSION, EnchantSession)) # 61| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 62|-> #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 63| #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # 64| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass)) Error: COMPILER_WARNING (CWE-1164): [#def136] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:63:9: warning[-Wunused-macros]: macro "IS_ENCHANT_SESSION_CLASS" is not used # 63 | #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # | ^~~~~~~~~~~~~~~~~~~~~~~~ # 61| #define ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 62| #define IS_ENCHANT_SESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_SESSION)) # 63|-> #define IS_ENCHANT_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_SESSION)) # 64| #define ENCHANT_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_SESSION, EnchantSessionClass)) # 65| Error: COMPILER_WARNING (CWE-1164): [#def137] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:70:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_PWL" is not used # 70 | #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ()) # | ^~~~~~~~~~~~~~~~ # 68| typedef struct _EnchantSessionPrivate EnchantSessionPrivate; # 69| # 70|-> #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ()) # 71| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 72| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) Error: COMPILER_WARNING (CWE-1164): [#def138] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c: scope_hint: At top level enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:71:9: warning[-Wunused-macros]: macro "ENCHANT_PWL" is not used # 71 | #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # | ^~~~~~~~~~~ # 69| # 70| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ()) # 71|-> #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 72| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 73| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) Error: COMPILER_WARNING (CWE-1164): [#def139] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:72:9: warning[-Wunused-macros]: macro "ENCHANT_PWL_CLASS" is not used # 72 | #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # | ^~~~~~~~~~~~~~~~~ # 70| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ()) # 71| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 72|-> #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 73| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 74| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) Error: COMPILER_WARNING (CWE-1164): [#def140] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:73:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL" is not used # 73 | #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # | ^~~~~~~~~~~~~~ # 71| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 72| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 73|-> #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 74| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # 75| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass)) Error: COMPILER_WARNING (CWE-1164): [#def141] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:74:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL_CLASS" is not used # 74 | #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # | ^~~~~~~~~~~~~~~~~~~~ # 72| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 73| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 74|-> #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # 75| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 76| Error: COMPILER_WARNING (CWE-1164): [#def142] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:75:9: warning[-Wunused-macros]: macro "ENCHANT_PWL_GET_CLASS" is not used # 75 | #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass)) # | ^~~~~~~~~~~~~~~~~~~~~ # 73| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 74| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # 75|-> #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 76| # 77| typedef struct _EnchantPWL EnchantPWL; Error: COMPILER_WARNING (CWE-1164): [#def143] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:80:9: warning[-Wunused-macros]: macro "TYPE_ENCHANT_PROVIDER" is not used # 80 | #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ()) # | ^~~~~~~~~~~~~~~~~~~~~ # 78| typedef struct _EnchantPWLClass EnchantPWLClass; # 79| # 80|-> #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ()) # 81| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 82| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) Error: COMPILER_WARNING (CWE-1164): [#def144] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:81:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER" is not used # 81 | #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # | ^~~~~~~~~~~~~~~~ # 79| # 80| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ()) # 81|-> #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 82| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 83| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) Error: COMPILER_WARNING (CWE-1164): [#def145] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:82:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER_CLASS" is not used # 82 | #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # | ^~~~~~~~~~~~~~~~~~~~~~ # 80| #define TYPE_ENCHANT_PROVIDER (enchant_provider_get_type ()) # 81| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 82|-> #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 83| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 84| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) Error: COMPILER_WARNING (CWE-1164): [#def146] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:83:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER" is not used # 83 | #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # | ^~~~~~~~~~~~~~~~~~~ # 81| #define ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PROVIDER, EnchantProvider)) # 82| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 83|-> #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 84| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # 85| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) Error: COMPILER_WARNING (CWE-1164): [#def147] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:84:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PROVIDER_CLASS" is not used # 84 | #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~ # 82| #define ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 83| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 84|-> #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # 85| #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 86| Error: COMPILER_WARNING (CWE-1164): [#def148] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:85:9: warning[-Wunused-macros]: macro "ENCHANT_PROVIDER_GET_CLASS" is not used # 85 | #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # | ^~~~~~~~~~~~~~~~~~~~~~~~~~ # 83| #define IS_ENCHANT_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PROVIDER)) # 84| #define IS_ENCHANT_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PROVIDER)) # 85|-> #define ENCHANT_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PROVIDER, EnchantProviderClass)) # 86| # 87| typedef struct _EnchantProvider EnchantProvider; Error: COMPILER_WARNING (CWE-563): [#def149] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c: scope_hint: In function 'value_enchant_session_collect_value' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:744:44: warning[-Wunused-parameter]: unused parameter 'n_collect_values' # 744 | guint n_collect_values, # | ~~~~~~^~~~~~~~~~~~~~~~ # 742| static gchar* # 743| value_enchant_session_collect_value (GValue* value, # 744|-> guint n_collect_values, # 745| GTypeCValue* collect_values, # 746| guint collect_flags) Error: COMPILER_WARNING (CWE-563): [#def150] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:746:44: warning[-Wunused-parameter]: unused parameter 'collect_flags' # 746 | guint collect_flags) # | ~~~~~~^~~~~~~~~~~~~ # 744| guint n_collect_values, # 745| GTypeCValue* collect_values, # 746|-> guint collect_flags) # 747| { # 748| #line 30 "session.vala" Error: COMPILER_WARNING (CWE-563): [#def151] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c: scope_hint: In function 'value_enchant_session_lcopy_value' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:778:42: warning[-Wunused-parameter]: unused parameter 'n_collect_values' # 778 | guint n_collect_values, # | ~~~~~~^~~~~~~~~~~~~~~~ # 776| static gchar* # 777| value_enchant_session_lcopy_value (const GValue* value, # 778|-> guint n_collect_values, # 779| GTypeCValue* collect_values, # 780| guint collect_flags) Error: COMPILER_WARNING (CWE-563): [#def152] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c: scope_hint: In function 'enchant_session_class_init' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:904:38: warning[-Wunused-parameter]: unused parameter 'klass_data' # 904 | gpointer klass_data) # | ~~~~~~~~~^~~~~~~~~~ # 902| static void # 903| enchant_session_class_init (EnchantSessionClass * klass, # 904|-> gpointer klass_data) # 905| { # 906| #line 30 "session.vala" Error: COMPILER_WARNING (CWE-563): [#def153] enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c: scope_hint: In function 'enchant_session_instance_init' enchant2-2.8.2-build/enchant-2.8.2/build_native/lib/session.c:915:41: warning[-Wunused-parameter]: unused parameter 'klass' # 915 | gpointer klass) # | ~~~~~~~~~^~~~~ # 913| static void # 914| enchant_session_instance_init (EnchantSession * self, # 915|-> gpointer klass) # 916| { # 917| #line 30 "session.vala" Error: COMPILER_WARNING (CWE-1164): [#def154] enchant2-2.8.2-build/enchant-2.8.2/lib/pwl.c: scope_hint: At top level enchant2-2.8.2-build/enchant-2.8.2/lib/pwl.c:67:9: warning[-Wunused-macros]: macro "ENCHANT_PWL" is not used # 67 | #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # | ^~~~~~~~~~~ # 65| # 66| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ()) # 67|-> #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 68| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 69| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) Error: COMPILER_WARNING (CWE-1164): [#def155] enchant2-2.8.2-build/enchant-2.8.2/lib/pwl.c:68:9: warning[-Wunused-macros]: macro "ENCHANT_PWL_CLASS" is not used # 68 | #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # | ^~~~~~~~~~~~~~~~~ # 66| #define TYPE_ENCHANT_PWL (enchant_pwl_get_type ()) # 67| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 68|-> #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 69| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 70| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) Error: COMPILER_WARNING (CWE-1164): [#def156] enchant2-2.8.2-build/enchant-2.8.2/lib/pwl.c:69:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL" is not used # 69 | #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # | ^~~~~~~~~~~~~~ # 67| #define ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_ENCHANT_PWL, EnchantPWL)) # 68| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 69|-> #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 70| #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # 71| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass)) Error: COMPILER_WARNING (CWE-1164): [#def157] enchant2-2.8.2-build/enchant-2.8.2/lib/pwl.c:70:9: warning[-Wunused-macros]: macro "IS_ENCHANT_PWL_CLASS" is not used # 70 | #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # | ^~~~~~~~~~~~~~~~~~~~ # 68| #define ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 69| #define IS_ENCHANT_PWL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_ENCHANT_PWL)) # 70|-> #define IS_ENCHANT_PWL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_ENCHANT_PWL)) # 71| #define ENCHANT_PWL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_ENCHANT_PWL, EnchantPWLClass)) # 72| Error: COMPILER_WARNING: [#def158] enchant2-2.8.2-build/enchant-2.8.2/providers/enchant_voikko.c: scope_hint: In function 'voikko_dict_suggest' enchant2-2.8.2-build/enchant-2.8.2/providers/enchant_voikko.c:74:42: warning[-Wcalloc-transposed-args]: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument # 74 | char **sugg_arr = calloc(sizeof (char *), *out_n_suggs + 1); # | ^~~~ enchant2-2.8.2-build/enchant-2.8.2/providers/enchant_voikko.c:74:42: note: earlier argument should specify number of elements, later size of each element # 72| for (*out_n_suggs = 0; voikko_sugg_arr[*out_n_suggs] != NULL; (*out_n_suggs)++); # 73| # 74|-> char **sugg_arr = calloc(sizeof (char *), *out_n_suggs + 1); # 75| if (sugg_arr == NULL) # 76| return NULL;
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-160.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | enchant2-2.8.2-1.fc42 |
store-results-to | /tmp/tmpevhd2e4b/enchant2-2.8.2-1.fc42.tar.xz |
time-created | 2024-11-12 23:46:53 |
time-finished | 2024-11-12 23:49:31 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpevhd2e4b/enchant2-2.8.2-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpevhd2e4b/enchant2-2.8.2-1.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |