正常,因为 getSession() 就是 &g_session
只要写 if (getSession()) 就会出他
【 在 crazier9688 (屠龙啸仙) 的大作中提到: 】
: log.c: In function 'newbbslog':
: log.c:306: warning: the address of 'g_session' will always evaluate as 'true'
: ./../src/bbs.c: In function 'notepad':
: ...................
--
FROM 221.218.129.*