Permalink
Browse files

Fix compilation error with latest LLVM, close #11

  • Loading branch information...
1 parent 3c080e3 commit 23744a32cb4aad302bbc717354b1ed5a528585b9 @vtourraine vtourraine committed Oct 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 MendeleySDK/MDLDocument.m
@@ -238,7 +238,7 @@ - (AFHTTPRequestOperation *)uploadFileAtURL:(NSURL *)fileURL success:(void (^)(M
if (!self.identifier)
{
failure([NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorCancelled userInfo:nil]);
- return;
+ return nil;
}
NSString *path = [NSString stringWithFormat:@"/oapi/library/documents/%@/", self.identifier];

0 comments on commit 23744a3

Please sign in to comment.