From e5edcc81bf14311c56bd2f50808552076c3c4d77 Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Wed, 14 Feb 2018 11:17:53 -0800 Subject: [PATCH] [subset] Fix codepoint iteration in hb-subset-test. --- test/api/hb-subset-test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api/hb-subset-test.h b/test/api/hb-subset-test.h index 498329c2d..efae17976 100644 --- a/test/api/hb-subset-test.h +++ b/test/api/hb-subset-test.h @@ -96,7 +96,7 @@ hb_subset_test_create_subset (hb_face_t *source, hb_subset_input_t *input = hb_subset_input_create_or_fail (); hb_set_t * input_codepoints = hb_subset_input_unicode_set (input); - hb_codepoint_t codepoint; + hb_codepoint_t codepoint = -1; while (hb_set_next (codepoints, &codepoint)) { hb_set_add (input_codepoints, codepoint); }