cht電腦資訊gcin已解決問題
adm Find login register

[疑惑] eve.cpp:1293: warning

caleb
joined: 2007-09-22
posted: 630
promoted: 134
bookmarked: 90
1subject: [疑惑] eve.cpp:1293: warningPromote 0 Bookmark 02009-12-17quote  

eve.cpp:1293: warning: 'return' with a value, in function returning void

這一行是 return gcin_anthy_reset();

看上下文不確定該用哪個:

1. 直接 return

2. gcin_anthy_reset();

3. gcin_anthy_reset(); 然後加個 break; ?

另外 case 6 沒有 break; 是故意的?

原本 case 6 是 return tsin_reset(); 但在 pre17 變成了 tsin_reset();

edited: 2
eliu

joined: 2007-08-09
posted: 11468
promoted: 617
bookmarked: 187
新竹, 台灣
2subject: Promote 0 Bookmark 02009-12-17quote  
感謝提醒,的確是改錯了。

cht電腦資訊gcin已解決問題
adm Find login register
views:5089