misc: Fix two more -Wunused-const-variable warnings

Only exposed in bootloader builds

Change-Id: Iee277112c027b28eccd0432c8b231a4084450dbe
This commit is contained in:
Solomon Peachy 2025-04-29 20:55:29 -04:00
parent 6ae4933d6e
commit e4a16c23ee
2 changed files with 4 additions and 1 deletions

View file

@ -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;