From 7ec4a556d9addb1ad072ac4326659ec1a2900739 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 19 Jun 2022 11:01:45 -0600 Subject: [PATCH] [normalize] Cosmetic I didn't know this syntax is allowed in old C++. --- src/hb-ot-shape-normalize.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hb-ot-shape-normalize.cc b/src/hb-ot-shape-normalize.cc index d844d79c1..7db0b25b7 100644 --- a/src/hb-ot-shape-normalize.cc +++ b/src/hb-ot-shape-normalize.cc @@ -143,8 +143,7 @@ decompose (const hb_ot_shape_normalize_context_t *c, bool shortest, hb_codepoint return 1; } - unsigned int ret; - if ((ret = decompose (c, shortest, a))) { + if (unsigned ret = decompose (c, shortest, a)) { if (b) { output_char (buffer, b, b_glyph); return ret + 1;