mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
refactor(path.c): add nonnull attributes (#28829)
This possibly fixes the coverity warning.
This commit is contained in:
@@ -3242,6 +3242,7 @@ static int ExpandUserLua(expand_T *xp, int *num_file, char ***file)
|
||||
/// Adds matches to `ga`.
|
||||
/// If "dirs" is true only expand directory names.
|
||||
void globpath(char *path, char *file, garray_T *ga, int expand_options, bool dirs)
|
||||
FUNC_ATTR_NONNULL_ALL
|
||||
{
|
||||
expand_T xpc;
|
||||
ExpandInit(&xpc);
|
||||
|
Reference in New Issue
Block a user