forked from len0rd/rockbox
misc: Fix more build warnings uncovered with GCC15 and -Wunused-const-variable
Change-Id: I43f5d03d8496b2ac8b30df30b14d1c6e816ef0e2
This commit is contained in:
parent
9d4632b0c3
commit
3b974e791a
4 changed files with 8 additions and 4 deletions
|
@ -209,7 +209,7 @@ int make_table(int nchar, uchar * bitlen, int tablebits, ushort * table)
|
|||
}
|
||||
|
||||
/* huf.c */
|
||||
#if (__GNUC__ == 14) // XXX nuke later?
|
||||
#if (__GNUC__ >= 14) // XXX nuke later?
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wstringop-overflow"
|
||||
#endif
|
||||
|
|
|
@ -207,7 +207,7 @@ void celt_iir(const opus_val32 *_x,
|
|||
#endif
|
||||
}
|
||||
|
||||
#if (__GNUC__ == 14) // XXX nuke later?
|
||||
#if (__GNUC__ >= 14) // XXX nuke later?
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue