Opened 3 years ago

Closed 3 years ago

Last modified 8 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:


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 Changed 3 years ago by sev-

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

comment:2 Changed 3 years ago by sev-

Thanks, I added the missing curly brackets.

comment:3 Changed 8 months ago by digitall

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