summaryrefslogtreecommitdiff
path: root/indra/llvfs
diff options
context:
space:
mode:
authorcallum_linden <none@none>2014-10-17 14:57:22 -0700
committercallum_linden <none@none>2014-10-17 14:57:22 -0700
commitf29280923974021f36365db386e37448b720d4f6 (patch)
tree9f9cb8313e81b099c145bcd456938aed044c54a8 /indra/llvfs
parentee652b583c5d2af3b47c1c3d6896c64a6518caa6 (diff)
Update to build on Xcode 6.0: variable (result) can be unitialized if condition is false [-Wsometimes-uninitialized]
Diffstat (limited to 'indra/llvfs')
-rwxr-xr-xindra/llvfs/llvfs_objc.mm2
1 files changed, 1 insertions, 1 deletions
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