Skip to content

Commit de80eaf

Browse files
[Infra] Suppress designated initializer warning in FIRQueryFake (#15123)
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
1 parent 37b1ad6 commit de80eaf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

FirebaseTestingSupport/Firestore/Sources/FIRQueryFake.mm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,13 @@
1616

1717
@implementation FIRQueryFake
1818

19+
#pragma clang diagnostic push
20+
#pragma clang diagnostic ignored "-Wobjc-designated-initializers"
1921
- (instancetype)init {
2022
// The object is partially initialized. Make sure the methods used during testing are overridden.
2123
return self;
2224
}
25+
#pragma clang diagnostic pop
2326

2427
- (void)getDocumentsWithCompletion:(FIRQuerySnapshotBlock)completion {
2528
if (self.getDocumentsHandler) {

0 commit comments

Comments
 (0)