From 4b9ed5cee981867c49b2d2b1a6dd82b544c14431 Mon Sep 17 00:00:00 2001 From: Stephen okra Houston Date: Wed, 9 Nov 2016 09:56:20 -0600 Subject: [PATCH] Luncher: Fix shadowed declarations. --- src/modules/Makefile_luncher.mk | 2 +- src/modules/luncher/bar.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/modules/Makefile_luncher.mk b/src/modules/Makefile_luncher.mk index d867ff8de..b8fa86256 100644 --- a/src/modules/Makefile_luncher.mk +++ b/src/modules/Makefile_luncher.mk @@ -10,7 +10,7 @@ luncherpkgdir = $(MDIR)/luncher/$(MODULE_ARCH) luncherpkg_LTLIBRARIES = src/modules/luncher/module.la src_modules_luncher_module_la_LIBADD = $(MOD_LIBS) -src_modules_luncher_module_la_CPPFLAGS = $(MOD_CPPFLAGS) -Wall +src_modules_luncher_module_la_CPPFLAGS = $(MOD_CPPFLAGS) src_modules_luncher_module_la_LDFLAGS = $(MOD_LDFLAGS) src_modules_luncher_module_la_SOURCES = src/modules/luncher/mod.c \ src/modules/luncher/luncher.h \ diff --git a/src/modules/luncher/bar.c b/src/modules/luncher/bar.c index 309375bb2..d5d512658 100644 --- a/src/modules/luncher/bar.c +++ b/src/modules/luncher/bar.c @@ -1041,7 +1041,6 @@ _bar_icon_add(Instance *inst, Efreet_Desktop *desktop, E_Client *non_desktop_cli l = e_exec_desktop_instances_find(desktop); if (l) { - char ori[32]; snprintf(ori, sizeof(ori), "e,state,on,%s", _bar_location_get(inst)); elm_layout_signal_emit(ic->o_layout, ori, "e"); ic->execs = eina_list_clone(l); @@ -1352,7 +1351,6 @@ _bar_fill(Instance *inst) { EINA_LIST_FOREACH(l, ll, ex) { - E_Client *ec; Eina_Bool skip = EINA_TRUE; EINA_LIST_FOREACH(ex->clients, lll, ec) @@ -1616,7 +1614,6 @@ _bar_drop_move(void *data, const char *type EINA_UNUSED, void *event_data) elm_box_unpack(inst->o_icon_con, inst->place_holder); if (inst->drop_before) elm_box_pack_before(inst->o_icon_con, inst->place_holder, inst->drop_before->o_layout); - //_bar_aspect(inst); } static void