Remove dead code.
This commit is contained in:
1 file changed
+1
-33
+1
-33
@@ -20,7 +20,7 @@ MP42_OBJC_DIRECT_MEMBERS
|
||||
uint64_t linesInput;
|
||||
}
|
||||
|
||||
-(instancetype)init
|
||||
- (instancetype)init
|
||||
{
|
||||
if ((self = [super init])) {
|
||||
lines = [[NSMutableArray alloc] init];
|
||||
@@ -241,38 +241,6 @@ NSMutableString *STStandardizeStringNewlines(NSString *str)
|
||||
return ms;
|
||||
}
|
||||
|
||||
static const short frequencies[] = {
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
0, 1026, 29, -1258, 539, -930, -652, -815, -487, -2526, -2161, 146, -956, -914, 1149, -102,
|
||||
293, -2675, -923, -597, 339, 110, 247, 9, 0, 1024, 1239, 0, 0, 0, 0, 0,
|
||||
0, 1980, 1472, 1733, -304, -4086, 273, 582, 333, 2479, 1193, 5014, -1039, 1964, -2025, 1083,
|
||||
-154, -5000, -1725, -4843, -366, -1850, -191, 1356, -2262, 1648, 1475, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, -458, 0, 0, 0, 0, 300, 0, 0, 300, 601, 0,
|
||||
0, 0, -2247, 0, 0, 0, 0, 0, 0, 0, 3667, 0, 0, 3491, 3567, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1993, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 1472, 0, 0, 0, 5000, 0, 601, 0, 1993, 0,
|
||||
0, 1083, 0, 672, -458, 0, 0, -458, 1409, 0, 0, 0, 0, 0, 1645, 425,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 601, -1123,
|
||||
-1912, 4259, 2573, 8866, 55, 0, 0, -2247, -831, -3788, -3043, 0, 0, 3412, 2921, 1251,
|
||||
0, 0, 1377, 520, 1344, 0, -1123, 0, 0, -1213, 2208, -458, -794, 2636, 3824, 0};
|
||||
|
||||
BOOL SubDifferentiateLatin12(const unsigned char *data, int length)
|
||||
{
|
||||
// generated from french/german (latin1) and hungarian/romanian (latin2)
|
||||
|
||||
int frcount = 0;
|
||||
|
||||
while (length--) {
|
||||
frcount += frequencies[*data++];
|
||||
}
|
||||
|
||||
return frcount <= 0;
|
||||
}
|
||||
|
||||
|
||||
extern NSString *STLoadFileWithUnknownEncoding(NSURL *url)
|
||||
{
|
||||
NSData *data = [NSData dataWithContentsOfURL:url];
|
||||
|
||||
Reference in new issue
Block a user