summaryrefslogtreecommitdiff
path: root/src/bin/eolian/common_funcs.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2015-07-30 13:50:46 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2015-07-30 13:50:46 +0100
commit1c5bd5e502824cfb5efec89c0abba353c032c4c7 (patch)
tree48551ce8dd45d8fa6bf56dcc7fa0a04a8f8ac893 /src/bin/eolian/common_funcs.c
parentc1faf5681809db1f9f8514689c1fe456497c3681 (diff)
eolian/generator: no point in creating tmp_env, it's not used
Diffstat (limited to '')
-rw-r--r--src/bin/eolian/common_funcs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bin/eolian/common_funcs.c b/src/bin/eolian/common_funcs.c
index 837a8d973c..bbe24c1410 100644
--- a/src/bin/eolian/common_funcs.c
+++ b/src/bin/eolian/common_funcs.c
@@ -78,9 +78,6 @@ _class_func_env_create(const Eolian_Class *class, const char *funcname, Eolian_F
78 char *p; 78 char *p;
79 const Eolian_Function *funcid = eolian_class_function_get_by_name(class, funcname, ftype); 79 const Eolian_Function *funcid = eolian_class_function_get_by_name(class, funcname, ftype);
80 80
81 _eolian_class_vars tmp_env;
82 _class_env_create(class, NULL, &tmp_env);
83
84 p = strncpy(env->upper_func, funcname, PATH_MAX - 1); 81 p = strncpy(env->upper_func, funcname, PATH_MAX - 1);
85 eina_str_toupper(&p); 82 eina_str_toupper(&p);
86 83