diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2016-10-18 11:37:02 +1100 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2016-10-18 11:37:02 +1100 |
commit | 56fd1d51251f996535d52aaf97fc9fc4c0e559f4 (patch) | |
tree | 0f155c35e194eac7c7ae6956b10ff12ce98a515d | |
parent | 17d91406ae5c1a5a4bd5bae52175619401495349 (diff) | |
download | scintilla-mirror-56fd1d51251f996535d52aaf97fc9fc4c0e559f4.tar.gz |
validAttributesForMarkedText is specified to not return NULL so return an
empty array instead. Fixes clang analyser warning.
-rw-r--r-- | cocoa/ScintillaView.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm index b4827cc90..51cb0af5f 100644 --- a/cocoa/ScintillaView.mm +++ b/cocoa/ScintillaView.mm @@ -613,7 +613,7 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor) - (NSArray*) validAttributesForMarkedText { - return nil; + return @[]; } // End of the NSTextInputClient protocol adoption. |