ibus-kkc
ibus-kkc copied to clipboard
gcc 10 compile time warnings
It would be good to clean all those warnings
candidate-list.vala:93.20-93.43: warning: Gee.Map.contains is deprecated. Use Map.has_key
candidate-list.vala:97.17-97.40: warning: Gee.Map.contains is deprecated. Use Map.has_key
nicola.vala:36.22-36.28: warning: GLib.TimeVal has been deprecated since 2.62
server.vala:100.9-100.29: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool select_at (uint index_in_page) {
^^^^^^^^^^^^^^^^^^^^^
server.vala:104.9-104.26: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void select () {
^^^^^^^^^^^^^^^^^^
server.vala:108.9-108.25: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool first () {
^^^^^^^^^^^^^^^^^
server.vala:112.9-112.24: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool next () {
^^^^^^^^^^^^^^^^
server.vala:116.9-116.28: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool previous () {
^^^^^^^^^^^^^^^^^^^^
server.vala:120.9-120.29: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool cursor_up () {
^^^^^^^^^^^^^^^^^^^^^
server.vala:124.9-124.31: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool cursor_down () {
^^^^^^^^^^^^^^^^^^^^^^^
server.vala:128.9-128.27: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool page_up () {
^^^^^^^^^^^^^^^^^^^
server.vala:132.9-132.29: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool page_down () {
^^^^^^^^^^^^^^^^^^^^^
server.vala:165.9-165.28: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public new void @get (int index, out string midasi, out bool okuri,
^^^^^^^^^^^^^^^^^^^^
server.vala:235.9-235.28: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public new void @get (int index, out string input, out string output) {
^^^^^^^^^^^^^^^^^^^^
server.vala:241.9-241.33: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool first_segment () {
^^^^^^^^^^^^^^^^^^^^^^^^^
server.vala:245.9-245.32: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool last_segment () {
^^^^^^^^^^^^^^^^^^^^^^^^
server.vala:249.9-249.32: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void next_segment () {
^^^^^^^^^^^^^^^^^^^^^^^^
server.vala:253.9-253.36: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void previous_segment () {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
server.vala:257.9-257.32: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string get_output () {
^^^^^^^^^^^^^^^^^^^^^^^^
server.vala:261.9-261.31: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string get_input () {
^^^^^^^^^^^^^^^^^^^^^^^
server.vala:370.9-370.37: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool process_key_event (uint keyval, uint keycode,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
server.vala:378.9-378.41: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool process_command_event (string command) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
server.vala:382.9-382.25: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void reset () {
^^^^^^^^^^^^^^^^^
server.vala:386.9-386.30: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool has_output () {
^^^^^^^^^^^^^^^^^^^^^^
server.vala:390.9-390.33: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string peek_output () {
^^^^^^^^^^^^^^^^^^^^^^^^^
server.vala:394.9-394.33: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string poll_output () {
^^^^^^^^^^^^^^^^^^^^^^^^^
server.vala:398.9-398.32: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void clear_output () {
^^^^^^^^^^^^^^^^^^^^^^^^
server.vala:486.9-486.35: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void destroy_context (string object_path) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^
server.vala:463.9-463.36: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string create_context (BusName sender) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
decoder.c:53:20: warning: 'kkc_decoder_properties' defined but not used [-Wunused-variable]
53 | static GParamSpec* kkc_decoder_properties[KKC_DECODER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~
text-trigram-language-model.c: In function 'kkc_text_trigram_language_model_real_has_trigram':
text-trigram-language-model.c:238:7: warning: variable '_tmp4__length1' set but not used [-Wunused-but-set-variable]
238 | gint _tmp4__length1;
| ^~~~~~~~~~~~~~
text-trigram-language-model.c: In function 'kkc_text_trigram_language_model_real_trigram_cost':
text-trigram-language-model.c:279:7: warning: variable '_tmp4__length1' set but not used [-Wunused-but-set-variable]
279 | gint _tmp4__length1;
| ^~~~~~~~~~~~~~
At top level:
text-trigram-language-model.c:94:20: warning: 'kkc_text_trigram_language_model_properties' defined but not used [-Wunused-variable]
94 | static GParamSpec* kkc_text_trigram_language_model_properties[KKC_TEXT_TRIGRAM_LANGUAGE_MODEL_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
convert-segment-state-handler.c:73:20: warning: 'kkc_convert_segment_state_handler_properties' defined but not used [-Wunused-variable]
73 | static GParamSpec* kkc_convert_segment_state_handler_properties[KKC_CONVERT_SEGMENT_STATE_HANDLER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sorted-bigram-language-model.c: In function 'string_get_data':
sorted-bigram-language-model.c:334:7: warning: variable '_res_size_' set but not used [-Wunused-but-set-variable]
334 | gint _res_size_;
| ^~~~~~~~~~
sorted-bigram-language-model.c: In function 'kkc_sorted_bigram_language_model_real_unigram_entries':
sorted-bigram-language-model.c:413:8: warning: variable '_tmp22__length1' set but not used [-Wunused-but-set-variable]
413 | gint _tmp22__length1;
| ^~~~~~~~~~~~~~~
sorted-bigram-language-model.c:409:8: warning: variable '_tmp19__length1' set but not used [-Wunused-but-set-variable]
409 | gint _tmp19__length1;
| ^~~~~~~~~~~~~~~
sorted-bigram-language-model.c:404:8: warning: variable '_input_output_size_' set but not used [-Wunused-but-set-variable]
404 | gint _input_output_size_;
| ^~~~~~~~~~~~~~~~~~~
sorted-bigram-language-model.c: In function 'kkc_sorted_bigram_language_model_bigram_offset':
sorted-bigram-language-model.c:639:7: warning: variable '_tmp9__length1' set but not used [-Wunused-but-set-variable]
639 | gint _tmp9__length1;
| ^~~~~~~~~~~~~~
sorted-bigram-language-model.c:636:7: warning: variable '_buffer_size_' set but not used [-Wunused-but-set-variable]
636 | gint _buffer_size_;
| ^~~~~~~~~~~~~
keymap.c: In function 'kkc_keymap_commands':
keymap.c:357:9: warning: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
357 | _tmp6_ = _tmp5_;
| ^
At top level:
keymap.c:547:1: warning: '_vala_KkcKeymapEntry_array_free' defined but not used [-Wunused-function]
547 | _vala_KkcKeymapEntry_array_free (KkcKeymapEntry * array,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
key-event-filter.c: In function 'kkc_simple_key_event_filter_real_filter_key_event':
key-event-filter.c:328:33: warning: passing argument 1 of '_vala_uint_array_contains' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
328 | if (_vala_uint_array_contains (KKC_SIMPLE_KEY_EVENT_FILTER_modifier_keyvals, G_N_ELEMENTS (KKC_SIMPLE_KEY_EVENT_FILTER_modifier_keyvals), _tmp1_)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
key-event-filter.c:294:36: note: expected 'guint *' {aka 'unsigned int *'} but argument is of type 'const guint *' {aka 'const unsigned int *'}
294 | _vala_uint_array_contains (guint * stack,
| ~~~~~~~~^~~~~
key-event-filter.c:317:28: warning: variable 'self' set but not used [-Wunused-but-set-variable]
317 | KkcSimpleKeyEventFilter * self;
| ^~~~
At top level:
key-event-filter.c:105:20: warning: 'kkc_kana_key_event_filter_properties' defined but not used [-Wunused-variable]
105 | static GParamSpec* kkc_kana_key_event_filter_properties[KKC_KANA_KEY_EVENT_FILTER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
key-event-filter.c:70:20: warning: 'kkc_simple_key_event_filter_properties' defined but not used [-Wunused-variable]
70 | static GParamSpec* kkc_simple_key_event_filter_properties[KKC_SIMPLE_KEY_EVENT_FILTER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
key-event-filter.c:49:20: warning: 'kkc_key_event_filter_properties' defined but not used [-Wunused-variable]
49 | static GParamSpec* kkc_key_event_filter_properties[KKC_KEY_EVENT_FILTER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
segment-dictionary.c: In function 'kkc_empty_segment_dictionary_real_reload':
segment-dictionary.c:267:30: warning: variable 'self' set but not used [-Wunused-but-set-variable]
267 | KkcEmptySegmentDictionary * self;
| ^~~~
segment-dictionary.c: In function 'kkc_empty_segment_dictionary_real_lookup_candidates':
segment-dictionary.c:281:30: warning: variable 'self' set but not used [-Wunused-but-set-variable]
281 | KkcEmptySegmentDictionary * self;
| ^~~~
segment-dictionary.c: In function 'kkc_empty_segment_dictionary_real_complete':
segment-dictionary.c:312:30: warning: variable 'self' set but not used [-Wunused-but-set-variable]
312 | KkcEmptySegmentDictionary * self;
| ^~~~
At top level:
segment-dictionary.c:67:20: warning: 'kkc_empty_segment_dictionary_properties' defined but not used [-Wunused-variable]
67 | static GParamSpec* kkc_empty_segment_dictionary_properties[KKC_EMPTY_SEGMENT_DICTIONARY_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user-segment-dictionary.c: In function 'kkc_user_segment_dictionary_load':
user-segment-dictionary.c:255:38: warning: passing argument 3 of 'g_file_load_contents' from incompatible pointer type [-Wincompatible-pointer-types]
255 | g_file_load_contents (_tmp0_, NULL, &_tmp1_, &_tmp2_, &_tmp3_, &_inner_error0_);
| ^~~~~~~
| |
| guint8 ** {aka unsigned char **}
In file included from /usr/include/glib-2.0/gio/gio.h:77,
from user-segment-dictionary.c:26:
/usr/include/glib-2.0/gio/gfile.h:1203:36: note: expected 'char **' but argument is of type 'guint8 **' {aka 'unsigned char **'}
1203 | char **contents,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
user-segment-dictionary.c:532:9: warning: unused variable '_c_collection_size_' [-Wunused-variable]
532 | gint _c_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~
user-segment-dictionary.c:406:8: warning: variable '_candidates_size_' set but not used [-Wunused-but-set-variable]
406 | gint _candidates_size_;
| ^~~~~~~~~~~~~~~~~
user-segment-dictionary.c:395:8: warning: variable '_tmp50__length1' set but not used [-Wunused-but-set-variable]
395 | gint _tmp50__length1;
| ^~~~~~~~~~~~~~~
user-segment-dictionary.c:390:8: warning: variable '_tmp47__length1' set but not used [-Wunused-but-set-variable]
390 | gint _tmp47__length1;
| ^~~~~~~~~~~~~~~
user-segment-dictionary.c:386:11: warning: variable '_tmp44_' set but not used [-Wunused-but-set-variable]
386 | gchar** _tmp44_;
| ^~~~~~~
user-segment-dictionary.c:385:8: warning: variable '_strv_size_' set but not used [-Wunused-but-set-variable]
385 | gint _strv_size_;
| ^~~~~~~~~~~
user-segment-dictionary.c:242:8: warning: variable 'length' set but not used [-Wunused-but-set-variable]
242 | gsize length = 0UL;
| ^~~~~~
user-segment-dictionary.c:226:7: warning: variable '_contents_size_' set but not used [-Wunused-but-set-variable]
226 | gint _contents_size_ = 0;
| ^~~~~~~~~~~~~~~
user-segment-dictionary.c: In function 'kkc_user_segment_dictionary_write_entries':
user-segment-dictionary.c:714:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
714 | _tmp11_ = _tmp10_;
| ^
user-segment-dictionary.c:716:11: warning: assignment to 'KkcCandidate **' {aka 'struct _KkcCandidate **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
716 | _tmp14_ = _tmp13_;
| ^
user-segment-dictionary.c: In function 'string_get_data':
user-segment-dictionary.c:764:7: warning: variable '_res_size_' set but not used [-Wunused-but-set-variable]
764 | gint _res_size_;
| ^~~~~~~~~~
user-segment-dictionary.c: In function 'kkc_user_segment_dictionary_real_save':
user-segment-dictionary.c:886:36: warning: pointer targets in passing argument 2 of 'g_file_replace_contents' differ in signedness [-Wpointer-sign]
886 | g_file_replace_contents (_tmp27_, _tmp32_, (gsize) _tmp32__length1, _tmp33_, FALSE, G_FILE_CREATE_PRIVATE, &_tmp34_, NULL, &_inner_error0_);
| ^~~~~~~
| |
| guint8 * {aka unsigned char *}
In file included from /usr/include/glib-2.0/gio/gio.h:77,
from user-segment-dictionary.c:26:
/usr/include/glib-2.0/gio/gfile.h:1234:36: note: expected 'const char *' but argument is of type 'guint8 *' {aka 'unsigned char *'}
1234 | const char *contents,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
user-segment-dictionary.c: In function 'kkc_user_segment_dictionary_real_lookup_candidates':
user-segment-dictionary.c:956:20: warning: assignment to 'KkcCandidate **' {aka 'struct _KkcCandidate **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
956 | _vala_candidates = _tmp6_;
| ^
user-segment-dictionary.c: In function 'kkc_user_segment_dictionary_real_complete':
user-segment-dictionary.c:1105:10: warning: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
1105 | _tmp27_ = _tmp26_;
| ^
At top level:
user-segment-dictionary.c:70:20: warning: 'kkc_user_segment_dictionary_properties' defined but not used [-Wunused-variable]
70 | static GParamSpec* kkc_user_segment_dictionary_properties[KKC_USER_SEGMENT_DICTIONARY_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user-dictionary.c:106:20: warning: 'kkc_user_dictionary_properties' defined but not used [-Wunused-variable]
106 | static GParamSpec* kkc_user_dictionary_properties[KKC_USER_DICTIONARY_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
segment-list.c: In function 'kkc_segment_list_to_array':
segment-list.c:528:9: warning: assignment to 'KkcSegment **' {aka 'struct _KkcSegment **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
528 | _tmp3_ = _tmp2_;
| ^
dictionary.c: In function 'kkc_dictionary_utils_split_candidates':
dictionary.c:308:11: warning: variable '_tmp22__length1' set but not used [-Wunused-but-set-variable]
308 | gint _tmp22__length1;
| ^~~~~~~~~~~~~~~
dictionary.c:304:11: warning: variable '_tmp19__length1' set but not used [-Wunused-but-set-variable]
304 | gint _tmp19__length1;
| ^~~~~~~~~~~~~~~
dictionary.c:275:10: warning: variable '_tmp27__length1' set but not used [-Wunused-but-set-variable]
275 | gint _tmp27__length1;
| ^~~~~~~~~~~~~~~
dictionary.c:272:13: warning: variable '_tmp18_' set but not used [-Wunused-but-set-variable]
272 | gchar** _tmp18_;
| ^~~~~~~
dictionary.c:269:10: warning: variable '_text_annotation_size_' set but not used [-Wunused-but-set-variable]
269 | gint _text_annotation_size_;
| ^~~~~~~~~~~~~~~~~~~~~~
dictionary.c:261:10: warning: variable '_tmp12__length1' set but not used [-Wunused-but-set-variable]
261 | gint _tmp12__length1;
| ^~~~~~~~~~~~~~~
dictionary.c:257:13: warning: variable '_tmp11_' set but not used [-Wunused-but-set-variable]
257 | gchar** _tmp11_;
| ^~~~~~~
dictionary.c:226:7: warning: variable '_candidates_size_' set but not used [-Wunused-but-set-variable]
226 | gint _candidates_size_;
| ^~~~~~~~~~~~~~~~~
dictionary.c:222:10: warning: variable '_tmp7_' set but not used [-Wunused-but-set-variable]
222 | gchar** _tmp7_;
| ^~~~~~
dictionary.c:220:7: warning: variable '_strv_size_' set but not used [-Wunused-but-set-variable]
220 | gint _strv_size_;
| ^~~~~~~~~~~
dictionary.c: In function 'kkc_dictionary_utils_join_candidates':
dictionary.c:549:10: warning: variable '_tmp3__length1' set but not used [-Wunused-but-set-variable]
549 | gint _tmp3__length1;
| ^~~~~~~~~~~~~~
dictionary.c:527:7: warning: variable '_strv_size_' set but not used [-Wunused-but-set-variable]
527 | gint _strv_size_;
| ^~~~~~~~~~~
dictionary.c: In function 'kkc_dictionary_utils_unescape':
dictionary.c:722:68: warning: passing argument 6 of 'g_regex_replace_eval' from incompatible pointer type [-Wincompatible-pointer-types]
722 | _tmp2_ = g_regex_replace_eval (_tmp1_, input, (gssize) -1, 0, 0, _kkc_dictionary_utils_unescape_eval_gregex_eval_callback, NULL, &_inner_error0_);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| gboolean (*)(GMatchInfo *, GString *, void *) {aka int (*)(struct _GMatchInfo *, struct _GString *, void *)}
In file included from /usr/include/glib-2.0/glib.h:75,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from dictionary.c:22:
/usr/include/glib-2.0/glib/gregex.h:555:29: note: expected 'GRegexEvalCallback' {aka 'int (*)(const struct _GMatchInfo *, struct _GString *, void *)'} but argument is of type 'gboolean (*)(GMatchInfo *, GString *, void *)' {aka 'int (*)(struct _GMatchInfo *, struct _GString *, void *)'}
555 | GRegexEvalCallback eval,
| ~~~~~~~~~~~~~~~~~~~~~^~~~
dictionary.c: In function 'kkc_dictionary_utils_finalize':
dictionary.c:806:23: warning: variable 'self' set but not used [-Wunused-but-set-variable]
806 | KkcDictionaryUtils * self;
| ^~~~
At top level:
dictionary.c:41:20: warning: 'kkc_dictionary_utils_properties' defined but not used [-Wunused-variable]
41 | static GParamSpec* kkc_dictionary_utils_properties[KKC_DICTIONARY_UTILS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user-rule.c: In function 'kkc_user_rule_create_keymap':
user-rule.c:726:9: warning: unused variable '_entry_collection_size_' [-Wunused-variable]
726 | gint _entry_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~
user-rule.c:704:8: warning: variable '_entries_size_' set but not used [-Wunused-but-set-variable]
704 | gint _entries_size_;
| ^~~~~~~~~~~~~~
At top level:
user-rule.c:97:20: warning: 'kkc_user_rule_properties' defined but not used [-Wunused-variable]
97 | static GParamSpec* kkc_user_rule_properties[KKC_USER_RULE_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~
sorted-trigram-language-model.c: In function 'kkc_sorted_trigram_language_model_trigram_offset':
sorted-trigram-language-model.c:347:7: warning: variable '_tmp9__length1' set but not used [-Wunused-but-set-variable]
347 | gint _tmp9__length1;
| ^~~~~~~~~~~~~~
sorted-trigram-language-model.c:344:7: warning: variable '_buffer_size_' set but not used [-Wunused-but-set-variable]
344 | gint _buffer_size_;
| ^~~~~~~~~~~~~
At top level:
sorted-trigram-language-model.c:112:20: warning: 'kkc_sorted_trigram_language_model_properties' defined but not used [-Wunused-variable]
112 | static GParamSpec* kkc_sorted_trigram_language_model_properties[KKC_SORTED_TRIGRAM_LANGUAGE_MODEL_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
key-event.c: In function 'kkc_key_event_construct_from_string':
key-event.c:486:19: warning: variable '_tmp36__length1' set but not used [-Wunused-but-set-variable]
486 | gint _tmp36__length1;
| ^~~~~~~~~~~~~~~
key-event.c:475:18: warning: variable '_tmp33__length1' set but not used [-Wunused-but-set-variable]
475 | gint _tmp33__length1;
| ^~~~~~~~~~~~~~~
key-event.c:464:17: warning: variable '_tmp30__length1' set but not used [-Wunused-but-set-variable]
464 | gint _tmp30__length1;
| ^~~~~~~~~~~~~~~
key-event.c:453:16: warning: variable '_tmp27__length1' set but not used [-Wunused-but-set-variable]
453 | gint _tmp27__length1;
| ^~~~~~~~~~~~~~~
key-event.c:442:15: warning: variable '_tmp24__length1' set but not used [-Wunused-but-set-variable]
442 | gint _tmp24__length1;
| ^~~~~~~~~~~~~~~
key-event.c:431:14: warning: variable '_tmp21__length1' set but not used [-Wunused-but-set-variable]
431 | gint _tmp21__length1;
| ^~~~~~~~~~~~~~~
key-event.c:420:13: warning: variable '_tmp18__length1' set but not used [-Wunused-but-set-variable]
420 | gint _tmp18__length1;
| ^~~~~~~~~~~~~~~
key-event.c:409:12: warning: variable '_tmp15__length1' set but not used [-Wunused-but-set-variable]
409 | gint _tmp15__length1;
| ^~~~~~~~~~~~~~~
key-event.c:398:11: warning: variable '_tmp12__length1' set but not used [-Wunused-but-set-variable]
398 | gint _tmp12__length1;
| ^~~~~~~~~~~~~~~
key-event.c:376:10: warning: variable '_tmp9__length1' set but not used [-Wunused-but-set-variable]
376 | gint _tmp9__length1;
| ^~~~~~~~~~~~~~
key-event.c:373:13: warning: variable '_tmp8_' set but not used [-Wunused-but-set-variable]
373 | gchar** _tmp8_;
| ^~~~~~
key-event.c:522:9: warning: variable '_tmp41__length1' set but not used [-Wunused-but-set-variable]
522 | gint _tmp41__length1;
| ^~~~~~~~~~~~~~~
key-event.c:357:8: warning: variable '_tmp39__length1' set but not used [-Wunused-but-set-variable]
357 | gint _tmp39__length1;
| ^~~~~~~~~~~~~~~
key-event.c:354:8: warning: variable '_strv_size_' set but not used [-Wunused-but-set-variable]
354 | gint _strv_size_;
| ^~~~~~~~~~~
key-event.c:576:10: warning: unused variable '_mod_collection_size_' [-Wunused-variable]
576 | gint _mod_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~
key-event.c:558:9: warning: variable '_mods_size_' set but not used [-Wunused-but-set-variable]
558 | gint _mods_size_;
| ^~~~~~~~~~~
key-event.c: In function 'kkc_key_event_to_string':
key-event.c:974:9: warning: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
974 | array = _tmp32_;
| ^
key-event.c:900:11: warning: variable '_tmp33_' set but not used [-Wunused-but-set-variable]
900 | gchar** _tmp33_;
| ^~~~~~~
key-event.c:898:8: warning: variable '_array_size_' set but not used [-Wunused-but-set-variable]
898 | gint _array_size_;
| ^~~~~~~~~~~~
map-file.c:43:20: warning: 'kkc_map_file_properties' defined but not used [-Wunused-variable]
43 | static GParamSpec* kkc_map_file_properties[KKC_MAP_FILE_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~
encoding.c: In function 'kkc_encoding_converter_construct_from_coding_system':
encoding.c:251:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
251 | entry_collection = KKC_ENCODING_CONVERTER_ENCODING_TO_CODING_SYSTEM_RULE;
| ^
encoding.c:249:8: warning: unused variable '_entry_collection_size_' [-Wunused-variable]
249 | gint _entry_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~
encoding.c: In function 'string_get_data':
encoding.c:295:7: warning: variable '_res_size_' set but not used [-Wunused-but-set-variable]
295 | gint _res_size_;
| ^~~~~~~~~~
encoding.c: In function 'kkc_encoding_converter_convert':
encoding.c:413:11: warning: variable '_tmp15__length1' set but not used [-Wunused-but-set-variable]
413 | gint _tmp15__length1;
| ^~~~~~~~~~~~~~~
encoding.c:377:11: warning: variable '_tmp8_' set but not used [-Wunused-but-set-variable]
377 | guint8* _tmp8_;
| ^~~~~~
encoding.c:376:8: warning: variable '_tmp7__length1' set but not used [-Wunused-but-set-variable]
376 | gint _tmp7__length1;
| ^~~~~~~~~~~~~~
encoding.c:371:11: warning: variable '_tmp6_' set but not used [-Wunused-but-set-variable]
371 | guint8* _tmp6_;
| ^~~~~~
encoding.c:342:7: warning: variable '_outbuf_size_' set but not used [-Wunused-but-set-variable]
342 | gint _outbuf_size_;
| ^~~~~~~~~~~~~
encoding.c:338:7: warning: variable '_inbuf_size_' set but not used [-Wunused-but-set-variable]
338 | gint _inbuf_size_;
| ^~~~~~~~~~~~
rom-kana.c:2768:1: warning: '_vala_array_free' defined but not used [-Wunused-function]
2768 | _vala_array_free (gpointer array,
| ^~~~~~~~~~~~~~~~
rom-kana.c:56:20: warning: 'kkc_rom_kana_node_properties' defined but not used [-Wunused-variable]
56 | static GParamSpec* kkc_rom_kana_node_properties[KKC_ROM_KANA_NODE_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
trigram-decoder.c: In function 'kkc_unigram_to_unigram_path_cost_func_real_path_cost':
trigram-decoder.c:812:36: warning: variable 'self' set but not used [-Wunused-but-set-variable]
812 | KkcUnigramToUnigramPathCostFunc * self;
| ^~~~
trigram-decoder.c: In function 'kkc_unigram_to_bigram_path_cost_func_real_path_cost':
trigram-decoder.c:976:35: warning: variable 'self' set but not used [-Wunused-but-set-variable]
976 | KkcUnigramToBigramPathCostFunc * self;
| ^~~~
trigram-decoder.c: In function 'kkc_bigram_to_unigram_path_cost_func_real_path_cost':
trigram-decoder.c:1178:35: warning: variable 'self' set but not used [-Wunused-but-set-variable]
1178 | KkcBigramToUnigramPathCostFunc * self;
| ^~~~
trigram-decoder.c: In function 'kkc_bigram_to_bigram_path_cost_func_real_path_cost':
trigram-decoder.c:1321:34: warning: variable 'self' set but not used [-Wunused-but-set-variable]
1321 | KkcBigramToBigramPathCostFunc * self;
| ^~~~
trigram-decoder.c: In function 'kkc_trigram_decoder_real_decode_with_costs':
trigram-decoder.c:1540:7: warning: variable '_trellis_size_' set but not used [-Wunused-but-set-variable]
1540 | gint _trellis_size_;
| ^~~~~~~~~~~~~~
trigram-decoder.c: In function 'kkc_trigram_decoder_add_trigram_nodes':
trigram-decoder.c:1600:10: warning: variable '_tmp4__length1' set but not used [-Wunused-but-set-variable]
1600 | gint _tmp4__length1;
| ^~~~~~~~~~~~~~
trigram-decoder.c:1597:20: warning: variable '_tmp3_' set but not used [-Wunused-but-set-variable]
1597 | GeeArrayList** _tmp3_;
| ^~~~~~
trigram-decoder.c:1635:10: warning: variable '_tmp10__length1' set but not used [-Wunused-but-set-variable]
1635 | gint _tmp10__length1;
| ^~~~~~~~~~~~~~~
trigram-decoder.c:1632:18: warning: variable '_tmp9_' set but not used [-Wunused-but-set-variable]
1632 | GeeHashSet** _tmp9_;
| ^~~~~~
trigram-decoder.c:1862:17: warning: variable '_tmp76__length1' set but not used [-Wunused-but-set-variable]
1862 | gint _tmp76__length1;
| ^~~~~~~~~~~~~~~
trigram-decoder.c:1858:17: warning: variable '_tmp73__length1' set but not used [-Wunused-but-set-variable]
1858 | gint _tmp73__length1;
| ^~~~~~~~~~~~~~~
trigram-decoder.c:1808:16: warning: variable '_tmp56__length1' set but not used [-Wunused-but-set-variable]
1808 | gint _tmp56__length1;
| ^~~~~~~~~~~~~~~
trigram-decoder.c:1908:10: warning: variable '_tmp82__length1' set but not used [-Wunused-but-set-variable]
1908 | gint _tmp82__length1;
| ^~~~~~~~~~~~~~~
trigram-decoder.c:1584:7: warning: variable '_overlapped_nodes_size_' set but not used [-Wunused-but-set-variable]
1584 | gint _overlapped_nodes_size_;
| ^~~~~~~~~~~~~~~~~~~~~~~
trigram-decoder.c:1580:7: warning: variable '_trigram_trellis_size_' set but not used [-Wunused-but-set-variable]
1580 | gint _trigram_trellis_size_;
| ^~~~~~~~~~~~~~~~~~~~~~
At top level:
trigram-decoder.c:202:20: warning: 'kkc_trigram_decoder_properties' defined but not used [-Wunused-variable]
202 | static GParamSpec* kkc_trigram_decoder_properties[KKC_TRIGRAM_DECODER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
template.c: In function 'kkc_simple_template_real_expand':
template.c:265:22: warning: variable 'self' set but not used [-Wunused-but-set-variable]
265 | KkcSimpleTemplate * self;
| ^~~~
bloom-filter.c:43:20: warning: 'kkc_bloom_filter_properties' defined but not used [-Wunused-variable]
43 | static GParamSpec* kkc_bloom_filter_properties[KKC_BLOOM_FILTER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:62,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from numeric-template.c:22:
numeric-template.c: In function 'kkc_numeric_template_real_expand':
/usr/include/glib-2.0/glib/gmessages.h:667:12: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
667 | return (val); \
| ^
numeric-template.c:502:6: note: in expansion of macro 'g_return_val_if_reached'
502 | g_return_val_if_reached (text);
| ^~~~~~~~~~~~~~~~~~~~~~~
language-model.c: In function 'kkc_language_model_metadata_find':
language-model.c:580:8: warning: unused variable '_dir_collection_size_' [-Wunused-variable]
580 | gint _dir_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~
language-model.c:565:7: warning: variable '_dirs_size_' set but not used [-Wunused-but-set-variable]
565 | gint _dirs_size_;
| ^~~~~~~~~~~
language-model.c: In function 'kkc_language_model_metadata_finalize':
language-model.c:751:29: warning: variable 'self' set but not used [-Wunused-but-set-variable]
751 | KkcLanguageModelMetadata * self;
| ^~~~
user-sentence-dictionary.c: In function 'kkc_user_sentence_dictionary_load':
user-sentence-dictionary.c:335:38: warning: passing argument 3 of 'g_file_load_contents' from incompatible pointer type [-Wincompatible-pointer-types]
335 | g_file_load_contents (_tmp0_, NULL, &_tmp1_, &_tmp2_, &_tmp3_, &_inner_error0_);
| ^~~~~~~
| |
| guint8 ** {aka unsigned char **}
In file included from /usr/include/glib-2.0/gio/gio.h:77,
from user-sentence-dictionary.c:26:
/usr/include/glib-2.0/gio/gfile.h:1203:36: note: expected 'char **' but argument is of type 'guint8 **' {aka 'unsigned char **'}
1203 | char **contents,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
user-sentence-dictionary.c:597:11: warning: unused variable '_str_collection_size_' [-Wunused-variable]
597 | gint _str_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~
user-sentence-dictionary.c:574:10: warning: variable '_strv_size_' set but not used [-Wunused-but-set-variable]
574 | gint _strv_size_;
| ^~~~~~~~~~~
user-sentence-dictionary.c:660:11: warning: unused variable '_str_collection_size_' [-Wunused-variable]
660 | gint _str_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~
user-sentence-dictionary.c:637:10: warning: variable '_strv_size_' set but not used [-Wunused-but-set-variable]
637 | gint _strv_size_;
| ^~~~~~~~~~~
user-sentence-dictionary.c:323:8: warning: variable 'length' set but not used [-Wunused-but-set-variable]
323 | gsize length = 0UL;
| ^~~~~~
user-sentence-dictionary.c:307:7: warning: variable '_contents_size_' set but not used [-Wunused-but-set-variable]
307 | gint _contents_size_ = 0;
| ^~~~~~~~~~~~~~~
user-sentence-dictionary.c: In function 'kkc_user_sentence_dictionary_write_constraint_entries':
user-sentence-dictionary.c:951:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
951 | _tmp6_ = _tmp5_;
| ^
user-sentence-dictionary.c:989:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
989 | _tmp16_ = _tmp15_;
| ^
user-sentence-dictionary.c:968:11: warning: variable '_tmp13__length1' set but not used [-Wunused-but-set-variable]
968 | gint _tmp13__length1;
| ^~~~~~~~~~~~~~~
user-sentence-dictionary.c:965:14: warning: variable '_tmp12_' set but not used [-Wunused-but-set-variable]
965 | gchar** _tmp12_;
| ^~~~~~~
user-sentence-dictionary.c:930:8: warning: variable '_strv_size_' set but not used [-Wunused-but-set-variable]
930 | gint _strv_size_;
| ^~~~~~~~~~~
user-sentence-dictionary.c: In function 'kkc_user_sentence_dictionary_write_phrase_entries':
user-sentence-dictionary.c:1063:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
1063 | _tmp6_ = _tmp5_;
| ^
user-sentence-dictionary.c:1102:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
1102 | _tmp16_ = _tmp15_;
| ^
user-sentence-dictionary.c:1080:11: warning: variable '_tmp13__length1' set but not used [-Wunused-but-set-variable]
1080 | gint _tmp13__length1;
| ^~~~~~~~~~~~~~~
user-sentence-dictionary.c:1077:14: warning: variable '_tmp12_' set but not used [-Wunused-but-set-variable]
1077 | gchar** _tmp12_;
| ^~~~~~~
user-sentence-dictionary.c:1042:8: warning: variable '_strv_size_' set but not used [-Wunused-but-set-variable]
1042 | gint _strv_size_;
| ^~~~~~~~~~~
user-sentence-dictionary.c: In function 'string_get_data':
user-sentence-dictionary.c:1162:7: warning: variable '_res_size_' set but not used [-Wunused-but-set-variable]
1162 | gint _res_size_;
| ^~~~~~~~~~
user-sentence-dictionary.c: In function 'kkc_user_sentence_dictionary_real_save':
user-sentence-dictionary.c:1288:36: warning: pointer targets in passing argument 2 of 'g_file_replace_contents' differ in signedness [-Wpointer-sign]
1288 | g_file_replace_contents (_tmp29_, _tmp33_, (gsize) _tmp33__length1, _tmp34_, FALSE, G_FILE_CREATE_PRIVATE, &_tmp35_, NULL, &_inner_error0_);
| ^~~~~~~
| |
| guint8 * {aka unsigned char *}
In file included from /usr/include/glib-2.0/gio/gio.h:77,
from user-sentence-dictionary.c:26:
/usr/include/glib-2.0/gio/gfile.h:1234:36: note: expected 'const char *' but argument is of type 'guint8 *' {aka 'unsigned char *'}
1234 | const char *contents,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
user-sentence-dictionary.c: In function 'kkc_user_sentence_dictionary_real_lookup_constraint':
user-sentence-dictionary.c:1406:19: warning: assignment to 'gint *' {aka 'int *'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
1406 | _vala_constraint = _tmp6_;
| ^
user-sentence-dictionary.c: In function 'kkc_user_sentence_dictionary_real_lookup_phrase':
user-sentence-dictionary.c:1475:15: warning: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
1475 | _vala_phrase = _tmp8_;
| ^
user-sentence-dictionary.c: In function 'kkc_user_sentence_dictionary_real_select_segments':
user-sentence-dictionary.c:1547:8: warning: unused variable '_segment_collection_size_' [-Wunused-variable]
1547 | gint _segment_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
user-sentence-dictionary.c:1602:8: warning: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
1602 | array = _tmp19_;
| ^
user-sentence-dictionary.c:1521:10: warning: variable '_tmp20_' set but not used [-Wunused-but-set-variable]
1521 | gchar** _tmp20_;
| ^~~~~~~
user-sentence-dictionary.c:1519:7: warning: variable '_array_size_' set but not used [-Wunused-but-set-variable]
1519 | gint _array_size_;
| ^~~~~~~~~~~~
At top level:
user-sentence-dictionary.c:70:20: warning: 'kkc_user_sentence_dictionary_properties' defined but not used [-Wunused-variable]
70 | static GParamSpec* kkc_user_sentence_dictionary_properties[KKC_USER_SENTENCE_DICTIONARY_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
expression.c:91:20: warning: 'kkc_expression_properties' defined but not used [-Wunused-variable]
91 | static GParamSpec* kkc_expression_properties[KKC_EXPRESSION_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~
expression.c:74:20: warning: 'kkc_expression_evaluator_properties' defined but not used [-Wunused-variable]
74 | static GParamSpec* kkc_expression_evaluator_properties[KKC_EXPRESSION_EVALUATOR_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
expression.c:56:20: warning: 'kkc_expression_reader_properties' defined but not used [-Wunused-variable]
56 | static GParamSpec* kkc_expression_reader_properties[KKC_EXPRESSION_READER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
initial-state-handler.c: In function 'kkc_initial_state_handler_real_default_command_callback':
initial-state-handler.c:1177:27: warning: variable 'self' set but not used [-Wunused-but-set-variable]
1177 | KkcInitialStateHandler * self;
| ^~~~
initial-state-handler.c: In function 'kkc_initial_state_handler_convert_command_handler_finalize':
initial-state-handler.c:1816:48: warning: variable 'self' set but not used [-Wunused-but-set-variable]
1816 | KkcInitialStateHandlerConvertCommandHandler * self;
| ^~~~
At top level:
initial-state-handler.c:243:20: warning: 'kkc_initial_state_handler_convert_command_handler_properties' defined but not used [-Wunused-variable]
243 | static GParamSpec* kkc_initial_state_handler_convert_command_handler_properties[KKC_INITIAL_STATE_HANDLER_CONVERT_COMMAND_HANDLER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
initial-state-handler.c:73:20: warning: 'kkc_initial_state_handler_properties' defined but not used [-Wunused-variable]
73 | static GParamSpec* kkc_initial_state_handler_properties[KKC_INITIAL_STATE_HANDLER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
candidate-list.c: In function 'kkc_candidate_list_contains':
candidate-list.c:254:2: warning: 'gee_map_contains' is deprecated [-Wdeprecated-declarations]
254 | result = gee_map_contains (_tmp0_, _tmp2_);
| ^~~~~~
In file included from candidate-list.c:24:
/usr/include/gee-0.8/gee.h:2191:10: note: declared here
2191 | gboolean gee_map_contains (GeeMap* self,
| ^~~~~~~~~~~~~~~~
candidate-list.c: In function 'kkc_candidate_list_add':
candidate-list.c:271:2: warning: 'gee_map_contains' is deprecated [-Wdeprecated-declarations]
271 | if (gee_map_contains (_tmp0_, _tmp2_)) {
| ^~
In file included from candidate-list.c:24:
/usr/include/gee-0.8/gee.h:2191:10: note: declared here
2191 | gboolean gee_map_contains (GeeMap* self,
| ^~~~~~~~~~~~~~~~
candidate-list.c: In function 'kkc_candidate_list_to_array':
candidate-list.c:395:9: warning: assignment to 'KkcCandidate **' {aka 'struct _KkcCandidate **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
395 | _tmp3_ = _tmp2_;
| ^
convert-sentence-state-handler.c: In function 'kkc_convert_sentence_state_handler_real_default_command_callback':
convert-sentence-state-handler.c:732:35: warning: variable 'self' set but not used [-Wunused-but-set-variable]
732 | KkcConvertSentenceStateHandler * self;
| ^~~~
convert-sentence-state-handler.c: In function 'kkc_convert_sentence_state_handler_convert_command_handler_finalize':
convert-sentence-state-handler.c:898:56: warning: variable 'self' set but not used [-Wunused-but-set-variable]
898 | KkcConvertSentenceStateHandlerConvertCommandHandler * self;
| ^~~~
At top level:
convert-sentence-state-handler.c:228:20: warning: 'kkc_convert_sentence_state_handler_convert_command_handler_properties' defined but not used [-Wunused-variable]
228 | static GParamSpec* kkc_convert_sentence_state_handler_convert_command_handler_properties[KKC_CONVERT_SENTENCE_STATE_HANDLER_CONVERT_COMMAND_HANDLER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
convert-sentence-state-handler.c:73:20: warning: 'kkc_convert_sentence_state_handler_properties' defined but not used [-Wunused-variable]
73 | static GParamSpec* kkc_convert_sentence_state_handler_properties[KKC_CONVERT_SENTENCE_STATE_HANDLER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:62,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from system-segment-dictionary.c:22:
system-segment-dictionary.c: In function 'kkc_system_segment_dictionary_read_until':
/usr/include/glib-2.0/glib/gmessages.h:644:16: warning: returning 'void *' from a function with return type 'gboolean' {aka 'int'} makes integer from pointer without a cast [-Wint-conversion]
644 | return (val); \
| ^
system-segment-dictionary.c:371:2: note: in expansion of macro 'g_return_val_if_fail'
371 | g_return_val_if_fail (((gsize) (*offset)) < g_mapped_file_get_length (_tmp0_), NULL);
| ^~~~~~~~~~~~~~~~~~~~
system-segment-dictionary.c: In function 'kkc_system_segment_dictionary_real_lookup_candidates':
system-segment-dictionary.c:799:8: warning: variable 'pos' set but not used [-Wunused-but-set-variable]
799 | glong pos = 0L;
| ^~~
system-segment-dictionary.c: In function 'kkc_system_segment_dictionary_real_complete':
system-segment-dictionary.c:1142:11: warning: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
1142 | _tmp15_ = _tmp14_;
| ^
system-segment-dictionary.c:1391:10: warning: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
1391 | _tmp72_ = _tmp71_;
| ^
At top level:
system-segment-dictionary.c:79:20: warning: 'kkc_system_segment_dictionary_properties' defined but not used [-Wunused-variable]
79 | static GParamSpec* kkc_system_segment_dictionary_properties[KKC_SYSTEM_SEGMENT_DICTIONARY_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
state.c: In function '__lambda10_':
state.c:1666:12: warning: variable 'self' set but not used [-Wunused-but-set-variable]
1666 | KkcState* self;
| ^~~~
state.c: In function 'kkc_state_select_sentence_for_dictionary':
state.c:1770:9: warning: variable '_tmp13__length1' set but not used [-Wunused-but-set-variable]
1770 | gint _tmp13__length1;
| ^~~~~~~~~~~~~~~
state.c:1767:12: warning: variable '_tmp12_' set but not used [-Wunused-but-set-variable]
1767 | gchar** _tmp12_;
| ^~~~~~~
state.c:1763:9: warning: variable '__segments_size_' set but not used [-Wunused-but-set-variable]
1763 | gint __segments_size_;
| ^~~~~~~~~~~~~~~~
state.c: In function 'kkc_state_select_sentence':
state.c:1908:10: warning: variable '_tmp7__length1' set but not used [-Wunused-but-set-variable]
1908 | gint _tmp7__length1;
| ^~~~~~~~~~~~~~
state.c:1905:13: warning: variable '_tmp6_' set but not used [-Wunused-but-set-variable]
1905 | gchar** _tmp6_;
| ^~~~~~
state.c:1870:7: warning: variable '_sequence_size_' set but not used [-Wunused-but-set-variable]
1870 | gint _sequence_size_;
| ^~~~~~~~~~~~~~~
state.c: In function 'kkc_state_lookup_single_for_dictionary':
state.c:2042:8: warning: variable '_tmp13__length1' set but not used [-Wunused-but-set-variable]
2042 | gint _tmp13__length1;
| ^~~~~~~~~~~~~~~
state.c:2091:9: warning: variable '_tmp30__length1' set but not used [-Wunused-but-set-variable]
2091 | gint _tmp30__length1;
| ^~~~~~~~~~~~~~~
state.c:2004:7: warning: variable '__candidates_size_' set but not used [-Wunused-but-set-variable]
2004 | gint __candidates_size_ = 0;
| ^~~~~~~~~~~~~~~~~~
state.c: In function 'kkc_state_lookup':
state.c:2604:8: warning: unused variable '__segment_collection_size_' [-Wunused-variable]
2604 | gint __segment_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
state.c:2384:7: warning: variable '__segments_size_' set but not used [-Wunused-but-set-variable]
2384 | gint __segments_size_;
| ^~~~~~~~~~~~~~~~
state.c:2378:7: warning: variable '_tmp70__length1' set but not used [-Wunused-but-set-variable]
2378 | gint _tmp70__length1;
| ^~~~~~~~~~~~~~~
state.c: In function 'kkc_state_lookup_template_for_dictionary':
state.c:2751:9: warning: unused variable '_candidate_collection_size_' [-Wunused-variable]
2751 | gint _candidate_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
state.c:2719:7: warning: variable '__candidates_size_' set but not used [-Wunused-but-set-variable]
2719 | gint __candidates_size_ = 0;
| ^~~~~~~~~~~~~~~~~~
state.c: In function 'kkc_state_merge_possible_okurigana_segments':
state.c:3048:18: warning: variable '_tmp49_' set but not used [-Wunused-but-set-variable]
3048 | KkcSegment* _tmp49_;
| ^~~~~~~
state.c:3037:18: warning: variable '_tmp38_' set but not used [-Wunused-but-set-variable]
3037 | KkcSegment* _tmp38_;
| ^~~~~~~
state.c: In function 'kkc_state_convert_sentence':
state.c:3151:7: warning: variable '_tmp9__length1' set but not used [-Wunused-but-set-variable]
3151 | gint _tmp9__length1;
| ^~~~~~~~~~~~~~
state.c:3148:7: warning: variable '__segments_size_' set but not used [-Wunused-but-set-variable]
3148 | gint __segments_size_;
| ^~~~~~~~~~~~~~~~
state.c:3141:7: warning: variable '__tmp1__size_' set but not used [-Wunused-but-set-variable]
3141 | gint __tmp1__size_;
| ^~~~~~~~~~~~~
state.c: In function 'kkc_state_apply_constraint_for_dictionary':
state.c:3557:16: warning: variable '_tmp47__length1' set but not used [-Wunused-but-set-variable]
3557 | gint _tmp47__length1;
| ^~~~~~~~~~~~~~~
state.c:3597:15: warning: variable '_tmp61__length1' set but not used [-Wunused-but-set-variable]
3597 | gint _tmp61__length1;
| ^~~~~~~~~~~~~~~
state.c:3501:11: warning: variable '_tmp33__length1' set but not used [-Wunused-but-set-variable]
3501 | gint _tmp33__length1;
| ^~~~~~~~~~~~~~~
state.c:3662:15: warning: variable '_tmp77__length1' set but not used [-Wunused-but-set-variable]
3662 | gint _tmp77__length1;
| ^~~~~~~~~~~~~~~
state.c:3713:13: warning: variable '_tmp88__length1' set but not used [-Wunused-but-set-variable]
3713 | gint _tmp88__length1;
| ^~~~~~~~~~~~~~~
state.c:3709:14: warning: variable '_tmp86_' set but not used [-Wunused-but-set-variable]
3709 | gint* _tmp86_;
| ^~~~~~~
state.c:3483:10: warning: variable '_tmp91__length1' set but not used [-Wunused-but-set-variable]
3483 | gint _tmp91__length1;
| ^~~~~~~~~~~~~~~
state.c:3476:11: warning: variable '_tmp24_' set but not used [-Wunused-but-set-variable]
3476 | gint* _tmp24_;
| ^~~~~~~
state.c:3440:9: warning: variable '__constraint_size_' set but not used [-Wunused-but-set-variable]
3440 | gint __constraint_size_ = 0;
| ^~~~~~~~~~~~~~~~~~
state.c:3751:10: warning: assignment to 'gint *' {aka 'int *'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
3751 | _tmp98_ = _tmp97_;
| ^
state.c:3392:7: warning: variable '__segments_size_' set but not used [-Wunused-but-set-variable]
3392 | gint __segments_size_;
| ^~~~~~~~~~~~~~~~
state.c:3386:7: warning: variable '_tmp98__length1' set but not used [-Wunused-but-set-variable]
3386 | gint _tmp98__length1;
| ^~~~~~~~~~~~~~~
state.c:3373:10: warning: variable '_tmp5_' set but not used [-Wunused-but-set-variable]
3373 | gchar** _tmp5_;
| ^~~~~~
state.c:3371:10: warning: variable '_tmp4_' set but not used [-Wunused-but-set-variable]
3371 | gchar** _tmp4_;
| ^~~~~~
state.c:3367:7: warning: variable '_sequence_size_' set but not used [-Wunused-but-set-variable]
3367 | gint _sequence_size_;
| ^~~~~~~~~~~~~~~
state.c: In function 'kkc_state_apply_phrase_for_dictionary':
state.c:3880:10: warning: variable '_tmp10__length1' set but not used [-Wunused-but-set-variable]
3880 | gint _tmp10__length1;
| ^~~~~~~~~~~~~~~
state.c:3992:13: warning: variable '_tmp42__length1' set but not used [-Wunused-but-set-variable]
3992 | gint _tmp42__length1;
| ^~~~~~~~~~~~~~~
state.c:3985:16: warning: variable '_tmp37_' set but not used [-Wunused-but-set-variable]
3985 | gchar** _tmp37_;
| ^~~~~~~
state.c:3976:13: warning: variable '_tmp44_' set but not used [-Wunused-but-set-variable]
3976 | gchar** _tmp44_;
| ^~~~~~~
state.c:3946:9: warning: variable '__value_size_' set but not used [-Wunused-but-set-variable]
3946 | gint __value_size_ = 0;
| ^~~~~~~~~~~~~
state.c:3854:10: warning: variable '_tmp19_' set but not used [-Wunused-but-set-variable]
3854 | gchar** _tmp19_;
| ^~~~~~~
state.c:3852:10: warning: variable '_tmp18_' set but not used [-Wunused-but-set-variable]
3852 | gchar** _tmp18_;
| ^~~~~~~
state.c:3848:7: warning: variable '_sequence_size_' set but not used [-Wunused-but-set-variable]
3848 | gint _sequence_size_;
| ^~~~~~~~~~~~~~~
state.c: In function 'kkc_state_resize_segment':
state.c:4247:11: warning: variable '_tmp44__length1' set but not used [-Wunused-but-set-variable]
4247 | gint _tmp44__length1;
| ^~~~~~~~~~~~~~~
state.c:4244:14: warning: variable '_tmp43_' set but not used [-Wunused-but-set-variable]
4244 | gchar** _tmp43_;
| ^~~~~~~
state.c:4306:11: warning: variable '_tmp65__length1' set but not used [-Wunused-but-set-variable]
4306 | gint _tmp65__length1;
| ^~~~~~~~~~~~~~~
state.c:4300:14: warning: variable '_tmp61_' set but not used [-Wunused-but-set-variable]
4300 | gchar** _tmp61_;
| ^~~~~~~
state.c:4140:8: warning: variable '_output_size_' set but not used [-Wunused-but-set-variable]
4140 | gint _output_size_;
| ^~~~~~~~~~~~~
state.c: In function '__lambda13_':
state.c:4361:12: warning: variable 'self' set but not used [-Wunused-but-set-variable]
4361 | KkcState* self;
| ^~~~
state.c: In function '__lambda11_':
state.c:4458:8: warning: unused variable '_word_collection_size_' [-Wunused-variable]
4458 | gint _word_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~
state.c:4440:7: warning: variable '__completion_size_' set but not used [-Wunused-but-set-variable]
4440 | gint __completion_size_;
| ^~~~~~~~~~~~~~~~~~
state.c: In function 'kkc_state_set_input_mode':
state.c:4559:13: warning: comparison between 'KkcInputMode' and 'enum <anonymous>' [-Wenum-compare]
4559 | if (_tmp2_ >= KKC_KANA_MODE_HIRAGANA) {
| ^~
state.c:4562:19: warning: comparison between 'KkcInputMode' and 'enum <anonymous>' [-Wenum-compare]
4562 | _tmp1_ = _tmp3_ <= KKC_KANA_MODE_WIDE_LATIN;
| ^~
state.c: In function 'kkc_callback_command_handler_finalize':
state.c:4995:30: warning: variable 'self' set but not used [-Wunused-but-set-variable]
4995 | KkcCallbackCommandHandler * self;
| ^~~~
At top level:
state.c:4408:1: warning: 'block10_data_ref' defined but not used [-Wunused-function]
4408 | block10_data_ref (Block10Data* _data10_)
| ^~~~~~~~~~~~~~~~
state.c:4337:1: warning: 'block9_data_ref' defined but not used [-Wunused-function]
4337 | block9_data_ref (Block9Data* _data9_)
| ^~~~~~~~~~~~~~~
state.c:3771:1: warning: 'block8_data_ref' defined but not used [-Wunused-function]
3771 | block8_data_ref (Block8Data* _data8_)
| ^~~~~~~~~~~~~~~
state.c:2819:1: warning: 'block7_data_ref' defined but not used [-Wunused-function]
2819 | block7_data_ref (Block7Data* _data7_)
| ^~~~~~~~~~~~~~~
state.c:2118:1: warning: 'block6_data_ref' defined but not used [-Wunused-function]
2118 | block6_data_ref (Block6Data* _data6_)
| ^~~~~~~~~~~~~~~
state.c:1816:1: warning: 'block5_data_ref' defined but not used [-Wunused-function]
1816 | block5_data_ref (Block5Data* _data5_)
| ^~~~~~~~~~~~~~~
state.c:1642:1: warning: 'block4_data_ref' defined but not used [-Wunused-function]
1642 | block4_data_ref (Block4Data* _data4_)
| ^~~~~~~~~~~~~~~
state.c:416:20: warning: 'kkc_state_handler_properties' defined but not used [-Wunused-variable]
416 | static GParamSpec* kkc_state_handler_properties[KKC_STATE_HANDLER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
state.c:410:20: warning: 'kkc_callback_command_handler_properties' defined but not used [-Wunused-variable]
410 | static GParamSpec* kkc_callback_command_handler_properties[KKC_CALLBACK_COMMAND_HANDLER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rule.c: In function 'kkc_keymap_map_file_real_uniquify':
rule.c:506:21: warning: variable 'self' set but not used [-Wunused-but-set-variable]
506 | KkcKeymapMapFile * self;
| ^~~~
rule.c: In function 'kkc_rule_metadata_find':
rule.c:1372:8: warning: unused variable '_dir_collection_size_' [-Wunused-variable]
1372 | gint _dir_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~
rule.c:1348:7: warning: variable '_dirs_size_' set but not used [-Wunused-but-set-variable]
1348 | gint _dirs_size_;
| ^~~~~~~~~~~
rule.c: In function 'kkc_rule_get_keymap':
rule.c:1646:7: warning: variable '_tmp0__length1' set but not used [-Wunused-but-set-variable]
1646 | gint _tmp0__length1;
| ^~~~~~~~~~~~~~
rule.c: In function 'kkc_rule_real_init':
rule.c:1791:11: warning: variable '_tmp27__length1' set but not used [-Wunused-but-set-variable]
1791 | gint _tmp27__length1;
| ^~~~~~~~~~~~~~~
rule.c: In function 'kkc_rule_list':
rule.c:1938:8: warning: unused variable '_dir_collection_size_' [-Wunused-variable]
1938 | gint _dir_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~
rule.c:1916:7: warning: variable '_dirs_size_' set but not used [-Wunused-but-set-variable]
1916 | gint _dirs_size_;
| ^~~~~~~~~~~
At top level:
rule.c:126:20: warning: 'kkc_rom_kana_map_file_properties' defined but not used [-Wunused-variable]
126 | static GParamSpec* kkc_rom_kana_map_file_properties[KKC_ROM_KANA_MAP_FILE_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rule.c:66:20: warning: 'kkc_keymap_map_file_properties' defined but not used [-Wunused-variable]
66 | static GParamSpec* kkc_keymap_map_file_properties[KKC_KEYMAP_MAP_FILE_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bigram-decoder.c: In function 'kkc_bigram_decoder_real_decode_with_costs':
bigram-decoder.c:725:10: warning: variable '_tmp10__length1' set but not used [-Wunused-but-set-variable]
725 | gint _tmp10__length1;
| ^~~~~~~~~~~~~~~
bigram-decoder.c:722:20: warning: variable '_tmp9_' set but not used [-Wunused-but-set-variable]
722 | GeeArrayList** _tmp9_;
| ^~~~~~
bigram-decoder.c:693:7: warning: variable '_segments_size_' set but not used [-Wunused-but-set-variable]
693 | gint _segments_size_;
| ^~~~~~~~~~~~~~~
bigram-decoder.c:682:7: warning: variable '_trellis_size_' set but not used [-Wunused-but-set-variable]
682 | gint _trellis_size_;
| ^~~~~~~~~~~~~~
bigram-decoder.c: In function 'kkc_bigram_decoder_build_trellis':
bigram-decoder.c:983:10: warning: variable '_tmp4__length1' set but not used [-Wunused-but-set-variable]
983 | gint _tmp4__length1;
| ^~~~~~~~~~~~~~
bigram-decoder.c:980:20: warning: variable '_tmp3_' set but not used [-Wunused-but-set-variable]
980 | GeeArrayList** _tmp3_;
| ^~~~~~
bigram-decoder.c:1078:12: warning: variable '_tmp39__length1' set but not used [-Wunused-but-set-variable]
1078 | gint _tmp39__length1;
| ^~~~~~~~~~~~~~~
bigram-decoder.c:960:7: warning: variable '_tmp19__length1' set but not used [-Wunused-but-set-variable]
960 | gint _tmp19__length1;
| ^~~~~~~~~~~~~~~
bigram-decoder.c:950:7: warning: variable '_tmp11__length1' set but not used [-Wunused-but-set-variable]
950 | gint _tmp11__length1;
| ^~~~~~~~~~~~~~~
bigram-decoder.c:942:7: warning: variable '_trellis_size_' set but not used [-Wunused-but-set-variable]
942 | gint _trellis_size_;
| ^~~~~~~~~~~~~~
bigram-decoder.c: In function 'kkc_bigram_decoder_check_constraint':
bigram-decoder.c:1139:8: warning: unused variable '_c_collection_size_' [-Wunused-variable]
1139 | gint _c_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~
bigram-decoder.c: In function 'kkc_bigram_decoder_check_overlaps':
bigram-decoder.c:1179:8: warning: unused variable '_c_collection_size_' [-Wunused-variable]
1179 | gint _c_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~
bigram-decoder.c: In function 'kkc_bigram_decoder_nbest_node_to_segment':
bigram-decoder.c:1476:12: warning: variable '_tmp12__length1' set but not used [-Wunused-but-set-variable]
1476 | gint _tmp12__length1;
| ^~~~~~~~~~~~~~~
bigram-decoder.c:1468:30: warning: variable '_tmp8_' set but not used [-Wunused-but-set-variable]
1468 | KkcLanguageModelEntry* _tmp8_;
| ^~~~~~
bigram-decoder.c: In function 'kkc_bigram_decoder_backward_search':
bigram-decoder.c:1705:14: warning: variable '_tmp21__length1' set but not used [-Wunused-but-set-variable]
1705 | gint _tmp21__length1;
| ^~~~~~~~~~~~~~~
bigram-decoder.c:1687:30: warning: variable '_tmp15_' set but not used [-Wunused-but-set-variable]
1687 | KkcLanguageModelEntry* _tmp15_;
| ^~~~~~~
bigram-decoder.c:2052:11: warning: assignment to 'KkcSegment **' {aka 'struct _KkcSegment **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
2052 | _tmp136_ = _tmp135_;
| ^
text-bigram-language-model.c: In function 'kkc_text_bigram_language_model_real_get':
text-bigram-language-model.c:416:31: warning: variable 'self' set but not used [-Wunused-but-set-variable]
416 | KkcTextBigramLanguageModel * self;
| ^~~~
text-bigram-language-model.c: In function 'kkc_text_bigram_language_model_get_key':
text-bigram-language-model.c:442:8: warning: unused variable '_id_collection_size_' [-Wunused-variable]
442 | gint _id_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~
text-bigram-language-model.c: In function 'kkc_text_bigram_language_model_real_has_bigram':
text-bigram-language-model.c:475:7: warning: variable '_tmp3__length1' set but not used [-Wunused-but-set-variable]
475 | gint _tmp3__length1;
| ^~~~~~~~~~~~~~
text-bigram-language-model.c: In function 'kkc_text_bigram_language_model_real_unigram_cost':
text-bigram-language-model.c:509:7: warning: variable '_tmp2__length1' set but not used [-Wunused-but-set-variable]
509 | gint _tmp2__length1;
| ^~~~~~~~~~~~~~
text-bigram-language-model.c: In function 'kkc_text_bigram_language_model_real_unigram_backoff':
text-bigram-language-model.c:558:7: warning: variable '_tmp2__length1' set but not used [-Wunused-but-set-variable]
558 | gint _tmp2__length1;
| ^~~~~~~~~~~~~~
text-bigram-language-model.c: In function 'kkc_text_bigram_language_model_real_bigram_cost':
text-bigram-language-model.c:609:7: warning: variable '_tmp3__length1' set but not used [-Wunused-but-set-variable]
609 | gint _tmp3__length1;
| ^~~~~~~~~~~~~~
text-bigram-language-model.c: In function 'kkc_text_bigram_language_model_real_bigram_backoff':
text-bigram-language-model.c:663:7: warning: variable '_tmp3__length1' set but not used [-Wunused-but-set-variable]
663 | gint _tmp3__length1;
| ^~~~~~~~~~~~~~
text-bigram-language-model.c: In function 'kkc_text_bigram_language_model_parse_lm':
text-bigram-language-model.c:784:9: warning: variable 'length' set but not used [-Wunused-but-set-variable]
784 | gsize length = 0UL;
| ^~~~~~
text-bigram-language-model.c:966:10: warning: variable '_tmp34__length1' set but not used [-Wunused-but-set-variable]
966 | gint _tmp34__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:977:10: warning: variable '_tmp36__length1' set but not used [-Wunused-but-set-variable]
977 | gint _tmp36__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:987:10: warning: variable '_tmp39__length1' set but not used [-Wunused-but-set-variable]
987 | gint _tmp39__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:1005:10: warning: variable '_tmp43__length1' set but not used [-Wunused-but-set-variable]
1005 | gint _tmp43__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:1048:10: warning: variable '_tmp60__length1' set but not used [-Wunused-but-set-variable]
1048 | gint _tmp60__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:1071:10: warning: variable '_tmp69__length1' set but not used [-Wunused-but-set-variable]
1071 | gint _tmp69__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:949:9: warning: variable '_tmp74__length1' set but not used [-Wunused-but-set-variable]
949 | gint _tmp74__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:945:9: warning: variable '_tmp66__length1' set but not used [-Wunused-but-set-variable]
945 | gint _tmp66__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:941:9: warning: variable '_tmp55__length1' set but not used [-Wunused-but-set-variable]
941 | gint _tmp55__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:935:9: warning: variable '_tmp50__length1' set but not used [-Wunused-but-set-variable]
935 | gint _tmp50__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:931:9: warning: variable '_tmp47__length1' set but not used [-Wunused-but-set-variable]
931 | gint _tmp47__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:927:9: warning: variable '_tmp32__length1' set but not used [-Wunused-but-set-variable]
927 | gint _tmp32__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:923:9: warning: variable '_input_output_size_' set but not used [-Wunused-but-set-variable]
923 | gint _input_output_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~
text-bigram-language-model.c:919:9: warning: variable '_tmp28__length1' set but not used [-Wunused-but-set-variable]
919 | gint _tmp28__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:1105:9: warning: variable '_tmp82__length1' set but not used [-Wunused-but-set-variable]
1105 | gint _tmp82__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:1128:9: warning: unused variable '_word_collection_size_' [-Wunused-variable]
1128 | gint _word_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~
text-bigram-language-model.c:861:8: warning: variable '_words_size_' set but not used [-Wunused-but-set-variable]
861 | gint _words_size_;
| ^~~~~~~~~~~~
text-bigram-language-model.c:856:8: warning: variable '_tmp84__length1' set but not used [-Wunused-but-set-variable]
856 | gint _tmp84__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:852:11: warning: variable '_tmp81_' set but not used [-Wunused-but-set-variable]
852 | gchar** _tmp81_;
| ^~~~~~~
text-bigram-language-model.c:849:8: warning: variable '_tmp79__length1' set but not used [-Wunused-but-set-variable]
849 | gint _tmp79__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:845:8: warning: variable '_tmp25__length1' set but not used [-Wunused-but-set-variable]
845 | gint _tmp25__length1;
| ^~~~~~~~~~~~~~~
text-bigram-language-model.c:843:8: warning: variable '_strv_size_' set but not used [-Wunused-but-set-variable]
843 | gint _strv_size_;
| ^~~~~~~~~~~
text-bigram-language-model.c:828:9: warning: variable 'length' set but not used [-Wunused-but-set-variable]
828 | gsize length = 0UL;
| ^~~~~~
nicola.c: In function 'kkc_nicola_key_event_filter_get_time':
nicola.c:258:2: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
258 | GTimeVal tv = {0};
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from nicola.c:22:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
547 | struct _GTimeVal
| ^~~~~~~~~
nicola.c:259:2: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
259 | GTimeVal _tmp0_;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from nicola.c:22:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
547 | struct _GTimeVal
| ^~~~~~~~~
nicola.c:260:2: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
260 | GTimeVal _tmp1_;
| ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
from /usr/include/glib-2.0/glib.h:30,
from nicola.c:22:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
547 | struct _GTimeVal
| ^~~~~~~~~
nicola.c:262:2: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations]
262 | g_get_current_time (&tv);
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/giochannel.h:33,
from /usr/include/glib-2.0/glib.h:54,
from nicola.c:22:
/usr/include/glib-2.0/glib/gmain.h:679:8: note: declared here
679 | void g_get_current_time (GTimeVal *result);
| ^~~~~~~~~~~~~~~~~~
At top level:
nicola.c:76:20: warning: 'kkc_nicola_key_event_filter_properties' defined but not used [-Wunused-variable]
76 | static GParamSpec* kkc_nicola_key_event_filter_properties[KKC_NICOLA_KEY_EVENT_FILTER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rom-kana-utils.c: In function 'kkc_rom_kana_utils_get_katakana':
rom-kana-utils.c:588:45: warning: passing argument 2 of 'kkc_rom_kana_utils_foreach_katakana' from incompatible pointer type [-Wincompatible-pointer-types]
588 | kkc_rom_kana_utils_foreach_katakana (kana, ___lambda7__gfunc, _data1_);
| ^~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, void *)
rom-kana-utils.c:489:44: note: expected 'GFunc' {aka 'void (*)(void *, void *)'} but argument is of type 'void (*)(const void *, void *)'
489 | GFunc func,
| ~~~~~~^~~~
rom-kana-utils.c: In function 'kkc_rom_kana_utils_get_hiragana':
rom-kana-utils.c:655:45: warning: passing argument 2 of 'kkc_rom_kana_utils_foreach_katakana' from incompatible pointer type [-Wincompatible-pointer-types]
655 | kkc_rom_kana_utils_foreach_katakana (kana, ___lambda6__gfunc, _data2_);
| ^~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, void *)
rom-kana-utils.c:489:44: note: expected 'GFunc' {aka 'void (*)(void *, void *)'} but argument is of type 'void (*)(const void *, void *)'
489 | GFunc func,
| ~~~~~~^~~~
rom-kana-utils.c: In function 'kkc_rom_kana_utils_get_hankaku_katakana':
rom-kana-utils.c:722:45: warning: passing argument 2 of 'kkc_rom_kana_utils_foreach_katakana' from incompatible pointer type [-Wincompatible-pointer-types]
722 | kkc_rom_kana_utils_foreach_katakana (kana, ___lambda8__gfunc, _data3_);
| ^~~~~~~~~~~~~~~~~
| |
| void (*)(const void *, void *)
rom-kana-utils.c:489:44: note: expected 'GFunc' {aka 'void (*)(void *, void *)'} but argument is of type 'void (*)(const void *, void *)'
489 | GFunc func,
| ~~~~~~^~~~
rom-kana-utils.c: In function 'kkc_rom_kana_utils_get_numeric':
rom-kana-utils.c:1208:60: warning: passing argument 2 of 'kkc_rom_kana_utils_get_kanji_numeric' from incompatible pointer type [-Wincompatible-pointer-types]
1208 | _tmp5_ = kkc_rom_kana_utils_get_kanji_numeric (numeric, KKC_ROM_KANA_UTILS_KanjiNumericTable, (gint) G_N_ELEMENTS (KKC_ROM_KANA_UTILS_KanjiNumericTable), NULL, (gint) 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const gchar ** {aka const char **}
rom-kana-utils.c:785:47: note: expected 'gchar **' {aka 'char **'} but argument is of type 'const gchar **' {aka 'const char **'}
785 | gchar** num_table,
| ~~~~~~~~^~~~~~~~~
rom-kana-utils.c:1215:60: warning: passing argument 2 of 'kkc_rom_kana_utils_get_kanji_numeric' from incompatible pointer type [-Wincompatible-pointer-types]
1215 | _tmp6_ = kkc_rom_kana_utils_get_kanji_numeric (numeric, KKC_ROM_KANA_UTILS_KanjiNumericTable, (gint) G_N_ELEMENTS (KKC_ROM_KANA_UTILS_KanjiNumericTable), KKC_ROM_KANA_UTILS_KanjiNumericalPositionTable, (gint) G_N_ELEMENTS (KKC_ROM_KANA_UTILS_KanjiNumericalPositionTable));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const gchar ** {aka const char **}
rom-kana-utils.c:785:47: note: expected 'gchar **' {aka 'char **'} but argument is of type 'const gchar **' {aka 'const char **'}
785 | gchar** num_table,
| ~~~~~~~~^~~~~~~~~
rom-kana-utils.c:1215:158: warning: passing argument 4 of 'kkc_rom_kana_utils_get_kanji_numeric' from incompatible pointer type [-Wincompatible-pointer-types]
1215 | _tmp6_ = kkc_rom_kana_utils_get_kanji_numeric (numeric, KKC_ROM_KANA_UTILS_KanjiNumericTable, (gint) G_N_ELEMENTS (KKC_ROM_KANA_UTILS_KanjiNumericTable), KKC_ROM_KANA_UTILS_KanjiNumericalPositionTable, (gint) G_N_ELEMENTS (KKC_ROM_KANA_UTILS_KanjiNumericalPositionTable));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const gchar ** {aka const char **}
rom-kana-utils.c:787:47: note: expected 'gchar **' {aka 'char **'} but argument is of type 'const gchar **' {aka 'const char **'}
787 | gchar** num_pos_table,
| ~~~~~~~~^~~~~~~~~~~~~
rom-kana-utils.c:1222:60: warning: passing argument 2 of 'kkc_rom_kana_utils_get_kanji_numeric' from incompatible pointer type [-Wincompatible-pointer-types]
1222 | _tmp7_ = kkc_rom_kana_utils_get_kanji_numeric (numeric, KKC_ROM_KANA_UTILS_DaijiNumericTable, (gint) G_N_ELEMENTS (KKC_ROM_KANA_UTILS_DaijiNumericTable), KKC_ROM_KANA_UTILS_DaijiNumericalPositionTable, (gint) G_N_ELEMENTS (KKC_ROM_KANA_UTILS_DaijiNumericalPositionTable));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const gchar ** {aka const char **}
rom-kana-utils.c:785:47: note: expected 'gchar **' {aka 'char **'} but argument is of type 'const gchar **' {aka 'const char **'}
785 | gchar** num_table,
| ~~~~~~~~^~~~~~~~~
rom-kana-utils.c:1222:158: warning: passing argument 4 of 'kkc_rom_kana_utils_get_kanji_numeric' from incompatible pointer type [-Wincompatible-pointer-types]
1222 | _tmp7_ = kkc_rom_kana_utils_get_kanji_numeric (numeric, KKC_ROM_KANA_UTILS_DaijiNumericTable, (gint) G_N_ELEMENTS (KKC_ROM_KANA_UTILS_DaijiNumericTable), KKC_ROM_KANA_UTILS_DaijiNumericalPositionTable, (gint) G_N_ELEMENTS (KKC_ROM_KANA_UTILS_DaijiNumericalPositionTable));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const gchar ** {aka const char **}
rom-kana-utils.c:787:47: note: expected 'gchar **' {aka 'char **'} but argument is of type 'const gchar **' {aka 'const char **'}
787 | gchar** num_pos_table,
| ~~~~~~~~^~~~~~~~~~~~~
rom-kana-utils.c: In function 'kkc_rom_kana_utils_class_init':
rom-kana-utils.c:1453:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
1453 | entry_collection = KKC_ROM_KANA_UTILS_KanaTable;
| ^
rom-kana-utils.c:1486:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
1486 | substitute_collection = KKC_ROM_KANA_UTILS_HankakuKatakanaSubstitute;
| ^
rom-kana-utils.c:1484:11: warning: unused variable '_substitute_collection_size_' [-Wunused-variable]
1484 | gint _substitute_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
rom-kana-utils.c:1451:8: warning: unused variable '_entry_collection_size_' [-Wunused-variable]
1451 | gint _entry_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~
rom-kana-utils.c: In function 'kkc_rom_kana_utils_finalize':
rom-kana-utils.c:1672:20: warning: variable 'self' set but not used [-Wunused-but-set-variable]
1672 | KkcRomKanaUtils * self;
| ^~~~
At top level:
rom-kana-utils.c:665:1: warning: 'block3_data_ref' defined but not used [-Wunused-function]
665 | block3_data_ref (Block3Data* _data3_)
| ^~~~~~~~~~~~~~~
rom-kana-utils.c:598:1: warning: 'block2_data_ref' defined but not used [-Wunused-function]
598 | block2_data_ref (Block2Data* _data2_)
| ^~~~~~~~~~~~~~~
rom-kana-utils.c:544:1: warning: 'block1_data_ref' defined but not used [-Wunused-function]
544 | block1_data_ref (Block1Data* _data1_)
| ^~~~~~~~~~~~~~~
rom-kana-utils.c:57:20: warning: 'kkc_rom_kana_utils_properties' defined but not used [-Wunused-variable]
57 | static GParamSpec* kkc_rom_kana_utils_properties[KKC_ROM_KANA_UTILS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utils.c: In function 'kkc_utils_build_data_path':
utils.c:329:9: warning: unused variable '_element_collection_size_' [-Wunused-variable]
329 | gint _element_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~
utils.c:316:8: warning: variable '_elements_size_' set but not used [-Wunused-but-set-variable]
316 | gint _elements_size_;
| ^~~~~~~~~~~~~~~
utils.c:357:10: warning: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
357 | _tmp31_ = _tmp30_;
| ^
utils.c: In function 'kkc_utils_split_utf8':
utils.c:448:9: warning: assignment to 'gchar **' {aka 'char **'} from incompatible pointer type 'void **' [-Wincompatible-pointer-types]
448 | _tmp9_ = _tmp8_;
| ^
utils.c: In function 'kkc_key_event_utils_keyval_name':
utils.c:849:48: warning: passing argument 1 of 'kkc_key_event_utils_bsearch_keysyms' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
849 | _tmp2_ = kkc_key_event_utils_bsearch_keysyms (keysym_to_name, (glong) 0, (glong) G_N_ELEMENTS (keysym_to_name), ___lambda4__gcompare_data_func, NULL, &_tmp1_);
| ^~~~~~~~~~~~~~
utils.c:724:58: note: expected 'struct name_keysym *' but argument is of type 'const struct name_keysym *'
724 | kkc_key_event_utils_bsearch_keysyms (struct name_keysym* memory,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
utils.c: In function 'kkc_key_event_utils_keyval_from_name':
utils.c:993:48: warning: passing argument 1 of 'kkc_key_event_utils_bsearch_keysyms' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
993 | _tmp3_ = kkc_key_event_utils_bsearch_keysyms (name_to_keysym, (glong) 0, (glong) G_N_ELEMENTS (name_to_keysym), ___lambda5__gcompare_data_func, _data15_, &_tmp2_);
| ^~~~~~~~~~~~~~
utils.c:724:58: note: expected 'struct name_keysym *' but argument is of type 'const struct name_keysym *'
724 | kkc_key_event_utils_bsearch_keysyms (struct name_keysym* memory,
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
utils.c: In function 'kkc_loaded_index_file_construct':
utils.c:1295:36: warning: passing argument 3 of 'g_file_load_contents' from incompatible pointer type [-Wincompatible-pointer-types]
1295 | g_file_load_contents (file, NULL, &_tmp1_, &_tmp2_, &_tmp3_, &_inner_error0_);
| ^~~~~~~
| |
| guint8 ** {aka unsigned char **}
In file included from /usr/include/glib-2.0/gio/gio.h:77,
from /usr/include/gee-0.8/gee.h:8,
from utils.c:25:
/usr/include/glib-2.0/gio/gfile.h:1203:36: note: expected 'char **' but argument is of type 'guint8 **' {aka 'unsigned char **'}
1203 | char **contents,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
utils.c: In function 'kkc_loaded_index_file_real_get_contents':
utils.c:1331:9: warning: pointer targets in assignment from 'guint8 *' {aka 'unsigned char *'} to 'gchar *' {aka 'char *'} differ in signedness [-Wpointer-sign]
1331 | result = _tmp0_;
| ^
utils.c:1326:7: warning: variable '_tmp0__length1' set but not used [-Wunused-but-set-variable]
1326 | gint _tmp0__length1;
| ^~~~~~~~~~~~~~
utils.c: In function 'kkc_loaded_index_file_real_get_length':
utils.c:1339:10: warning: variable '_tmp0_' set but not used [-Wunused-but-set-variable]
1339 | guint8* _tmp0_;
| ^~~~~~
At top level:
utils.c:918:1: warning: 'block15_data_ref' defined but not used [-Wunused-function]
918 | block15_data_ref (Block15Data* _data15_)
| ^~~~~~~~~~~~~~~~
utils.c:94:20: warning: 'kkc_loaded_index_file_properties' defined but not used [-Wunused-variable]
94 | static GParamSpec* kkc_loaded_index_file_properties[KKC_LOADED_INDEX_FILE_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utils.c:77:20: warning: 'kkc_mapped_index_file_properties' defined but not used [-Wunused-variable]
77 | static GParamSpec* kkc_mapped_index_file_properties[KKC_MAPPED_INDEX_FILE_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utils.c:52:20: warning: 'kkc_key_event_utils_properties' defined but not used [-Wunused-variable]
52 | static GParamSpec* kkc_key_event_utils_properties[KKC_KEY_EVENT_UTILS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
server.c: In function '_dbus_kkc_dbus_candidate_list_select_at':
server.c:1712:10: warning: unused variable 'error' [-Wunused-variable]
1712 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_candidate_list_select':
server.c:1740:10: warning: unused variable 'error' [-Wunused-variable]
1740 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_candidate_list_first':
server.c:1761:10: warning: unused variable 'error' [-Wunused-variable]
1761 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_candidate_list_next':
server.c:1784:10: warning: unused variable 'error' [-Wunused-variable]
1784 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_candidate_list_previous':
server.c:1807:10: warning: unused variable 'error' [-Wunused-variable]
1807 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_candidate_list_cursor_up':
server.c:1830:10: warning: unused variable 'error' [-Wunused-variable]
1830 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_candidate_list_cursor_down':
server.c:1853:10: warning: unused variable 'error' [-Wunused-variable]
1853 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_candidate_list_page_up':
server.c:1876:10: warning: unused variable 'error' [-Wunused-variable]
1876 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_candidate_list_page_down':
server.c:1899:10: warning: unused variable 'error' [-Wunused-variable]
1899 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_candidate_list_get':
server.c:1922:10: warning: unused variable 'error' [-Wunused-variable]
1922 | GError* error = NULL;
| ^~~~~
server.c: In function 'kkc_dbus_candidate_list_dbus_interface_set_property':
server.c:2093:11: warning: variable 'object' set but not used [-Wunused-but-set-variable]
2093 | gpointer object;
| ^~~~~~
server.c: In function '_dbus_kkc_dbus_segment_list_get':
server.c:2557:10: warning: unused variable 'error' [-Wunused-variable]
2557 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_segment_list_first_segment':
server.c:2589:10: warning: unused variable 'error' [-Wunused-variable]
2589 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_segment_list_last_segment':
server.c:2612:10: warning: unused variable 'error' [-Wunused-variable]
2612 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_segment_list_next_segment':
server.c:2635:10: warning: unused variable 'error' [-Wunused-variable]
2635 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_segment_list_previous_segment':
server.c:2656:10: warning: unused variable 'error' [-Wunused-variable]
2656 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_segment_list_get_output':
server.c:2677:10: warning: unused variable 'error' [-Wunused-variable]
2677 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_segment_list_get_input':
server.c:2701:10: warning: unused variable 'error' [-Wunused-variable]
2701 | GError* error = NULL;
| ^~~~~
server.c: In function 'kkc_dbus_segment_list_dbus_interface_set_property':
server.c:2805:11: warning: variable 'object' set but not used [-Wunused-but-set-variable]
2805 | gpointer object;
| ^~~~~~
server.c: In function '_dbus_kkc_dbus_context_process_key_event':
server.c:3383:10: warning: unused variable 'error' [-Wunused-variable]
3383 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_context_process_command_event':
server.c:3421:10: warning: unused variable 'error' [-Wunused-variable]
3421 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_context_reset':
server.c:3450:10: warning: unused variable 'error' [-Wunused-variable]
3450 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_context_has_output':
server.c:3471:10: warning: unused variable 'error' [-Wunused-variable]
3471 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_context_peek_output':
server.c:3494:10: warning: unused variable 'error' [-Wunused-variable]
3494 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_context_poll_output':
server.c:3518:10: warning: unused variable 'error' [-Wunused-variable]
3518 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_context_clear_output':
server.c:3542:10: warning: unused variable 'error' [-Wunused-variable]
3542 | GError* error = NULL;
| ^~~~~
server.c: In function 'kkc_dbus_server_construct':
server.c:3803:212: warning: the comparison will always evaluate as 'false' for the address of '_kkc_dbus_server_on_name_acquired_gbus_name_acquired_callback' will never be NULL [-Waddress]
3803 | self->priv->own_name_id = g_bus_own_name_on_connection_with_closures (connection, "org.du_a.Kkc.Server", G_BUS_NAME_OWNER_FLAGS_NONE, (GClosure*) ((_kkc_dbus_server_on_name_acquired_gbus_name_acquired_callback == NULL) ? NULL : g_cclosure_new ((GCallback) _kkc_dbus_server_on_name_acquired_gbus_name_acquired_callback, g_object_ref (self), (GClosureNotify) g_object_unref)), (GClosure*) ((_kkc_dbus_server_on_name_lost_gbus_name_lost_callback == NULL) ? NULL : g_cclosure_new ((GCallback) _kkc_dbus_server_on_name_lost_gbus_name_lost_callback, g_object_ref (self), (GClosureNotify) g_object_unref)));
| ^~
server.c:3803:445: warning: the comparison will always evaluate as 'false' for the address of '_kkc_dbus_server_on_name_lost_gbus_name_lost_callback' will never be NULL [-Waddress]
3803 | self->priv->own_name_id = g_bus_own_name_on_connection_with_closures (connection, "org.du_a.Kkc.Server", G_BUS_NAME_OWNER_FLAGS_NONE, (GClosure*) ((_kkc_dbus_server_on_name_acquired_gbus_name_acquired_callback == NULL) ? NULL : g_cclosure_new ((GCallback) _kkc_dbus_server_on_name_acquired_gbus_name_acquired_callback, g_object_ref (self), (GClosureNotify) g_object_unref)), (GClosure*) ((_kkc_dbus_server_on_name_lost_gbus_name_lost_callback == NULL) ? NULL : g_cclosure_new ((GCallback) _kkc_dbus_server_on_name_lost_gbus_name_lost_callback, g_object_ref (self), (GClosureNotify) g_object_unref)));
| ^~
server.c: In function 'kkc_dbus_server_create_context':
server.c:3957:268: warning: the comparison will always evaluate as 'false' for the address of '___lambda25__gbus_name_vanished_callback' will never be NULL [-Waddress]
3957 | g_bus_watch_name_on_connection_with_closures (_tmp13_, (const gchar*) sender, G_BUS_NAME_WATCHER_FLAGS_NONE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((___lambda25__gbus_name_vanished_callback == NULL) ? NULL : g_cclosure_new ((GCallback) ___lambda25__gbus_name_vanished_callback, block14_data_ref (_data14_), (GClosureNotify) block14_data_unref)));
| ^~
server.c: In function '_dbus_kkc_dbus_server_create_context':
server.c:4051:10: warning: unused variable 'error' [-Wunused-variable]
4051 | GError* error = NULL;
| ^~~~~
server.c: In function '_dbus_kkc_dbus_server_destroy_context':
server.c:4075:10: warning: unused variable 'error' [-Wunused-variable]
4075 | GError* error = NULL;
| ^~~~~
server.c: In function 'kkc_dbus_server_dbus_interface_get_property':
server.c:4130:11: warning: variable 'object' set but not used [-Wunused-but-set-variable]
4130 | gpointer object;
| ^~~~~~
server.c: In function 'kkc_dbus_server_dbus_interface_set_property':
server.c:4147:11: warning: variable 'object' set but not used [-Wunused-but-set-variable]
4147 | gpointer object;
| ^~~~~~
At top level:
server.c:257:20: warning: 'kkc_dbus_server_properties' defined but not used [-Wunused-variable]
257 | static GParamSpec* kkc_dbus_server_properties[KKC_DBUS_SERVER_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
Kkc-1.0.gir:10708:1: warning: element field from state 7 is unknown, ignoring
kkc.vala:25.1-25.40: warning: the modifier `static' is not applicable to constants
static const OptionEntry[] model_entries = {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
kkc.vala:33.1-33.42: warning: the modifier `static' is not applicable to constants
static const OptionEntry[] decoder_entries = {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
kkc.vala:37.1-37.42: warning: the modifier `static' is not applicable to constants
static const OptionEntry[] context_entries = {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4268.3-4268.25: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool cursor_down ();
^^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4269.3-4269.23: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool cursor_up ();
^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4270.3-4270.19: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool first ();
^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4271.3-4271.22: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public new void @get (int index, out string midasi, out bool okuri, out string text, out string annotation);
^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4272.3-4272.18: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool next ();
^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4273.3-4273.23: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool page_down ();
^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4274.3-4274.21: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool page_up ();
^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4275.3-4275.22: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool previous ();
^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4276.3-4276.20: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void select ();
^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4277.3-4277.23: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool select_at (uint index_in_page);
^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4291.3-4291.26: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void clear_output ();
^^^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4292.3-4292.24: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool has_output ();
^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4293.3-4293.27: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string peek_output ();
^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4294.3-4294.27: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string poll_output ();
^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4295.3-4295.35: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool process_command_event (string command);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4296.3-4296.31: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool process_key_event (uint keyval, uint keycode, uint modifiers);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4297.3-4297.19: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void reset ();
^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4308.3-4308.27: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool first_segment ();
^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4309.3-4309.22: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public new void @get (int index, out string input, out string output);
^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4310.3-4310.25: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string get_input ();
^^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4311.3-4311.26: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string get_output ();
^^^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4312.3-4312.26: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool last_segment ();
^^^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4313.3-4313.26: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void next_segment ();
^^^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4314.3-4314.30: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void previous_segment ();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4322.3-4322.30: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string create_context (GLib.BusName sender);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-1.0.vapi:4323.3-4323.29: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void destroy_context (string object_path);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
kkc.vala:345.13-345.18: warning: local variable `server' declared but never used
var server = new Kkc.DBusServer (connection,
^^^^^^
kkc.c: In function '_vala_main':
kkc.c:403:11: warning: variable '_tmp23__length1' set but not used [-Wunused-but-set-variable]
403 | gint _tmp23__length1;
| ^~~~~~~~~~~~~~~
kkc.c:387:10: warning: variable '_tmp19__length1' set but not used [-Wunused-but-set-variable]
387 | gint _tmp19__length1;
| ^~~~~~~~~~~~~~~
kkc.c:375:9: warning: variable '_tmp16__length1' set but not used [-Wunused-but-set-variable]
375 | gint _tmp16__length1;
| ^~~~~~~~~~~~~~~
kkc.c:363:8: warning: variable '_tmp13__length1' set but not used [-Wunused-but-set-variable]
363 | gint _tmp13__length1;
| ^~~~~~~~~~~~~~~
kkc.c:319:7: warning: variable '_tmp10__length1' set but not used [-Wunused-but-set-variable]
319 | gint _tmp10__length1;
| ^~~~~~~~~~~~~~~
kkc.c:313:7: warning: variable '_tmp6__length1' set but not used [-Wunused-but-set-variable]
313 | gint _tmp6__length1;
| ^~~~~~~~~~~~~~
kkc.c:309:10: warning: variable '_tmp3_' set but not used [-Wunused-but-set-variable]
309 | gchar** _tmp3_;
| ^~~~~~
kkc.c: In function 'decoder_tool_real_parse_arguments':
kkc.c:545:16: warning: variable 'self' set but not used [-Wunused-but-set-variable]
545 | DecoderTool * self;
| ^~~~
kkc.c: In function 'decoder_tool_real_run':
kkc.c:794:9: warning: variable '_tmp28__length1' set but not used [-Wunused-but-set-variable]
794 | gint _tmp28__length1;
| ^~~~~~~~~~~~~~~
kkc.c:804:12: warning: variable '_tmp32_' set but not used [-Wunused-but-set-variable]
804 | gchar** _tmp32_;
| ^~~~~~~
kkc.c:828:11: warning: variable '_tmp38__length1' set but not used [-Wunused-but-set-variable]
828 | gint _tmp38__length1;
| ^~~~~~~~~~~~~~~
kkc.c:826:11: warning: variable '_tmp37__length1' set but not used [-Wunused-but-set-variable]
826 | gint _tmp37__length1;
| ^~~~~~~~~~~~~~~
kkc.c:823:12: warning: variable '_tmp36_' set but not used [-Wunused-but-set-variable]
823 | gint* _tmp36_;
| ^~~~~~~
kkc.c:872:11: warning: variable '_tmp50__length1' set but not used [-Wunused-but-set-variable]
872 | gint _tmp50__length1;
| ^~~~~~~~~~~~~~~
kkc.c:867:19: warning: variable '_tmp48_' set but not used [-Wunused-but-set-variable]
867 | KkcSegment** _tmp48_;
| ^~~~~~~
kkc.c:759:8: warning: variable '_segments_size_' set but not used [-Wunused-but-set-variable]
759 | gint _segments_size_;
| ^~~~~~~~~~~~~~~
kkc.c:752:8: warning: variable '_tmp41__length1' set but not used [-Wunused-but-set-variable]
752 | gint _tmp41__length1;
| ^~~~~~~~~~~~~~~
kkc.c:748:8: warning: variable '_constraints_size_' set but not used [-Wunused-but-set-variable]
748 | gint _constraints_size_;
| ^~~~~~~~~~~~~~~~~~
kkc.c:743:11: warning: variable '_tmp31_' set but not used [-Wunused-but-set-variable]
743 | gchar** _tmp31_;
| ^~~~~~~
kkc.c:740:11: warning: variable '_tmp27_' set but not used [-Wunused-but-set-variable]
740 | gchar** _tmp27_;
| ^~~~~~~
kkc.c:738:11: warning: variable '_tmp26_' set but not used [-Wunused-but-set-variable]
738 | gchar** _tmp26_;
| ^~~~~~~
kkc.c:737:8: warning: variable '_strv_size_' set but not used [-Wunused-but-set-variable]
737 | gint _strv_size_;
| ^~~~~~~~~~~
kkc.c:645:16: warning: variable 'self' set but not used [-Wunused-but-set-variable]
645 | DecoderTool * self;
| ^~~~
kkc.c: In function 'context_tool_real_parse_arguments':
kkc.c:1006:16: warning: variable 'self' set but not used [-Wunused-but-set-variable]
1006 | ContextTool * self;
| ^~~~
kkc.c: In function 'context_tool_real_run':
kkc.c:1069:9: warning: unused variable '_rule_collection_size_' [-Wunused-variable]
1069 | gint _rule_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~
kkc.c:1057:8: warning: variable '_rules_size_' set but not used [-Wunused-but-set-variable]
1057 | gint _rules_size_;
| ^~~~~~~~~~~~
kkc.c:1038:16: warning: variable 'self' set but not used [-Wunused-but-set-variable]
1038 | ContextTool * self;
| ^~~~
kkc.c: In function 'server_tool_real_parse_arguments':
kkc.c:1555:15: warning: variable 'self' set but not used [-Wunused-but-set-variable]
1555 | ServerTool * self;
| ^~~~
kkc.c: In function 'server_tool_real_run':
kkc.c:1628:9: warning: unused variable '_rule_collection_size_' [-Wunused-variable]
1628 | gint _rule_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~
kkc.c:1616:8: warning: variable '_rules_size_' set but not used [-Wunused-but-set-variable]
1616 | gint _rules_size_;
| ^~~~~~~~~~~~
kkc.c:1587:15: warning: variable 'self' set but not used [-Wunused-but-set-variable]
1587 | ServerTool * self;
| ^~~~
At top level:
kkc.c:94:20: warning: 'server_tool_properties' defined but not used [-Wunused-variable]
94 | static GParamSpec* server_tool_properties[SERVER_TOOL_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~
kkc.c:88:20: warning: 'context_tool_properties' defined but not used [-Wunused-variable]
88 | static GParamSpec* context_tool_properties[CONTEXT_TOOL_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~
kkc.c:80:20: warning: 'decoder_tool_properties' defined but not used [-Wunused-variable]
80 | static GParamSpec* decoder_tool_properties[DECODER_TOOL_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~
kkc-internals-1.0.vapi:4760.3-4760.23: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool select_at (uint index_in_page);
^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4761.3-4761.20: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void select ();
^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4762.3-4762.19: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool first ();
^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4763.3-4763.18: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool next ();
^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4764.3-4764.22: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool previous ();
^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4765.3-4765.23: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool cursor_up ();
^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4766.3-4766.25: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool cursor_down ();
^^^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4767.3-4767.21: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool page_up ();
^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4768.3-4768.23: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool page_down ();
^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4769.3-4769.22: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public new void @get (int index, out string midasi, out bool okuri, out string text, out string annotation);
^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4784.3-4784.22: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public new void @get (int index, out string input, out string output);
^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4785.3-4785.27: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool first_segment ();
^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4786.3-4786.26: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool last_segment ();
^^^^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4787.3-4787.26: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void next_segment ();
^^^^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4788.3-4788.30: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void previous_segment ();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4789.3-4789.26: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string get_output ();
^^^^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4790.3-4790.25: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string get_input ();
^^^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4799.3-4799.31: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool process_key_event (uint keyval, uint keycode, uint modifiers);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4800.3-4800.35: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool process_command_event (string command);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4801.3-4801.19: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void reset ();
^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4802.3-4802.24: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public bool has_output ();
^^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4803.3-4803.27: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string peek_output ();
^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4804.3-4804.27: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string poll_output ();
^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4805.3-4805.26: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void clear_output ();
^^^^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4817.3-4817.30: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public string create_context (GLib.BusName sender);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
kkc-internals-1.0.vapi:4818.3-4818.29: warning: DBus methods are recommended to throw at least `GLib.Error' or `GLib.DBusError, GLib.IOError'
public void destroy_context (string object_path);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
test-case.vala: In function 'kkc_test_case_add_test':
test-case.vala:42:59: warning: passing argument 4 of 'g_test_create_case' from incompatible pointer type [-Wincompatible-pointer-types]
42 | this._suite.add (new GLib.TestCase (
| ^
| |
| void (*)(void *, void *)
In file included from /usr/include/glib-2.0/glib.h:85,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from test-case.c:28:
/usr/include/glib-2.0/glib/gtestutils.h:427:60: note: expected 'GTestFixtureFunc' {aka 'void (*)(void *, const void *)'} but argument is of type 'void (*)(void *, void *)'
427 | GTestFixtureFunc data_setup,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
test-case.vala:42:109: warning: passing argument 5 of 'g_test_create_case' from incompatible pointer type [-Wincompatible-pointer-types]
42 | this._suite.add (new GLib.TestCase (
| ^
| |
| void (*)(void *, void *)
In file included from /usr/include/glib-2.0/glib.h:85,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from test-case.c:28:
/usr/include/glib-2.0/glib/gtestutils.h:428:60: note: expected 'GTestFixtureFunc' {aka 'void (*)(void *, const void *)'} but argument is of type 'void (*)(void *, void *)'
428 | GTestFixtureFunc data_test,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
test-case.vala:42:156: warning: passing argument 6 of 'g_test_create_case' from incompatible pointer type [-Wincompatible-pointer-types]
42 | this._suite.add (new GLib.TestCase (
| ^
| |
| void (*)(void *, void *)
In file included from /usr/include/glib-2.0/glib.h:85,
from /usr/include/glib-2.0/gobject/gbinding.h:28,
from /usr/include/glib-2.0/glib-object.h:22,
from test-case.c:28:
/usr/include/glib-2.0/glib/gtestutils.h:429:60: note: expected 'GTestFixtureFunc' {aka 'void (*)(void *, const void *)'} but argument is of type 'void (*)(void *, void *)'
429 | GTestFixtureFunc data_teardown);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
At top level:
test-case.c:561:1: warning: 'kkc_test_case_adaptor_set_name' defined but not used [-Wunused-function]
561 | kkc_test_case_adaptor_set_name (KkcTestCaseAdaptor* self,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test-case.c:59:20: warning: 'kkc_test_case_properties' defined but not used [-Wunused-variable]
59 | static GParamSpec* kkc_test_case_properties[KKC_TEST_CASE_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~
template.c:26:20: warning: 'template_tests_properties' defined but not used [-Wunused-variable]
26 | static GParamSpec* template_tests_properties[TEMPLATE_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~
segment.c:25:20: warning: 'segment_tests_properties' defined but not used [-Wunused-variable]
25 | static GParamSpec* segment_tests_properties[SEGMENT_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~
segment-list.c: In function 'segment_list_tests_test_properties':
segment-list.c:85:7: warning: variable 'size' set but not used [-Wunused-but-set-variable]
85 | gint size = 0;
| ^~~~
At top level:
segment-list.c:25:20: warning: 'segment_list_tests_properties' defined but not used [-Wunused-variable]
25 | static GParamSpec* segment_list_tests_properties[SEGMENT_LIST_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
encoding.c:25:20: warning: 'encoding_converter_tests_properties' defined but not used [-Wunused-variable]
25 | static GParamSpec* encoding_converter_tests_properties[ENCODING_CONVERTER_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
metadata-file.c: In function 'empty_metadata_real_parse':
metadata-file.c:140:18: warning: variable 'self' set but not used [-Wunused-but-set-variable]
140 | EmptyMetadata * self;
| ^~~~
metadata-file.c: In function 'metadata_file_tests_test_load':
metadata-file.c:259:8: warning: unused variable '_name_collection_size_' [-Wunused-variable]
259 | gint _name_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~
metadata-file.c:341:8: warning: unused variable '_name_collection_size_' [-Wunused-variable]
341 | gint _name_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~
At top level:
metadata-file.c:43:20: warning: 'metadata_file_tests_properties' defined but not used [-Wunused-variable]
43 | static GParamSpec* metadata_file_tests_properties[METADATA_FILE_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
metadata-file.c:26:20: warning: 'empty_metadata_properties' defined but not used [-Wunused-variable]
26 | static GParamSpec* empty_metadata_properties[EMPTY_METADATA_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~
rule.c: In function 'rule_tests_test_load':
rule.c:161:8: warning: unused variable '_name_collection_size_' [-Wunused-variable]
161 | gint _name_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~
rule.c:235:8: warning: unused variable '_name_collection_size_' [-Wunused-variable]
235 | gint _name_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~
At top level:
rule.c:25:20: warning: 'rule_tests_properties' defined but not used [-Wunused-variable]
25 | static GParamSpec* rule_tests_properties[RULE_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~
user-rule.c: In function 'user_rule_tests_real_set_up':
user-rule.c:106:18: warning: variable 'self' set but not used [-Wunused-but-set-variable]
106 | UserRuleTests * self;
| ^~~~
user-rule.c: In function 'user_rule_tests_test_write':
user-rule.c:411:8: warning: unused variable '_metadata_collection_size_' [-Wunused-variable]
411 | gint _metadata_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
user-rule.c:231:7: warning: variable '_rules_size_' set but not used [-Wunused-but-set-variable]
231 | gint _rules_size_;
| ^~~~~~~~~~~~
At top level:
user-rule.c:26:20: warning: 'user_rule_tests_properties' defined but not used [-Wunused-variable]
26 | static GParamSpec* user_rule_tests_properties[USER_RULE_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
expression.c:26:20: warning: 'expression_tests_properties' defined but not used [-Wunused-variable]
26 | static GParamSpec* expression_tests_properties[EXPRESSION_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
rom-kana.c:26:20: warning: 'rom_kana_tests_properties' defined but not used [-Wunused-variable]
26 | static GParamSpec* rom_kana_tests_properties[ROM_KANA_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~
candidate-list.c: In function 'candidate_list_tests_test_properties':
candidate-list.c:105:11: warning: variable 'page_visible' set but not used [-Wunused-but-set-variable]
105 | gboolean page_visible = FALSE;
| ^~~~~~~~~~~~
candidate-list.c:101:7: warning: variable 'size' set but not used [-Wunused-but-set-variable]
101 | gint size = 0;
| ^~~~
At top level:
candidate-list.c:25:20: warning: 'candidate_list_tests_properties' defined but not used [-Wunused-variable]
25 | static GParamSpec* candidate_list_tests_properties[CANDIDATE_LIST_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
candidate.c: In function 'candidate_tests_test_properties':
candidate.c:85:11: warning: variable 'okuri' set but not used [-Wunused-but-set-variable]
85 | gboolean okuri = FALSE;
| ^~~~~
At top level:
candidate.c:25:20: warning: 'candidate_tests_properties' defined but not used [-Wunused-variable]
25 | static GParamSpec* candidate_tests_properties[CANDIDATE_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
dictionary-list.c: In function 'dictionary_list_tests_test_properties':
dictionary-list.c:125:7: warning: variable 'size' set but not used [-Wunused-but-set-variable]
125 | gint size = 0;
| ^~~~
At top level:
dictionary-list.c:26:20: warning: 'dictionary_list_tests_properties' defined but not used [-Wunused-variable]
26 | static GParamSpec* dictionary_list_tests_properties[DICTIONARY_LIST_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
system-dictionary.c:26:20: warning: 'system_dictionary_tests_properties' defined but not used [-Wunused-variable]
26 | static GParamSpec* system_dictionary_tests_properties[SYSTEM_DICTIONARY_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
state.c:25:20: warning: 'state_tests_properties' defined but not used [-Wunused-variable]
25 | static GParamSpec* state_tests_properties[STATE_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~
key-event.c: In function 'key_event_tests_test_properties':
key-event.c:152:18: warning: variable 'modifiers' set but not used [-Wunused-but-set-variable]
152 | KkcModifierType modifiers = 0U;
| ^~~~~~~~~
key-event.c:151:8: warning: variable 'keycode' set but not used [-Wunused-but-set-variable]
151 | guint keycode = 0U;
| ^~~~~~~
key-event.c:150:8: warning: variable 'keyval' set but not used [-Wunused-but-set-variable]
150 | guint keyval = 0U;
| ^~~~~~
key-event.c:149:8: warning: variable 'unicode' set but not used [-Wunused-but-set-variable]
149 | guint unicode = 0U;
| ^~~~~~~
At top level:
key-event.c:25:20: warning: 'key_event_tests_properties' defined but not used [-Wunused-variable]
25 | static GParamSpec* key_event_tests_properties[KEY_EVENT_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
decoder.c: In function 'decoder_tests_test_conversion':
decoder.c:217:10: warning: variable '_tmp32__length1' set but not used [-Wunused-but-set-variable]
217 | gint _tmp32__length1;
| ^~~~~~~~~~~~~~~
decoder.c:208:10: warning: variable '_tmp25__length1' set but not used [-Wunused-but-set-variable]
208 | gint _tmp25__length1;
| ^~~~~~~~~~~~~~~
decoder.c:199:10: warning: variable '_tmp18__length1' set but not used [-Wunused-but-set-variable]
199 | gint _tmp18__length1;
| ^~~~~~~~~~~~~~~
decoder.c:190:10: warning: variable '_tmp11__length1' set but not used [-Wunused-but-set-variable]
190 | gint _tmp11__length1;
| ^~~~~~~~~~~~~~~
decoder.c:169:8: warning: unused variable '_sentence_collection_size_' [-Wunused-variable]
169 | gint _sentence_collection_size_ = 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
decoder.c:128:7: warning: variable '_sentences_size_' set but not used [-Wunused-but-set-variable]
128 | gint _sentences_size_;
| ^~~~~~~~~~~~~~~~
decoder.c: In function 'decoder_tests_test_constraints':
decoder.c:343:7: warning: variable '_sorted3_segments_size_' set but not used [-Wunused-but-set-variable]
343 | gint _sorted3_segments_size_;
| ^~~~~~~~~~~~~~~~~~~~~~~
decoder.c:337:7: warning: variable '_sorted2_segments_size_' set but not used [-Wunused-but-set-variable]
337 | gint _sorted2_segments_size_;
| ^~~~~~~~~~~~~~~~~~~~~~~
decoder.c:331:7: warning: variable '_text3_segments_size_' set but not used [-Wunused-but-set-variable]
331 | gint _text3_segments_size_;
| ^~~~~~~~~~~~~~~~~~~~~
decoder.c:325:7: warning: variable '_text2_segments_size_' set but not used [-Wunused-but-set-variable]
325 | gint _text2_segments_size_;
| ^~~~~~~~~~~~~~~~~~~~~
decoder.c:319:7: warning: variable '_constraints_size_' set but not used [-Wunused-but-set-variable]
319 | gint _constraints_size_;
| ^~~~~~~~~~~~~~~~~~
At top level:
decoder.c:27:20: warning: 'decoder_tests_properties' defined but not used [-Wunused-variable]
27 | static GParamSpec* decoder_tests_properties[DECODER_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~
language-model.c:25:20: warning: 'language_model_tests_properties' defined but not used [-Wunused-variable]
25 | static GParamSpec* language_model_tests_properties[LANGUAGE_MODEL_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
keymap.c: In function 'keymap_tests_test_lookup':
keymap.c:280:13: warning: variable '_tmp21_' set but not used [-Wunused-but-set-variable]
280 | KkcKeymap* _tmp21_;
| ^~~~~~~
keymap.c:279:7: warning: variable '_entries_size_' set but not used [-Wunused-but-set-variable]
279 | gint _entries_size_;
| ^~~~~~~~~~~~~~
keymap.c:273:7: warning: variable '_commands_size_' set but not used [-Wunused-but-set-variable]
273 | gint _commands_size_;
| ^~~~~~~~~~~~~~~
keymap.c:269:13: warning: variable '_tmp15_' set but not used [-Wunused-but-set-variable]
269 | KkcKeymap* _tmp15_;
| ^~~~~~~
At top level:
keymap.c:25:20: warning: 'keymap_tests_properties' defined but not used [-Wunused-variable]
25 | static GParamSpec* keymap_tests_properties[KEYMAP_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~
trellis-node.c: In function 'trellis_node_tests_test_unigram':
trellis-node.c:220:7: warning: variable '_entries_size_' set but not used [-Wunused-but-set-variable]
220 | gint _entries_size_;
| ^~~~~~~~~~~~~~
trellis-node.c: In function 'trellis_node_tests_test_bigram':
trellis-node.c:393:7: warning: variable '_entries_size_' set but not used [-Wunused-but-set-variable]
393 | gint _entries_size_;
| ^~~~~~~~~~~~~~
At top level:
trellis-node.c:25:20: warning: 'trellis_node_tests_properties' defined but not used [-Wunused-variable]
25 | static GParamSpec* trellis_node_tests_properties[TRELLIS_NODE_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
context.c:27:20: warning: 'context_tests_properties' defined but not used [-Wunused-variable]
27 | static GParamSpec* context_tests_properties[CONTEXT_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~
user-dictionary.c: In function 'user_segment_dictionary_tests_test_write':
user-dictionary.c:656:8: warning: variable '_tmp33__length1' set but not used [-Wunused-but-set-variable]
656 | gint _tmp33__length1;
| ^~~~~~~~~~~~~~~
user-dictionary.c:700:8: warning: variable '_tmp42__length1' set but not used [-Wunused-but-set-variable]
700 | gint _tmp42__length1;
| ^~~~~~~~~~~~~~~
user-dictionary.c:442:17: warning: variable '_tmp41_' set but not used [-Wunused-but-set-variable]
442 | KkcCandidate** _tmp41_;
| ^~~~~~~
user-dictionary.c:436:17: warning: variable '_tmp32_' set but not used [-Wunused-but-set-variable]
436 | KkcCandidate** _tmp32_;
| ^~~~~~~
user-dictionary.c:431:7: warning: variable '_candidates_size_' set but not used [-Wunused-but-set-variable]
431 | gint _candidates_size_ = 0;
| ^~~~~~~~~~~~~~~~~
user-dictionary.c: In function 'user_segment_dictionary_tests_real_set_up':
user-dictionary.c:736:31: warning: variable 'self' set but not used [-Wunused-but-set-variable]
736 | UserSegmentDictionaryTests * self;
| ^~~~
user-dictionary.c: In function 'user_sentence_dictionary_tests_real_set_up':
user-dictionary.c:1204:32: warning: variable 'self' set but not used [-Wunused-but-set-variable]
1204 | UserSentenceDictionaryTests * self;
| ^~~~
At top level:
user-dictionary.c:62:20: warning: 'user_dictionary_with_context_tests_properties' defined but not used [-Wunused-variable]
62 | static GParamSpec* user_dictionary_with_context_tests_properties[USER_DICTIONARY_WITH_CONTEXT_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user-dictionary.c:46:20: warning: 'user_sentence_dictionary_tests_properties' defined but not used [-Wunused-variable]
46 | static GParamSpec* user_sentence_dictionary_tests_properties[USER_SENTENCE_DICTIONARY_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
user-dictionary.c:28:20: warning: 'user_segment_dictionary_tests_properties' defined but not used [-Wunused-variable]
28 | static GParamSpec* user_segment_dictionary_tests_properties[USER_SEGMENT_DICTIONARY_TESTS_NUM_PROPERTIES];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
See: https://wiki.gnome.org/Projects/Vala/FAQ#How_can_I_fix_CC_warnings.3F
However, vala seems to have been improving in this regard; perhaps it makes more sense to report it to vala upstream?