Merge pull request #587 from JaviSoto/master
Removing warnings in Xcode 5.1DP2
This commit is contained in:
commit
616828b19b
|
@ -525,7 +525,7 @@ BOOL ImageDataHasPNGPreffix(NSData *data)
|
|||
{
|
||||
int count = 0;
|
||||
NSDirectoryEnumerator *fileEnumerator = [[NSFileManager defaultManager] enumeratorAtPath:self.diskCachePath];
|
||||
for (NSString *fileName in fileEnumerator)
|
||||
for (__unused NSString *fileName in fileEnumerator)
|
||||
{
|
||||
count += 1;
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
#define SDDispatchQueueSetterSementics assign
|
||||
#endif
|
||||
|
||||
extern inline UIImage *SDScaledImageForKey(NSString *key, UIImage *image);
|
||||
extern UIImage *SDScaledImageForKey(NSString *key, UIImage *image);
|
||||
|
||||
#define dispatch_main_sync_safe(block)\
|
||||
if ([NSThread isMainThread])\
|
||||
|
|
Loading…
Reference in New Issue