Skip to content

Commit 78ef3c8

Browse files
Clean up FieldValue port (#8435)
1 parent 6e89274 commit 78ef3c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Firestore/Source/API/FSTUserDataReader.mm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,7 @@ - (ParsedUpdateData)parsedUpdateData:(id)input {
305305
context:(ParseContext &&)context {
306306
__block Message<google_firestore_v1_Value> result;
307307
result->which_value_type = google_firestore_v1_Value_map_value_tag;
308-
result->map_value.fields_count = 0;
309-
result->map_value.fields = nil;
308+
result->map_value = {};
310309

311310
if (dict.count == 0) {
312311
const FieldPath *path = context.path();

0 commit comments

Comments
 (0)