From 2b180c8247d5a4478d167c372f4a941e8c446ec2 Mon Sep 17 00:00:00 2001 From: discomfitor Date: Sat, 31 Jul 2010 04:28:27 +0000 Subject: [PATCH] comment a couple unused lines and add a break to a case instead of falling through to autoreturn NULL git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@50701 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_program.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/edje_program.c b/src/lib/edje_program.c index def6f1b..538bc79 100644 --- a/src/lib/edje_program.c +++ b/src/lib/edje_program.c @@ -538,7 +538,7 @@ _edje_program_end(Edje *ed, Edje_Running_Program *runp) { Eina_List *l; Edje_Program_Target *pt; - const char *pname = NULL; +// const char *pname = NULL; int free_runp = 0; if (ed->delete_me) return; @@ -566,7 +566,7 @@ _edje_program_end(Edje *ed, Edje_Running_Program *runp) } _edje_recalc(ed); runp->delete_me = 1; - pname = runp->program->name; +// pname = runp->program->name; if (!ed->walking_actions) { _edje_anim_count--; @@ -1872,6 +1872,7 @@ _edje_param_convert(Edje_External_Param *param, const Edje_External_Param_Info * break; case EDJE_EXTERNAL_PARAM_TYPE_BOOL: d = (double)param->i; + break; default: return NULL; } -- 2.7.4