We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14b7973 commit a8d5b3eCopy full SHA for a8d5b3e
SDImageCache.m
@@ -245,7 +245,7 @@ - (UIImage *)imageFromKey:(NSString *)key fromDisk:(BOOL)fromDisk
245
246
if (!image && fromDisk)
247
{
248
- UIImage *image = SDScaledImageForPath(key, [NSData dataWithContentsOfFile:[self cachePathForKey:key]]);
+ image = SDScaledImageForPath(key, [NSData dataWithContentsOfFile:[self cachePathForKey:key]]);
249
if (image)
250
251
[memCache setObject:image forKey:key];
0 commit comments