summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-07-28 11:27:08 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-07-28 17:13:52 +0900
commitf9c7d25b0845ab0c99cee402700d046ae318da39 (patch)
tree928445cb99eca1f3cf21320a672b4a6ec9c6fdd8
parent284cd2a530cc6c422bfbb3fa34855f60965a7750 (diff)
downloadefl-f9c7d25b0845ab0c99cee402700d046ae318da39.tar.gz
Evas filters: Disable debug code path
-rw-r--r--src/lib/evas/filters/evas_filter_parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/evas/filters/evas_filter_parser.c b/src/lib/evas/filters/evas_filter_parser.c
index bb3f38b0e3..ce5fa1d747 100644
--- a/src/lib/evas/filters/evas_filter_parser.c
+++ b/src/lib/evas/filters/evas_filter_parser.c
@@ -2208,10 +2208,10 @@ static inline void
_lua_import_path_get(char *path, size_t len, const char *name)
{
const char *pfx = _evas_module_datadir_get();
- struct stat st;
size_t r;
-//#ifdef FILTERS_DEBUG
+#ifdef FILTERS_DEBUG
+ struct stat st;
// This is a hack to fetch the most recent file from source
if (stat(path, &st) == -1)
{
@@ -2231,7 +2231,7 @@ _lua_import_path_get(char *path, size_t len, const char *name)
free(src);
if (!stat(path, &st)) return;
}
-//#endif
+#endif
r = snprintf(path, len - 1, "%s/filters/lua/%s.lua", pfx ? pfx : ".", name);
if (r >= len) path[len - 1] = '\0';