diff options
-rw-r--r-- | src/wkb-ibus-helper.c | 3 | ||||
-rw-r--r-- | src/wkb-ibus.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/wkb-ibus-helper.c b/src/wkb-ibus-helper.c index 8249172..405b4dd 100644 --- a/src/wkb-ibus-helper.c +++ b/src/wkb-ibus-helper.c @@ -96,7 +96,7 @@ static Eina_Array * _wkb_ibus_attr_list_from_message_iter(Eldbus_Message_Iter *iter) { struct wkb_ibus_serializable ignore = { 0 }; - Eldbus_Message_Iter *iter_attr_list, *iter_array, *iter_attr; + Eldbus_Message_Iter *iter_array, *iter_attr; struct wkb_ibus_attr *attr = NULL; Eina_Array *attr_list = NULL; @@ -165,7 +165,6 @@ wkb_ibus_text_from_message_iter(Eldbus_Message_Iter *iter) struct wkb_ibus_serializable ignore = { 0 }; struct wkb_ibus_text *text = calloc(1, sizeof(*text)); Eldbus_Message_Iter *iter_text, *attrs; - struct wkb_ibus_attr *attr = NULL; EINA_SAFETY_ON_NULL_RETURN_VAL(text, NULL); diff --git a/src/wkb-ibus.c b/src/wkb-ibus.c index 4fa723e..b1651e3 100644 --- a/src/wkb-ibus.c +++ b/src/wkb-ibus.c @@ -838,8 +838,6 @@ wkb_ibus_input_context_destroy(void) } free(wkb_ibus->input_ctx->preedit); - -end: free(wkb_ibus->input_ctx); wkb_ibus->input_ctx = NULL; } |