mirror of
https://github.com/neovim/neovim.git
synced 2025-11-26 20:20:42 +00:00
*: Fix linter errors
Also adds one exception to linter rules:
typedef struct {
kvec_t(Object) stack;
} EncodedData;
is completely valid (from the style guide point of view) code.
This commit is contained in:
@@ -4656,7 +4656,7 @@ set_option_value (
|
||||
return NULL;
|
||||
}
|
||||
if (flags & P_STRING) {
|
||||
const char *s = (char *) string;
|
||||
const char *s = (const char *)string;
|
||||
if (s == NULL) {
|
||||
s = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user