From 4df8415b4e8c643f8aef35fa5fcd0257075125d4 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Tue, 9 Oct 2012 08:40:48 +0000 Subject: [PATCH] terminology: mark/remove unused variables SVN revision: 77628 --- src/bin/options_theme.c | 3 +-- src/bin/termptyesc.c | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/bin/options_theme.c b/src/bin/options_theme.c index ffe7cfcc..9f2f0345 100644 --- a/src/bin/options_theme.c +++ b/src/bin/options_theme.c @@ -41,7 +41,6 @@ _cb_op_theme_content_get(void *data, Evas_Object *obj, const char *part) if (!strcmp(part, "elm.swallow.icon")) { Evas_Object *o; - Config *config = termio_config_get(t->term); snprintf(buf, sizeof(buf), "%s/themes/%s", elm_app_data_dir_get(), t->name); o = edje_object_add(evas_object_evas_get(obj)); if (!edje_object_file_set(o, buf, "terminology/background")) @@ -57,7 +56,7 @@ _cb_op_theme_content_get(void *data, Evas_Object *obj, const char *part) } static void -_cb_op_theme_sel(void *data, Evas_Object *obj, void *event __UNUSED__) +_cb_op_theme_sel(void *data, Evas_Object *obj __UNUSED__, void *event __UNUSED__) { Theme *t = data; Config *config = termio_config_get(t->term); diff --git a/src/bin/termptyesc.c b/src/bin/termptyesc.c index 8bf7e59b..02e5d845 100644 --- a/src/bin/termptyesc.c +++ b/src/bin/termptyesc.c @@ -983,13 +983,11 @@ _handle_esc_terminology(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce) } static int -_handle_esc_dcs(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce) +_handle_esc_dcs(Termpty *ty __UNUSED__, const Eina_Unicode *c, Eina_Unicode *ce) { const Eina_Unicode *cc; Eina_Unicode buf[4096], *b; - char *s; - int len = 0; - + cc = c; b = buf; while ((cc < ce) && (*cc != ST))