diff options
| author | Neil Hodgson <nyamatongwe@gmail.com> | 2015-02-14 14:26:18 +1100 |
|---|---|---|
| committer | Neil Hodgson <nyamatongwe@gmail.com> | 2015-02-14 14:26:18 +1100 |
| commit | b9b6b07c87654789f80a4d54997fb927b1609ccf (patch) | |
| tree | 8e616ed9d8be7722cb0dce187d9eba99e345de80 /cocoa/ScintillaCocoa.mm | |
| parent | 9b01cf93e9d08be90bdce08a12be77ef4f6332fc (diff) | |
| download | scintilla-mirror-b9b6b07c87654789f80a4d54997fb927b1609ccf.tar.gz | |
Fix unused parameter warnings. Remove code that is never executed.
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
| -rw-r--r-- | cocoa/ScintillaCocoa.mm | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 490953eef..45ce0cc86 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -449,7 +449,7 @@ void ScintillaCocoa::Finalise() //-------------------------------------------------------------------------------------------------- -void ScintillaCocoa::UpdateObserver(CFRunLoopObserverRef observer, CFRunLoopActivity activity, void *info) { +void ScintillaCocoa::UpdateObserver(CFRunLoopObserverRef /* observer */, CFRunLoopActivity /* activity */, void *info) { ScintillaCocoa* sci = reinterpret_cast<ScintillaCocoa*>(info); sci->IdleWork(); } @@ -560,9 +560,6 @@ public: CFRelease(cfsVal); return lenMapped; } - // Something failed so return a single NUL byte - folded[0] = '\0'; - return 1; } }; @@ -1657,7 +1654,7 @@ void ScintillaCocoa::WillDraw(NSRect rect) /** * ScrollText is empty because scrolling is handled by the NSScrollView. */ -void ScintillaCocoa::ScrollText(int linesToMove) +void ScintillaCocoa::ScrollText(int) { } |
