Skip to content

Commit

Permalink
fix(firestore, ios): remove a warning that would be printed when usin…
Browse files Browse the repository at this point in the history
…g transactions (#11783)
  • Loading branch information
Lyokone committed Nov 3, 2023
1 parent e7d428d commit 355ab9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ - (void)transactionGetApp:(nonnull FirestorePigeonFirebaseApp *)app
return;
}

NSError *error = [[NSError alloc] init];
NSError *error = nil;
FIRDocumentSnapshot *snapshot = [transaction getDocument:document error:&error];

if (error != nil) {
Expand Down

0 comments on commit 355ab9a

Please sign in to comment.