]> git.saurik.com Git - cydia.git/commitdiff
Leave Package::source_ nil until first use.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 18 Nov 2010 19:21:40 +0000 (11:21 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 18 Nov 2010 19:21:40 +0000 (11:21 -0800)
MobileCydia.mm

index 629a39f6025f7e3a25070976121e2d91ba679ef8..6bbab2792603f484a06b481650bf9410b7d76510 100644 (file)
@@ -2118,12 +2118,6 @@ struct PackageNameOrdering :
                 data[i] |= 0x20;
         _end
 
                 data[i] |= 0x20;
         _end
 
-        if (!file_.end()) {
-            _profile(Package$initWithVersion$Source)
-                source_ = [([database_ getSource:file_.File()] ?: (Source *) [NSNull null]) retain];
-            _end
-        }
-
         required_ = true;
 
         _profile(Package$initWithVersion$Tags)
         required_ = true;
 
         _profile(Package$initWithVersion$Tags)