Fixed warnings
This commit is contained in:
1 parent
f53f64e262
commit
d12e815539
5 files changed
+14
-10
No files matched your search
@@ -659,10 +659,11 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
|
||||
|
||||
for (index = [itemIndexes lastIndex]; index != NSNotFound; index = [itemIndexes indexLessThanIndex:index]) {
|
||||
NSArray *representations = [[[metadata.artworks objectAtIndex:index] image] representations];
|
||||
NSData *bitmapData = [NSBitmapImageRep representationOfImageRepsInArray:representations
|
||||
usingType:NSTIFFFileType properties:nil];
|
||||
|
||||
[pasteboard setData:bitmapData forType:NSTIFFPboardType];
|
||||
if (representations) {
|
||||
NSData *bitmapData = [NSBitmapImageRep representationOfImageRepsInArray:representations
|
||||
usingType:NSTIFFFileType properties:@{}];
|
||||
[pasteboard setData:bitmapData forType:NSTIFFPboardType];
|
||||
}
|
||||
}
|
||||
|
||||
return [itemIndexes count];
|
||||
|
||||
Reference in new issue
Block a user