From fe154990c1c57fac6d5a4b1bfb682e27adb4eb8c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 22 Mar 2022 20:42:12 +0000 Subject: patch 8.2.4610: some conditions are always true Problem: Some conditions are always true. Solution: Remove the useless conditions. (closes #9993) --- src/clientserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/clientserver.c') diff --git a/src/clientserver.c b/src/clientserver.c index 15e490fd50..bb2108d7d4 100644 --- a/src/clientserver.c +++ b/src/clientserver.c @@ -420,7 +420,7 @@ cmdsrv_main( * For --remote-wait: Wait until the server did edit each * file. Also detect that the server no longer runs. */ - if (ret >= 0 && argtype == ARGTYPE_EDIT_WAIT) + if (argtype == ARGTYPE_EDIT_WAIT) { int numFiles = *argc - i - 1; int j; -- cgit v1.2.3