From 9d4a4e8c8daa6f90b34cd70e27b70d1ecac1babc Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 11 May 2014 20:54:45 -0700 Subject: Remove _clear from Source (future code loses it). --- MobileCydia.mm | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/MobileCydia.mm b/MobileCydia.mm index 2466937..94b97d1 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -1364,26 +1364,6 @@ static void PackageImport(const void *key, const void *value, void *context) { @implementation Source -- (void) _clear { - uri_.clear(); - distribution_.clear(); - type_.clear(); - - base_.clear(); - - description_.clear(); - label_.clear(); - origin_.clear(); - depiction_.clear(); - support_.clear(); - version_.clear(); - defaultIcon_.clear(); - - record_ = nil; - host_ = nil; - authority_ = nil; -} - + (NSString *) webScriptNameForSelector:(SEL)selector { if (false); else if (selector == @selector(addSection:)) @@ -1434,8 +1414,6 @@ static void PackageImport(const void *key, const void *value, void *context) { } - (void) setMetaIndex:(metaIndex *)index inPool:(apr_pool_t *)pool { - [self _clear]; - trusted_ = index->IsTrusted(); uri_.set(pool, index->GetURI()); -- cgit v1.2.3