任务单 #42872

Fallthrough from VUT_CITYTILE case in req_text_insert()

开放日期: 2021-09-18 10:28 最后更新: 2021-09-24 01:23

报告人:
属主:
类型:
状态:
关闭
组件:
优先:
5 - Medium
严重性:
5 - Medium
处理结果:
Fixed
文件:
1

Details

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

任务单历史 (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 Fixed

编辑

Please login to add comment to this ticket » 登录名