commit | fe154990c1c57fac6d5a4b1bfb682e27adb4eb8c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Mar 22 20:42:12 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Mar 22 20:42:12 2022 +0000 |
tree | f2bbad2d3535a267d934e85eeadf1d652936d5eb | |
parent | 6f2465d336a9d4afe392db4084ef7e9db17e67c1 [diff] [blame] |
patch 8.2.4610: some conditions are always true Problem: Some conditions are always true. Solution: Remove the useless conditions. (closes #9993)
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 13cde84..be358453 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c
@@ -2411,8 +2411,7 @@ if (curbufIsChanged()) #endif { - if (other) - --no_wait_return; + --no_wait_return; no_write_message(); retval = GETFILE_NOT_WRITTEN; // file has been changed goto theend;