summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2011-02-28 10:50:37 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2011-02-28 10:50:37 +0000
commit83306ac5c6e7b20a480e2e9d2530841ee57c4915 (patch)
treeb76c219b121c1af461a2141d2c719bd4d617ddb1 /legacy
parent284c85240a195a5beedd63dffb616ff2011f79b7 (diff)
Efreet: Remove unused variables
SVN revision: 57409
Diffstat (limited to 'legacy')
-rw-r--r--legacy/efreet/src/bin/efreet_desktop_cache_create.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/legacy/efreet/src/bin/efreet_desktop_cache_create.c b/legacy/efreet/src/bin/efreet_desktop_cache_create.c
index 243588b1dd..cb407099ea 100644
--- a/legacy/efreet/src/bin/efreet_desktop_cache_create.c
+++ b/legacy/efreet/src/bin/efreet_desktop_cache_create.c
@@ -345,10 +345,8 @@ main(int argc, char **argv)
345 345
346 for (j = 0; j < user_dirs->array_count; j++) 346 for (j = 0; j < user_dirs->array_count; j++)
347 { 347 {
348 Eina_List *l; 348 if (eina_list_search_unsorted_list(scanned, strcmplen, user_dirs->array[j]))
349 349 continue;
350 l = eina_list_search_unsorted_list(scanned, strcmplen, user_dirs->array[j]);
351 if (l) continue;
352 if (!ecore_file_is_dir(user_dirs->array[j])) continue; 350 if (!ecore_file_is_dir(user_dirs->array[j])) continue;
353 if (!cache_scan(user_dirs->array[j], NULL, priority, 0, &changed)) goto error; 351 if (!cache_scan(user_dirs->array[j], NULL, priority, 0, &changed)) goto error;
354 scanned = eina_list_append(scanned, eina_stringshare_add(user_dirs->array[j])); 352 scanned = eina_list_append(scanned, eina_stringshare_add(user_dirs->array[j]));
@@ -364,10 +362,8 @@ main(int argc, char **argv)
364 362
365 EINA_LIST_FOREACH(extra_dirs, l, path) 363 EINA_LIST_FOREACH(extra_dirs, l, path)
366 { 364 {
367 Eina_List *ll; 365 if (eina_list_search_unsorted_list(scanned, strcmplen, path))
368 366 continue;
369 ll = eina_list_search_unsorted_list(scanned, strcmplen, path);
370 if (ll) continue;
371 if (!ecore_file_is_dir(path)) continue; 367 if (!ecore_file_is_dir(path)) continue;
372 368
373 /* If we scan a passed dir, we must have changed */ 369 /* If we scan a passed dir, we must have changed */