Raizlabs/WebServiceManager — pull request #60 by arrouse (2014-02-04 15:27:26+00:00)
Title: Removing set to cacheURL without ever reading.

@ndonald2 @smbarne @nbonatsakis

Can one of you guys merge this in. Just removing an analyzer warning. We set the cache URL right after the method. Here is the full method if it makes it easier to read than checking it out.

```
+ (NSURL *)defaultDocumentsDirectoryURL
{
NSArray* cachePathsArray = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString* cachePath = [cachePathsArray lastObject];

NSURL *cacheURL = nil;

if (cachePath)
{
NSError* error = nil;
NSString* fullPath = [cachePath stringByAppendingPathComponent:@"DownloadCache"];
if (![[NSFileManager defaultManager] fileExistsAtPath:fullPath])
{
[[NSFileManager defaultManager] createDirectoryAtPath:fullPath
withIntermediateDirectories:NO
attributes:nil
error:&error];
if (error != nil) {
NSLog(@"Error:%@:",error);
}
}
cacheURL = [NSURL fileURLWithPath:fullPath];
}

return cacheURL;

}
```