From 56fd1d51251f996535d52aaf97fc9fc4c0e559f4 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Tue, 18 Oct 2016 11:37:02 +1100 Subject: validAttributesForMarkedText is specified to not return NULL so return an empty array instead. Fixes clang analyser warning. --- cocoa/ScintillaView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa') 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. -- cgit v1.2.3