commit | 1f89abf69d2c485c38da9a45161e806de0f86f2f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Jun 06 10:07:01 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jun 06 10:07:01 2022 +0100 |
tree | b4ea5044700b4ca34360e42d134e185fa8c47520 | |
parent | 99c48fe9974b8d70ca33674658a3da722b0d6466 [diff] [blame] |
patch 8.2.5062: Coverity warns for dead code Problem: Coverity warns for dead code. Solution: Remove the dead code.
diff --git a/src/os_unix.c b/src/os_unix.c index b23adb7..72f80c9 100644 --- a/src/os_unix.c +++ b/src/os_unix.c
@@ -8422,7 +8422,7 @@ if (ret == 0) { alarm_pending = sigismember(&sigs, SIGALRM); - ret = ret == 0 ? sigprocmask(SIG_SETMASK, &saved_sigs, NULL) : ret; + ret = sigprocmask(SIG_SETMASK, &saved_sigs, NULL); } if (unlikely(ret != 0 || alarm_pending < 0)) {