mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +03:00
src/Cedar/Client.c: silence coverity regarding dead code
This commit is contained in:
parent
36dbde6f32
commit
1fdc712e66
@ -1869,6 +1869,7 @@ BEGIN_LISTENER:
|
|||||||
// If the port cannot be opened
|
// If the port cannot be opened
|
||||||
if (cn_next_allow <= Tick64())
|
if (cn_next_allow <= Tick64())
|
||||||
{
|
{
|
||||||
|
#ifdef OS_WIN32
|
||||||
if (cursor_changed)
|
if (cursor_changed)
|
||||||
{
|
{
|
||||||
// It can be judged to have the rights to open the port
|
// It can be judged to have the rights to open the port
|
||||||
@ -1876,6 +1877,7 @@ BEGIN_LISTENER:
|
|||||||
// So, take over the port which is owned by other process forcibly
|
// So, take over the port which is owned by other process forcibly
|
||||||
CncReleaseSocket();
|
CncReleaseSocket();
|
||||||
}
|
}
|
||||||
|
#endif // OS_WIN32
|
||||||
|
|
||||||
if (cn_listener->Halt)
|
if (cn_listener->Halt)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user