summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-23 09:19:59 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-11-23 09:19:59 +0800
commit77ea0b668d2ff1e638f774e221e97275a7deb6b2 (patch)
tree0ad3b01f25dfe5bdb19f1c808c2b78f4f2b847f8 /mbbsd
parent7a7578e8ea92db3aec98fe8c012f8e406b1616b8 (diff)
downloadpttbbs-77ea0b668d2ff1e638f774e221e97275a7deb6b2.tar
pttbbs-77ea0b668d2ff1e638f774e221e97275a7deb6b2.tar.gz
pttbbs-77ea0b668d2ff1e638f774e221e97275a7deb6b2.tar.bz2
pttbbs-77ea0b668d2ff1e638f774e221e97275a7deb6b2.tar.lz
pttbbs-77ea0b668d2ff1e638f774e221e97275a7deb6b2.tar.xz
pttbbs-77ea0b668d2ff1e638f774e221e97275a7deb6b2.tar.zst
pttbbs-77ea0b668d2ff1e638f774e221e97275a7deb6b2.zip
compile error
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1366 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/fav.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c
index ca3fc5b4..03916ede 100644
--- a/mbbsd/fav.c
+++ b/mbbsd/fav.c
@@ -684,9 +684,10 @@ static fav_type_t *init_add(fav_t *fp, int type)
fav_type_t *fav_add_line(void)
{
fav_t *fp = get_current_fav();
+ fav_type_t *ft
if (get_line_num(fp) >= MAX_LINE)
return NULL;
- fav_type_t *ft = init_add(fp, FAVT_LINE);
+ ft = init_add(fp, FAVT_LINE);
if (ft == NULL)
return NULL;
cast_line(ft)->lid = get_line_id(fp);