diff options
Diffstat (limited to 'src/nvim/os_unix.c')
-rw-r--r-- | src/nvim/os_unix.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c index 1669a7cf77..cc0d9197ef 100644 --- a/src/nvim/os_unix.c +++ b/src/nvim/os_unix.c @@ -1437,10 +1437,9 @@ char_u ***file; for (i = 0; i < num_pat; i++) { s = vim_strsave(pat[i]); - if (s != NULL) - /* Be compatible with expand_filename(): halve the number of - * backslashes. */ - backslash_halve(s); + /* Be compatible with expand_filename(): halve the number of + * backslashes. */ + backslash_halve(s); (*file)[i] = s; } *num_file = num_pat; |