Ticket #42872

Fallthrough from VUT_CITYTILE case in req_text_insert()

Open Date: 2021-09-18 10:28 Last Update: 2021-09-24 01:23

Reporter:
Owner:
Type:
Status:
Closed
Component:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
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

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
  • Status Update from Open to Closed
  • Owner Update from (None) to cazfi
  • Resolution Update from Accepted to Fixed

Edit

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