summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2012-10-18 09:39:44 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2012-10-18 09:39:44 +0000
commitd1bf182ec83705f1606e9c3a65a731f031929fac (patch)
treee9b5885e3ae8915ff269d971e218c0ecfef68a94 /legacy
parent4eb8b955a9f35c65749028275b40f0da870d4098 (diff)
efreet: move variable to right scope
SVN revision: 78175
Diffstat (limited to 'legacy')
-rw-r--r--legacy/efreet/src/lib/efreet_cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/efreet/src/lib/efreet_cache.c b/legacy/efreet/src/lib/efreet_cache.c
index 8e4eb2e245..437e1840e2 100644
--- a/legacy/efreet/src/lib/efreet_cache.c
+++ b/legacy/efreet/src/lib/efreet_cache.c
@@ -115,8 +115,6 @@ EAPI int EFREET_EVENT_DESKTOP_CACHE_BUILD = 0;
115int 115int
116efreet_cache_init(void) 116efreet_cache_init(void)
117{ 117{
118 char buf[PATH_MAX];
119
120 _efreet_cache_log_dom = eina_log_domain_register("efreet_cache", EFREET_DEFAULT_LOG_COLOR); 118 _efreet_cache_log_dom = eina_log_domain_register("efreet_cache", EFREET_DEFAULT_LOG_COLOR);
121 if (_efreet_cache_log_dom < 0) 119 if (_efreet_cache_log_dom < 0)
122 return 0; 120 return 0;
@@ -132,6 +130,8 @@ efreet_cache_init(void)
132 130
133 if (efreet_cache_update) 131 if (efreet_cache_update)
134 { 132 {
133 char buf[PATH_MAX];
134
135 snprintf(buf, sizeof(buf), "%s/efreet", efreet_cache_home_get()); 135 snprintf(buf, sizeof(buf), "%s/efreet", efreet_cache_home_get());
136 if (!ecore_file_exists(buf)) 136 if (!ecore_file_exists(buf))
137 { 137 {