mirror of
https://git.savannah.gnu.org/git/screen.git
synced 2026-04-21 19:34:26 +02:00
Remove unnecessary condition check
According to parent "if" condition this is never the case Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
This commit is contained in:
@@ -235,8 +235,6 @@ int Attach(int how)
|
|||||||
pause(); /* wait for SIGCONT */
|
pause(); /* wait for SIGCONT */
|
||||||
xsignal(SIGCONT, SIG_DFL);
|
xsignal(SIGCONT, SIG_DFL);
|
||||||
ContinuePlease = false;
|
ContinuePlease = false;
|
||||||
if (how != MSG_ATTACH)
|
|
||||||
return 0; /* we detached it. jw. */
|
|
||||||
sleep(1); /* we dont want to overrun our poor backend. jw. */
|
sleep(1); /* we dont want to overrun our poor backend. jw. */
|
||||||
if ((lasts = MakeClientSocket(0)) == -1)
|
if ((lasts = MakeClientSocket(0)) == -1)
|
||||||
Panic(0, "Cannot contact screen again. Sigh.");
|
Panic(0, "Cannot contact screen again. Sigh.");
|
||||||
|
|||||||
Reference in New Issue
Block a user