summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authortoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-28 11:17:01 +0000
committertoms <toms@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-28 11:17:01 +0000
commit39855d11e453ae163ae63d9cfa008582d27059e3 (patch)
treea2fbfed90332ec9f8495a05e495ff573e4a172d8 /src/char
parent38c37abce31ac6d4adc4ad6dbffe59e1b243f1b5 (diff)
downloadhercules-39855d11e453ae163ae63d9cfa008582d27059e3.tar.gz
hercules-39855d11e453ae163ae63d9cfa008582d27059e3.tar.bz2
hercules-39855d11e453ae163ae63d9cfa008582d27059e3.tar.xz
hercules-39855d11e453ae163ae63d9cfa008582d27059e3.zip
Fixed "warning: `list' might be used uninitialized in this function" in char/char.c@3032
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7944 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index a062f761f..e6becbd5d 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -3029,7 +3029,7 @@ int parse_frommap(int fd) {
char type = RFIFOB(fd, 10);
char pos = RFIFOB(fd, 11);
int size;
- struct fame_list *list;
+ struct fame_list *list = NULL;
RFIFOSKIP(fd,12);
switch(type) {