0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.5062: Coverity warns for dead code

Problem:    Coverity warns for dead code.
Solution:   Remove the dead code.
This commit is contained in:
Bram Moolenaar
2022-06-06 10:07:01 +01:00
parent 99c48fe997
commit 1f89abf69d
3 changed files with 3 additions and 9 deletions

View File

@@ -8422,7 +8422,7 @@ start_timeout(long msec)
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))
{