mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-31 01:42:18 +00:00
Fix compiler warning in test case
This commit is contained in:
parent
b62984073f
commit
0bbf72a033
@ -67,7 +67,7 @@
|
|||||||
// the bundle identifier when running with unit tets is "otest"
|
// the bundle identifier when running with unit tets is "otest"
|
||||||
const char *progname = getprogname();
|
const char *progname = getprogname();
|
||||||
if (progname == NULL) {
|
if (progname == NULL) {
|
||||||
return NO;
|
return nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
NSString *filePath = [[NSBundle bundleForClass:self.class] pathForResource:filename ofType:@"plcrash"];
|
NSString *filePath = [[NSBundle bundleForClass:self.class] pathForResource:filename ofType:@"plcrash"];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user