From 925ceacfed45c44dd2a025c32bebb1358b560741 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 8 Feb 2017 02:17:48 +0000 Subject: [PATCH] util: Add missing field initialisers in constructor (#410) Coverity ID: 141042 --- util/hb-shape.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util/hb-shape.cc b/util/hb-shape.cc index 3bd2184de..75c3793b5 100644 --- a/util/hb-shape.cc +++ b/util/hb-shape.cc @@ -35,7 +35,9 @@ struct output_buffer_t format (parser), gs (NULL), line_no (0), - font (NULL) {} + font (NULL), + output_format (HB_BUFFER_SERIALIZE_FORMAT_INVALID), + format_flags (HB_BUFFER_SERIALIZE_FLAG_DEFAULT) {} void init (const font_options_t *font_opts) {