[subset] Fix warning about uninitialized use of end_cp.
This commit is contained in:
parent
6c81cd9543
commit
d8635dfe5a
|
@ -99,8 +99,8 @@ struct CmapSubtableFormat4
|
||||||
hb_requires (hb_is_iterator (Iterator))>
|
hb_requires (hb_is_iterator (Iterator))>
|
||||||
void to_ranges (Iterator it, Writer& range_writer)
|
void to_ranges (Iterator it, Writer& range_writer)
|
||||||
{
|
{
|
||||||
hb_codepoint_t start_cp, prev_run_start_cp, run_start_cp, end_cp, last_gid;
|
hb_codepoint_t start_cp, prev_run_start_cp, run_start_cp, end_cp, last_gid = 0;
|
||||||
int run_length, delta, prev_delta;
|
int run_length, delta, prev_delta = 0;
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
FIRST_SUB_RANGE,
|
FIRST_SUB_RANGE,
|
||||||
|
|
Loading…
Reference in New Issue