From f29280923974021f36365db386e37448b720d4f6 Mon Sep 17 00:00:00 2001 From: callum_linden Date: Fri, 17 Oct 2014 14:57:22 -0700 Subject: Update to build on Xcode 6.0: variable (result) can be unitialized if condition is false [-Wsometimes-uninitialized] --- indra/llvfs/llvfs_objc.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/llvfs/llvfs_objc.mm b/indra/llvfs/llvfs_objc.mm index 47b0e73978..d66c440367 100755 --- a/indra/llvfs/llvfs_objc.mm +++ b/indra/llvfs/llvfs_objc.mm @@ -48,7 +48,7 @@ std::string* findSystemDirectory(NSSearchPathDirectory searchPathDirectory, { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - std::string *result; + std::string *result=""; NSString *path = nil; // Search for the path -- cgit v1.2.3