fix compiler warnings: -Wmaybe-uninitialized

This commit is contained in:
[anp/hsw]
2024-08-02 21:18:51 +07:00
parent ddc3fe7481
commit b65d0f2d73
4 changed files with 9 additions and 9 deletions

View File

@@ -189,7 +189,7 @@ static void *t_resolver(void *arg)
{
int tid = (int)(size_t)arg;
int i, r;
char dom[256], is_ok;
char dom[256], is_ok = 0;
struct addrinfo hints;
struct addrinfo *result;