diff options
| author | Neil Hodgson <nyamatongwe@gmail.com> | 2015-09-29 16:29:11 +1000 |
|---|---|---|
| committer | Neil Hodgson <nyamatongwe@gmail.com> | 2015-09-29 16:29:11 +1000 |
| commit | 809d10630a8004c6ede22d3e81d6e02bbadc5a10 (patch) | |
| tree | 92557a6da3670368d859e787909dce8371761515 /cocoa/ScintillaCocoa.mm | |
| parent | cdf88da80d8d4249a8dfefc91c5f8c54c363e921 (diff) | |
| download | scintilla-mirror-809d10630a8004c6ede22d3e81d6e02bbadc5a10.tar.gz | |
Mark unused parameters in Objective-C methods with a pragma.
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
| -rw-r--r-- | cocoa/ScintillaCocoa.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 76614ce3e..9756b5e9b 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -1282,6 +1282,7 @@ void ScintillaCocoa::DragScroll() - (void)pasteboard:(NSPasteboard *)pasteboard item:(NSPasteboardItem *)item provideDataForType:(NSString *)type { +#pragma unused(item) if (selectedText.Length() == 0) return; |
