mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Fix another linter error.
This commit is contained in:
@@ -5129,7 +5129,7 @@ static void vim_maketempdir(void)
|
||||
// Try the entries in `TEMP_DIR_NAMES` to create the temp directory.
|
||||
char_u template[TEMP_FILE_PATH_MAXLEN];
|
||||
char_u path[TEMP_FILE_PATH_MAXLEN];
|
||||
for (size_t i = 0; i < ARRAY_SIZE(temp_dirs); ++i) {
|
||||
for (size_t i = 0; i < ARRAY_SIZE(temp_dirs); i++) {
|
||||
// Expand environment variables, leave room for "/nvimXXXXXX/999999999"
|
||||
expand_env((char_u *)temp_dirs[i], template, TEMP_FILE_PATH_MAXLEN - 22);
|
||||
if (!os_isdir(template)) { // directory doesn't exist
|
||||
|
||||
Reference in New Issue
Block a user