Opened 4 years ago

Closed 4 years ago

Last modified 19 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:


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-, 4 years ago

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

comment:2 by sev-, 4 years ago

Thanks, fixed.

comment:3 by digitall, 19 months ago

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