diff --git a/src/SFML/Window/OSX/ClipboardImpl.mm b/src/SFML/Window/OSX/ClipboardImpl.mm index 497099821..c8d17dcc4 100644 --- a/src/SFML/Window/OSX/ClipboardImpl.mm +++ b/src/SFML/Window/OSX/ClipboardImpl.mm @@ -57,7 +57,7 @@ void ClipboardImpl::setString(const String& text) NSPasteboard* pboard = [NSPasteboard generalPasteboard]; [pboard declareTypes:@[NSPasteboardTypeString] owner:nil]; - BOOL ok = [pboard setString:data forType:NSPasteboardTypeString]; + [pboard setString:data forType:NSPasteboardTypeString]; [data release]; }