Opened 3 years ago

Closed 3 years ago

Last modified 11 months ago

#7169 closed defect (fixed)

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

Reported by: DrMcCoy Owned by: sev-
Priority: low Component: Audio
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 sev-, 3 years ago

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

comment:2 by sev-, 3 years ago

Thanks, I added the missing curly brackets.

comment:3 by digitall, 11 months ago

Component: Audio
Note: See TracTickets for help on using tickets.