待辦事項 #42872

Fallthrough from VUT_CITYTILE case in req_text_insert()

啟用日期: 2021-09-18 10:28 最後更新: 2021-09-24 01:23

回報者:
負責人:
類型:
狀態:
關閉
元件:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
1

細節

With -Wimplicit-fallthrough in master:

../../../src/common/reqtext.c: In function ‘req_text_insert’:
../../../src/common/reqtext.c:2736:12: error: this statement may fall through -Werror=implicit-fallthrough=

2736 | } else {
|

../../../src/common/reqtext.c:2809:3: note: here

2809 | case VUT_CITYSTATUS:
| ~

cc1: all warnings being treated as errors

Ticket History (3/4 Histories)

2021-09-18 10:28 Updated by: cazfi
  • New Ticket "Fallthrough from VUT_CITYTILE case in req_text_insert()" created
2021-09-18 10:33 Updated by: cazfi
2021-09-24 01:23 Updated by: cazfi
  • 狀態 Update from 開啟 to 關閉
  • 負責人 Update from (無) to cazfi
  • 處理結果 Update from Accepted to 修正

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入