Opened 8 years ago

Closed 8 years ago

Last modified 6 years ago

#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 sev-, 8 years ago

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

comment:2 by sev-, 8 years ago

Thanks, I added the missing curly brackets.

comment:3 by digitall, 6 years ago

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