mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
lint
This commit is contained in:
@@ -3340,9 +3340,10 @@ static char *findswapname(buf_T *buf, char **dirp, char *old_fname,
|
||||
(char_u *)dir_name);
|
||||
|
||||
for (;; ) {
|
||||
if (fname == NULL) /* must be out of memory */
|
||||
if (fname == NULL) { // must be out of memory
|
||||
break;
|
||||
if ((n = strlen(fname)) == 0) { /* safety check */
|
||||
}
|
||||
if ((n = strlen(fname)) == 0) { // safety check
|
||||
XFREE_CLEAR(fname);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user