Menu

#7169 AUDIO: Misleading indentation in audio/decoders/qdm2.cpp

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

GCC 6's -Wmisleading-indentation flags code beginning from line 1530 in audio/decoders/qdm2.cpp as misleadingly indented.

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

Likewise, the code within the for-statement in line 1660 of the same file (lines 1661-1663) is also misleadingly indented.

Discussion

  • Eugene Sandulenko

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

    Thanks, I added the missing curly brackets.