Cleanup unused variable
This commit is contained in:
parent
ce2fb1770b
commit
2d8623fa10
|
@ -584,8 +584,7 @@ static INLINE unsigned font_get_replacement(const char* src, const char* start)
|
||||||
{
|
{
|
||||||
if ((*src & 0xFC) == 0xD8) /* 0x0600 to 0x06FF */
|
if ((*src & 0xFC) == 0xD8) /* 0x0600 to 0x06FF */
|
||||||
{
|
{
|
||||||
int lookup;
|
unsigned result = 0;
|
||||||
unsigned result;
|
|
||||||
bool prev_connected = false;
|
bool prev_connected = false;
|
||||||
bool next_connected = false;
|
bool next_connected = false;
|
||||||
unsigned char id = (src[0] << 6) | (src[1] & 0x3F);
|
unsigned char id = (src[0] << 6) | (src[1] & 0x3F);
|
||||||
|
@ -595,10 +594,10 @@ static INLINE unsigned font_get_replacement(const char* src, const char* start)
|
||||||
if (id < 0x21 || id > 0x4A)
|
if (id < 0x21 || id > 0x4A)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if(prev2 < start)
|
if (prev2 < start)
|
||||||
{
|
{
|
||||||
prev2 = NULL;
|
prev2 = NULL;
|
||||||
if(prev1 < start)
|
if (prev1 < start)
|
||||||
prev1 = NULL;
|
prev1 = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue