Opened 8 years ago

Closed 8 years ago

Last modified 6 years ago

#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 sev-, 8 years ago

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

comment:2 by sev-, 8 years ago

Thanks, fixed.

comment:3 by digitall, 6 years ago

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