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:
@@ -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))
|
||||
{
|
||||
|
Reference in New Issue
Block a user