Fix false positive analyzer warning about resumableUpdate type (#2454)

This commit is contained in:
Zorg authored and GitHub committed 2023-10-16 20:31:32 -07:00
1 parent a00fd1d323
commit 70a9ad52ae
1 file changed
+3 -2
+3 -2
View File
@@ -190,8 +190,9 @@
- (void)extractDownloadedUpdate
{
assert(_resumableUpdate != nil);
[self extractUpdate:_resumableUpdate];
id<SPUResumableUpdate> resumableUpdate = _resumableUpdate;
assert(resumableUpdate != nil && [resumableUpdate isKindOfClass:[SPUDownloadedUpdate class]]);
[self extractUpdate:(SPUDownloadedUpdate *)resumableUpdate];
}
- (void)clearDownloadedUpdate