From 7e998d193a1429b42bb69582f9e5738aa6fd1a72 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 29 Oct 2018 23:31:42 -0700 Subject: [PATCH] Fix spurious warning re uninitialized use --- src/hb-ot-layout-common.hh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index 47731053..3505b9cd 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -1110,6 +1110,7 @@ struct Coverage { inline Iter (const Coverage &c_) { + memset (this, 0, sizeof (*this)); format = c_.u.format; switch (format) { -- GitLab