summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-04-25 10:32:26 -0300
committershennetsind <ind@henn.et>2013-04-25 10:32:26 -0300
commit64dca8681c90dca15009fb82e54154d3faf3b1d6 (patch)
tree9ca903e8938b7234e4fd801ae2d0d6a4cd57f145 /src
parent064a4ecf07689e8ee673bb17e5cf342ae3cdd585 (diff)
downloadhercules-64dca8681c90dca15009fb82e54154d3faf3b1d6.tar.gz
hercules-64dca8681c90dca15009fb82e54154d3faf3b1d6.tar.bz2
hercules-64dca8681c90dca15009fb82e54154d3faf3b1d6.tar.xz
hercules-64dca8681c90dca15009fb82e54154d3faf3b1d6.zip
Fixed Bug #7189
http://hercules.ws/board/tracker/issue-7189-warning-while-recompiling-using-centos5/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src')
-rw-r--r--src/char/pincode.c2
-rw-r--r--src/char/pincode.h2
-rw-r--r--src/common/console.c2
-rw-r--r--src/login/account_sql.c2
-rw-r--r--src/map/pc.c2
5 files changed, 5 insertions, 5 deletions
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;