mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4610: some conditions are always true
Problem: Some conditions are always true. Solution: Remove the useless conditions. (closes #9993)
This commit is contained in:
@@ -2411,8 +2411,7 @@ getfile(
|
||||
if (curbufIsChanged())
|
||||
#endif
|
||||
{
|
||||
if (other)
|
||||
--no_wait_return;
|
||||
--no_wait_return;
|
||||
no_write_message();
|
||||
retval = GETFILE_NOT_WRITTEN; // file has been changed
|
||||
goto theend;
|
||||
|
Reference in New Issue
Block a user