summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;