summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Lima (Etrunko) <eduardo.lima@intel.com>2013-12-17 16:17:46 -0200
committerEduardo Lima (Etrunko) <eduardo.lima@intel.com>2013-12-17 16:19:16 -0200
commit28991217f44c84dcbc280858a5d110858d2d9bf7 (patch)
treef034d14b1a841c915150bc2fcff34a79be782c92
parent01d3bdd755ffe898183e0da24b701776f800d1a6 (diff)
downloadweekeyboard-28991217f44c84dcbc280858a5d110858d2d9bf7.tar.gz
weekeyboard-28991217f44c84dcbc280858a5d110858d2d9bf7.tar.bz2
weekeyboard-28991217f44c84dcbc280858a5d110858d2d9bf7.zip
Remove unused variables
Change-Id: I89a490e6ce23abc232b769f041d9e581dd8dac11 Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
-rw-r--r--src/wkb-ibus-helper.c3
-rw-r--r--src/wkb-ibus.c2
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;
}