summaryrefslogtreecommitdiff
path: root/legacy/efreet
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/efreet')
-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 {