summaryrefslogtreecommitdiff
path: root/indra/llvfs
diff options
context:
space:
mode:
authorcallum_linden <none@none>2014-10-17 15:00:14 -0700
committercallum_linden <none@none>2014-10-17 15:00:14 -0700
commit6fadab686dc60190b842942f9f0478d8b665c906 (patch)
tree32d628f3097255d0d670a42eddc435de801f8d1f /indra/llvfs
parentf29280923974021f36365db386e37448b720d4f6 (diff)
Update to build on Xcode 6.0: variable (result) can be unitialized if condition is false (TAKE 2) [-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 d66c440367..282ea41339 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 = nil;
NSString *path = nil;
// Search for the path