#7167 closed defect (fixed)
GNAP: Misleading indentation in scenes/group4.cpp
Reported by: | DrMcCoy | Owned by: | sev- |
---|---|---|---|
Priority: | low | Component: | Engine: GNAP |
Version: | Keywords: | ||
Cc: | Game: |
Description
GCC 6's -Wmisleading-indentation flags the break-statement in engines/gnap/scenes/group4.cpp:2694 to be misleadingly indented.
Specifically, this break-statement is indented as if it belonged inside the if-statement in line 2692. However, due to the lack of curly braces on that if-statement, this break-statement is not within the scope of that if-statement.
Ticket imported from: bugs/7167.
Change History (3)
comment:1 by , 8 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 by , 8 years ago
comment:3 by , 6 years ago
Component: | → Engine: GNAP |
---|
Note:
See TracTickets
for help on using tickets.
Thanks, fixed.