terminology: mark/remove unused variables

SVN revision: 77628
This commit is contained in:
Sebastian Dransfeld 2012-10-09 08:40:48 +00:00
parent 32a57202ba
commit 4df8415b4e
2 changed files with 3 additions and 6 deletions

View File

@ -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);

View File

@ -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))