Opened 3 years ago

Closed 3 years ago

Last modified 9 months ago

#7167 closed defect (fixed)

GNAP: Misleading indentation in scenes/group4.cpp

Reported by: DrMcCoy Owned by: sev-
Priority: low Component: Engine: GNAP
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 Changed 3 years ago by sev-

Owner: set to sev-
Resolution: fixed
Status: newclosed

comment:2 Changed 3 years ago by sev-

Thanks, fixed.

comment:3 Changed 9 months ago by digitall

Component: Engine: GNAP
Note: See TracTickets for help on using tickets.