Update to build on Xcode 6.0: variable (result) can be unitialized if condition is false (TAKE 2) [-Wsometimes-uninitialized]

meow-7.2.2
callum_linden 2014-10-17 15:00:14 -07:00
parent f292809239
commit 6fadab686d
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ std::string* findSystemDirectory(NSSearchPathDirectory searchPathDirectory,
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
std::string *result="";
std::string *result = nil;
NSString *path = nil;
// Search for the path