diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-11-17 17:36:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-11-17 17:36:46 +0300 |
commit | 42159c00507721d3b8f0fd67c52a17d562b75a05 (patch) | |
tree | 6b32ef053581e48398e1347294476c32986ebd4f /src | |
parent | 95a2ef315ce1e81ecae5bb3c461c0932ae53474b (diff) | |
download | evol-hercules-42159c00507721d3b8f0fd67c52a17d562b75a05.tar.gz evol-hercules-42159c00507721d3b8f0fd67c52a17d562b75a05.tar.bz2 evol-hercules-42159c00507721d3b8f0fd67c52a17d562b75a05.tar.xz evol-hercules-42159c00507721d3b8f0fd67c52a17d562b75a05.zip |
Fix compilation warnings in script command requestlang.
Diffstat (limited to 'src')
-rw-r--r-- | src/map/script.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/map/script.c b/src/map/script.c index c18def8..088f1d3 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -159,7 +159,6 @@ BUILDIN(getItemLink) { struct item_data *i_data; char *item_name; - struct script_data *data; int item_id = 0; if (script_isstringtype(st, 2)) @@ -207,8 +206,6 @@ BUILDIN(requestLang) struct script_data* data; int64 uid; const char* name; - int min; - int max; data = script_getdata(st, 2); if (!data_isreference(data)) @@ -220,8 +217,6 @@ BUILDIN(requestLang) } uid = reference_getuid(data); name = reference_getname(data); - min = (script_hasdata(st,3) ? script_getnum(st,3) : script->config.input_min_value); - max = (script_hasdata(st,4) ? script_getnum(st,4) : script->config.input_max_value); if (is_string_variable(name)) return false; |