diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2014-05-11 20:54:45 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2014-05-11 20:54:45 -0700 |
commit | 9d4a4e8c8daa6f90b34cd70e27b70d1ecac1babc (patch) | |
tree | 765a66a787db74dc8718000e491d4da801e617d1 /MobileCydia.mm | |
parent | 55589708b11f37d4f349c3a68f52bd3a1636ed8d (diff) |
Remove _clear from Source (future code loses it).
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r-- | MobileCydia.mm | 22 |
1 files changed, 0 insertions, 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()); |