Skip to content

Commit 50318f2

Browse files
Cleanup
1 parent 625ba10 commit 50318f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Firestore/Source/API/FSTUserDataReader.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ - (google_firestore_v1_Value)parseDictionary:(NSDictionary<NSString *, id> *)dic
331331
google_firestore_v1_Value result{};
332332
result.which_value_type = google_firestore_v1_Value_map_value_tag;
333333

334-
__block std::vector<google_firestore_v1_MapValue_FieldsEntry> fields{};
334+
__block std::vector<google_firestore_v1_MapValue_FieldsEntry> fields;
335335

336336
if (dict.count == 0) {
337337
const FieldPath *path = context.path();
@@ -364,7 +364,7 @@ - (google_firestore_v1_Value)parseDictionary:(NSDictionary<NSString *, id> *)dic
364364
}
365365

366366
- (google_firestore_v1_Value)parseArray:(NSArray<id> *)array context:(ParseContext &&)context {
367-
__block google_firestore_v1_Value result;
367+
__block google_firestore_v1_Value result{};
368368
result.which_value_type = google_firestore_v1_Value_array_value_tag;
369369
result.array_value.values_count = static_cast<pb_size_t>([array count]);
370370
result.array_value.values =

0 commit comments

Comments
 (0)