1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-19 18:20:40 +03:00

src/Mayaqua/Network.c: refactor code to eliminate coverity issue

This commit is contained in:
Ilya Shipitsin 2018-08-11 21:49:02 +02:00 committed by Davide Beatrici
parent a73fb8c4e7
commit c3bf75e8e0

View File

@ -663,17 +663,15 @@ LIST *GetNicList()
#ifdef OS_WIN32
o = Win32GetNicList();
#endif // OS_WIN32
#ifdef UNIX_LINUX
#endif // UNIX_LINUX
if (o == NULL)
if (o != NULL)
{
return NewListFast(NULL);
return o;
}
return o;
#endif // OS_WIN32
return NewListFast(NULL);
}
#ifdef OS_WIN32