Added initialization of all members to satisfy compiler warnings.

pull/13171/head
Joshua Haberman 5 years ago
parent b717575cef
commit e179dda212
  1. 2
      upb/def.c

@ -1802,7 +1802,7 @@ static bool build_filedef(
const google_protobuf_FieldDescriptorProto *const *exts; const google_protobuf_FieldDescriptorProto *const *exts;
const upb_strview* strs; const upb_strview* strs;
size_t i, n; size_t i, n;
decl_counts counts = {0}; decl_counts counts = {0, 0, 0};
count_types_in_file(file_proto, &counts); count_types_in_file(file_proto, &counts);

Loading…
Cancel
Save