elementary: remove useless use of an intermediary variable that is always NULL.

SVN revision: 80134
This commit is contained in:
Cedric BAIL 2012-12-04 08:57:39 +00:00
parent a024e65f0b
commit b3044ee30c
1 changed files with 3 additions and 3 deletions

View File

@ -376,7 +376,7 @@ _theme_set_write(void)
{
Eina_Bool ret = EINA_FALSE;
char *str[3]; /* *klas, *style, *group */
char *aux, *token, *_group, buf[512];
char *token, *_group, buf[512];
int i;
str[0] = str[1] = str[2] = NULL;
@ -386,9 +386,9 @@ _theme_set_write(void)
if (!_group) return EINA_FALSE;
token = strtok(_group, "/");
for (i = 0, aux = NULL; i < 3; i++, aux = NULL)
for (i = 0; i < 3; i++)
{
token = strtok(aux, "/");
token = strtok(NULL, "/");
if (!token) break;
str[i] = token;