Skip to content
This repository
Browse code

Fix compilation error with latest LLVM, close #11

  • Loading branch information...
commit 23744a32cb4aad302bbc717354b1ed5a528585b9 1 parent 3c080e3
Vincent Tourraine authored October 14, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  MendeleySDK/MDLDocument.m
2  MendeleySDK/MDLDocument.m
@@ -238,7 +238,7 @@ - (AFHTTPRequestOperation *)uploadFileAtURL:(NSURL *)fileURL success:(void (^)(M
238 238
     if (!self.identifier)
239 239
     {
240 240
         failure([NSError errorWithDomain:NSURLErrorDomain code:NSURLErrorCancelled userInfo:nil]);
241  
-        return;
  241
+        return nil;
242 242
     }
243 243
     
244 244
     NSString *path = [NSString stringWithFormat:@"/oapi/library/documents/%@/", self.identifier];

0 notes on commit 23744a3

Please sign in to comment.
Something went wrong with that request. Please try again.