From e179dda212b83457cd16e92001e96b44307cc780 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Thu, 11 Jun 2020 12:46:05 -0700 Subject: [PATCH] Added initialization of all members to satisfy compiler warnings. --- upb/def.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upb/def.c b/upb/def.c index 10f6b94bf1..8f14335400 100644 --- a/upb/def.c +++ b/upb/def.c @@ -1802,7 +1802,7 @@ static bool build_filedef( const google_protobuf_FieldDescriptorProto *const *exts; const upb_strview* strs; size_t i, n; - decl_counts counts = {0}; + decl_counts counts = {0, 0, 0}; count_types_in_file(file_proto, &counts);