Skip to content

Commit 3da26bd

Browse files
committed
mad: code cleanup
1 parent 4d10fd6 commit 3da26bd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/mad/bit.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,13 +215,13 @@ unsigned short mad_bit_crc(struct mad_bitptr bitptr, unsigned int len,
215215
switch (len / 8) {
216216
case 3: crc = (crc << 8) ^
217217
unalShort(&crc_table[((crc >> 8) ^ mad_bit_read(&bitptr, 8)) & 0xff]);
218-
__attribute__((fallthrough));
218+
/* fall through */
219219
case 2: crc = (crc << 8) ^
220220
unalShort(&crc_table[((crc >> 8) ^ mad_bit_read(&bitptr, 8)) & 0xff]);
221-
__attribute__((fallthrough));
221+
/* fall through */
222222
case 1: crc = (crc << 8) ^
223223
unalShort(&crc_table[((crc >> 8) ^ mad_bit_read(&bitptr, 8)) & 0xff]);
224-
len %= 8;
224+
len %= 8;
225225
case 0: break;
226226
}
227227

0 commit comments

Comments
 (0)