summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-27 13:20:44 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-27 13:20:44 +0000
commitd8b0f15444e87644ccee5a5e1ea4449c9b918fec (patch)
tree573cb9355627f6b77d02a39771321598c6404fde /src/char_sql/char.c
parentf4b532bd5afbf9d76eca469cd22d162cbc3bbbe5 (diff)
downloadhercules-d8b0f15444e87644ccee5a5e1ea4449c9b918fec.tar.gz
hercules-d8b0f15444e87644ccee5a5e1ea4449c9b918fec.tar.bz2
hercules-d8b0f15444e87644ccee5a5e1ea4449c9b918fec.tar.xz
hercules-d8b0f15444e87644ccee5a5e1ea4449c9b918fec.zip
- Removed a redeclared variable i in the parsing of the fame list (char-txt server) which seems to be the cause of the random memory corruptions.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7915 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 059e1aace..098736caf 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -2877,7 +2877,6 @@ int parse_frommap(int fd) {
if (RFIFOREST(fd) < 12)
return 0;
{
- int i;
int id = RFIFOL(fd, 2);
int fame = RFIFOL(fd, 6);
char type = RFIFOB(fd, 10);