Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#7168 closed defect (fixed)

MADS: Misleading indentation in nebular/nebular_scenes2.cpp

Reported by: DrMcCoy Owned by: dreammaster
Priority: low Component: Engine: MADS
Version: Keywords:
Cc: Game:


GCC 6's -Wmisleading-indentation flags the break-statement in engines/mads/nebular/nebular_scenes2.cpp:106 to be misleadingly indented.

Specifically, this break-statement is indented as if it belonged inside the else-statement in line 104. However, due to the lack of curly braces on that else-statement, this break-statement is not within the scope of that else-statement.

Ticket imported from: bugs/7168.

Change History (2)

comment:1 by dreammaster, 8 years ago

Owner: set to dreammaster
Resolution: fixed
Status: newclosed

comment:2 by digitall, 5 years ago

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