summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/char/char.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 81c0b6c40..7ebc63120 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/07/28
+ * Fixed "warning: `list' might be used uninitialized in this function" in char/char.c@3032 [Toms]
* Fixed "uninitialized local variable 'i' used" in skill.c and "warning: suggest explicit braces to avoid ambiguous `else'" in battle.c [Toms]
* Fixed "warning: long unsigned int format, unsigned int arg" in parse_login (login_sql\login.c) [Toms]
* Fixed sign warnings in login/login.c [Toms]
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) {