#7169 closed defect (fixed)
AUDIO: Misleading indentation in audio/decoders/qdm2.cpp
Reported by: | DrMcCoy | Owned by: | sev- |
---|---|---|---|
Priority: | low | Component: | Audio |
Version: | Keywords: | ||
Cc: | Game: |
Description
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.
Ticket imported from: bugs/7169.
Change History (3)
comment:1 by , 8 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 by , 8 years ago
comment:3 by , 6 years ago
Component: | → Audio |
---|
Note:
See TracTickets
for help on using tickets.
Thanks, I added the missing curly brackets.