Enlightenment CVS committal
Author : englebass
Project : e17
Module : libs/efreet
Dir : e17/libs/efreet/src/lib
Modified Files:
efreet_icon.c
Log Message:
remove uneeded variable.
===================================================================
RCS file: /cvs/e/e17/libs/efreet/src/lib/efreet_icon.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- efreet_icon.c 29 Jul 2008 18:52:27 -0000 1.31
+++ efreet_icon.c 29 Jul 2008 18:55:41 -0000 1.32
@@ -1407,7 +1407,6 @@
if (tmp)
{
char *t, *s, *p;
- int last = 0;
theme->directories = ecore_list_new();
ecore_list_free_cb_set(theme->directories,
@@ -1417,17 +1416,16 @@
s = t;
p = s;
- while (!last)
+ while (p)
{
p = strchr(s, ',');
- if (!p) last = 1;
- else *p = '\0';
+ if (p) *p = '\0';
ecore_list_append(theme->directories,
efreet_icon_theme_directory_new(ini, s));
- if (!last) s = ++p;
+ if (p) s = ++p;
}
FREE(t);
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs