Skip to content
Snippets Groups Projects
Commit 6fadab68 authored by callum_linden's avatar callum_linden
Browse files

Update to build on Xcode 6.0: variable (result) can be unitialized if...

Update to build on Xcode 6.0: variable (result) can be unitialized if condition is false (TAKE 2) [-Wsometimes-uninitialized]
parent f2928092
Branches
Tags
No related merge requests found
...@@ -48,7 +48,7 @@ std::string* findSystemDirectory(NSSearchPathDirectory searchPathDirectory, ...@@ -48,7 +48,7 @@ std::string* findSystemDirectory(NSSearchPathDirectory searchPathDirectory,
{ {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
std::string *result=""; std::string *result = nil;
NSString *path = nil; NSString *path = nil;
// Search for the path // Search for the path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment