mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
misc: Fix two more -Wunused-const-variable warnings
Only exposed in bootloader builds Change-Id: Iee277112c027b28eccd0432c8b231a4084450dbe
This commit is contained in:
parent
6ae4933d6e
commit
e4a16c23ee
2 changed files with 4 additions and 1 deletions
|
|
@ -46,6 +46,7 @@ struct diac_range
|
|||
#define DIAC_RANGE_ENTRY(first_diac, first_non_diac, is_rtl) \
|
||||
{ first_diac, ((first_non_diac - first_diac) & DIAC_CNT) | (is_rtl * DIAC_RTL)}
|
||||
|
||||
#ifndef BOOTLOADER
|
||||
/* Sorted by Unicode value */
|
||||
static const struct diac_range diac_ranges[] =
|
||||
{
|
||||
|
|
@ -194,7 +195,7 @@ static const struct diac_range diac_ranges[] =
|
|||
};
|
||||
|
||||
#define MRU_MAX_LEN 32
|
||||
#ifndef BOOTLOADER
|
||||
|
||||
bool is_diacritic(const unsigned short char_code, bool *is_rtl)
|
||||
{
|
||||
static uint8_t mru_len = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue