more silencing fixes

This commit is contained in:
Michiharu Ariza 2018-08-02 11:22:42 -07:00
parent f6da449831
commit 693ae80474
2 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,7 @@ struct CFF2VariationStore
inline bool serialize (hb_serialize_context_t *c, const CFF2VariationStore *varStore) inline bool serialize (hb_serialize_context_t *c, const CFF2VariationStore *varStore)
{ {
TRACE_SANITIZE (this); TRACE_SERIALIZE (this);
unsigned int size_ = varStore->get_size (); unsigned int size_ = varStore->get_size ();
CFF2VariationStore *dest = c->allocate_size<CFF2VariationStore> (size_); CFF2VariationStore *dest = c->allocate_size<CFF2VariationStore> (size_);
if (unlikely (dest == nullptr)) return_trace (false); if (unlikely (dest == nullptr)) return_trace (false);

View File

@ -144,6 +144,7 @@ struct CFF2PrivateDict_OpSerializer : OpSerializer
struct subset_plan { struct subset_plan {
inline subset_plan (void) inline subset_plan (void)
: final_size (0)
{ {
subset_charstrings.init (); subset_charstrings.init ();
private_off_and_size_pairs.init (); private_off_and_size_pairs.init ();