Merge pull request #587 from JaviSoto/master

Removing warnings in Xcode 5.1DP2
This commit is contained in:
Olivier Poitrey 2013-12-15 03:08:46 -08:00
commit 616828b19b
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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])\