From f7daf57b53fa3ed180275765619d33f0e9ab0f71 Mon Sep 17 00:00:00 2001 From: kcwu Date: Sat, 18 Feb 2006 05:36:57 +0000 Subject: r3280@kcwu: kcwu | 2006-02-18 13:33:14 +0800 remove unused code. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3272 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/talk.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/mbbsd/talk.c b/mbbsd/talk.c index 2ed398a6..f53476b3 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -679,7 +679,6 @@ my_write(pid_t pid, const char *prompt, const char *id, int flag, userinfo_t * p char msg[80], destid[IDLEN + 1]; char genbuf[200], buf[200], c0 = currutmp->chatid[0]; unsigned char mode0 = currutmp->mode; - struct tm *ptime; userinfo_t *uin; uin = (puin != NULL) ? puin : (userinfo_t *) search_ulist_pid(pid); strlcpy(destid, id, sizeof(destid)); @@ -702,8 +701,6 @@ my_write(pid_t pid, const char *prompt, const char *id, int flag, userinfo_t * p currutmp->chatid[0] = 3; currstat = DBACK; - ptime = localtime4(&now); - if (flag == WATERBALL_GENERAL #ifdef PLAY_ANGEL || flag == WATERBALL_ANGEL || flag == WATERBALL_ANSWER -- cgit v1.2.3