Menu

#7167 GNAP: Misleading indentation in scenes/group4.cpp

*None
closed-fixed
None
2
2016-07-31
2016-07-20
Sven Hesse
No

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.

Discussion

  • Eugene Sandulenko

    • status: open --> closed-fixed
    • assigned_to: Eugene Sandulenko
     
  • Eugene Sandulenko

    Thanks, fixed.