From 777879c83227390ed7f4f6d2b9bcddfdd1307b88 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Wed, 16 Nov 2011 13:27:33 +0000 Subject: [PATCH] Silenced a warning for some compilers. --- src/core/ngx_resolver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/ngx_resolver.c b/src/core/ngx_resolver.c index 11f66eeb7..d4af2f016 100644 --- a/src/core/ngx_resolver.c +++ b/src/core/ngx_resolver.c @@ -1236,6 +1236,7 @@ ngx_resolver_process_a(ngx_resolver_t *r, u_char *buf, size_t last, addrs = NULL; cname = NULL; qtype = 0; + ttl = 0; for (a = 0; a < nan; a++) {