Fixes some Xcode 9 warning.
This commit is contained in:
1 parent
a909677e67
commit
7861e4fe2c
8 files changed
+28
-13
No files matched your search
@@ -335,7 +335,7 @@ extern NSString *STLoadFileWithUnknownEncoding(NSURL *url)
|
||||
if (!res) NSLog(@"Both of latin1/2 failed.\n");
|
||||
} else {
|
||||
res = [[NSString alloc] initWithData:data encoding:NSASCIIStringEncoding];
|
||||
if (!res) NSLog(@"ASCII failed."), NSLog(@"Failed to load file as guessed encoding %@.",enc_str);
|
||||
if (!res) { NSLog(@"ASCII failed."); NSLog(@"Failed to load file as guessed encoding %@.",enc_str); }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user