From 64dca8681c90dca15009fb82e54154d3faf3b1d6 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Thu, 25 Apr 2013 10:32:26 -0300 Subject: Fixed Bug #7189 http://hercules.ws/board/tracker/issue-7189-warning-while-recompiling-using-centos5/ Signed-off-by: shennetsind --- src/char/pincode.c | 2 +- src/char/pincode.h | 2 +- src/common/console.c | 2 +- src/login/account_sql.c | 2 +- src/map/pc.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/char/pincode.c b/src/char/pincode.c index 4135c0c1c..2603df2d8 100644 --- a/src/char/pincode.c +++ b/src/char/pincode.c @@ -198,4 +198,4 @@ void pincode_defaults(void) { pincode->check = pincode_check; pincode->config_read = pincode_config_read; -} \ No newline at end of file +} diff --git a/src/char/pincode.h b/src/char/pincode.h index 94e0b4f5b..358f21ff7 100644 --- a/src/char/pincode.h +++ b/src/char/pincode.h @@ -39,4 +39,4 @@ struct pincode_interface *pincode; void pincode_defaults(void); -#endif /* _PINCODE_H_ */ \ No newline at end of file +#endif /* _PINCODE_H_ */ diff --git a/src/common/console.c b/src/common/console.c index 08ab6bcd4..67897ee81 100644 --- a/src/common/console.c +++ b/src/common/console.c @@ -184,4 +184,4 @@ void console_defaults(void) { console->parse = console_parse; console->key_pressed = console_parse_key_pressed; #endif -} \ No newline at end of file +} diff --git a/src/login/account_sql.c b/src/login/account_sql.c index 9fbe50727..1d77f1975 100644 --- a/src/login/account_sql.c +++ b/src/login/account_sql.c @@ -688,4 +688,4 @@ static bool mmo_auth_tosql(AccountDB_SQL* db, const struct mmo_account* acc, boo void account_db_sql_up(AccountDB* self) { AccountDB_SQL* db = (AccountDB_SQL*)self; Sql_HerculesUpdateCheck(db->accounts); -} \ No newline at end of file +} diff --git a/src/map/pc.c b/src/map/pc.c index 2ac5d6919..671cea6c4 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4593,7 +4593,7 @@ int pc_steal_item(struct map_session_data *sd,struct block_list *bl, uint16 skil struct status_data *sd_status, *md_status; struct mob_data *md; struct item tmp_item; - struct item_data *data; + struct item_data *data = NULL; if(!sd || !bl || bl->type!=BL_MOB) return 0; -- cgit v1.2.3-70-g09d2