src/Mayaqua/Network.c: remove reccuring check
found by PVS analyzer
src/Mayaqua/Network.c	18715	err	V571 Recurring check. The 'if (u->GetNatTIpThread == NULL)' condition was already verified in line 18712.
@@ -18707,20 +18707,13 @@ LABEL_RESTART:
recv_list = NewListFast(NULL);
if (u->PollMyIpAndPort)
- {
- // Create a thread to get a NAT-T IP address if necessary
- if (u->GetNatTIpThread == NULL)
{
// Create a thread to get a NAT-T IP address if necessary
if (u->GetNatTIpThread == NULL)
{
char natt_hostname[MAX_SIZE];
-
RUDPGetRegisterHostNameByIP(natt_hostname, sizeof(natt_hostname), NULL);
-
u->GetNatTIpThread = NewQueryIpThread(natt_hostname, QUERYIPTHREAD_INTERVAL_LAST_OK, QUERYIPTHREAD_INTERVAL_LAST_NG);
- }
-
GetQueryIpThreadResult(u->GetNatTIpThread, &nat_t_ip);
}
}
