summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-11-11 00:42:28 +0100
committerHaru <haru@dotalux.com>2014-11-11 00:44:37 +0100
commit53b3577e9929fd304f55af622f5be2f4b32b19d4 (patch)
treea20a6278d461fa6bc5d500736c91376475d4fb6e /src
parentcf39fdb21417361bdc5da2c755da68b18d4daa5e (diff)
downloadhercules-53b3577e9929fd304f55af622f5be2f4b32b19d4.tar.gz
hercules-53b3577e9929fd304f55af622f5be2f4b32b19d4.tar.bz2
hercules-53b3577e9929fd304f55af622f5be2f4b32b19d4.tar.xz
hercules-53b3577e9929fd304f55af622f5be2f4b32b19d4.zip
Corrected some uninitialized interface functions
- Detected through the just merged validation tool, special thanks to Andrei Karas. - Added validation tool to the Travis tests. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src')
-rw-r--r--src/common/conf.c1
-rw-r--r--src/map/pc.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/src/common/conf.c b/src/common/conf.c
index 46a034497..34d1cacbf 100644
--- a/src/common/conf.c
+++ b/src/common/conf.c
@@ -146,6 +146,7 @@ void libconfig_defaults(void) {
/* */
libconfig->setting_set_int = config_setting_set_int;
libconfig->setting_set_int64 = config_setting_set_int64;
+ libconfig->setting_set_float = config_setting_set_float;
libconfig->setting_set_bool = config_setting_set_bool;
libconfig->setting_set_string = config_setting_set_string;
/* */
diff --git a/src/map/pc.h b/src/map/pc.h
index e613feec5..b7a0b099c 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -780,9 +780,6 @@ struct pc_interface {
struct map_session_data* (*get_dummy_sd) (void);
int (*class2idx) (int class_);
- //int (*getrefinebonus) (int lv,int type); FIXME: This function does not exist, nor it is ever called
- bool (*can_give_items) (struct map_session_data *sd);
- bool (*can_give_bound_items) (struct map_session_data *sd);
bool (*can_talk) (struct map_session_data *sd);
bool (*can_attack) ( struct map_session_data *sd, int target_id );