forked from enlightenment/terminology
terminology: mark/remove unused variables
SVN revision: 77628
This commit is contained in:
parent
32a57202ba
commit
4df8415b4e
|
@ -41,7 +41,6 @@ _cb_op_theme_content_get(void *data, Evas_Object *obj, const char *part)
|
||||||
if (!strcmp(part, "elm.swallow.icon"))
|
if (!strcmp(part, "elm.swallow.icon"))
|
||||||
{
|
{
|
||||||
Evas_Object *o;
|
Evas_Object *o;
|
||||||
Config *config = termio_config_get(t->term);
|
|
||||||
snprintf(buf, sizeof(buf), "%s/themes/%s", elm_app_data_dir_get(), t->name);
|
snprintf(buf, sizeof(buf), "%s/themes/%s", elm_app_data_dir_get(), t->name);
|
||||||
o = edje_object_add(evas_object_evas_get(obj));
|
o = edje_object_add(evas_object_evas_get(obj));
|
||||||
if (!edje_object_file_set(o, buf, "terminology/background"))
|
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
|
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;
|
Theme *t = data;
|
||||||
Config *config = termio_config_get(t->term);
|
Config *config = termio_config_get(t->term);
|
||||||
|
|
|
@ -983,13 +983,11 @@ _handle_esc_terminology(Termpty *ty, const Eina_Unicode *c, Eina_Unicode *ce)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
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;
|
const Eina_Unicode *cc;
|
||||||
Eina_Unicode buf[4096], *b;
|
Eina_Unicode buf[4096], *b;
|
||||||
char *s;
|
|
||||||
int len = 0;
|
|
||||||
|
|
||||||
cc = c;
|
cc = c;
|
||||||
b = buf;
|
b = buf;
|
||||||
while ((cc < ce) && (*cc != ST))
|
while ((cc < ce) && (*cc != ST))
|
||||||
|
|
Loading…
Reference in New Issue