From 3394a47b32534d5ab8d3ce8a62c4af89c31850ab Mon Sep 17 00:00:00 2001 From: mrg Date: Thu, 11 May 2006 09:28:45 +0000 Subject: [PATCH] move is_zone initialisation earlier to avoid a GCC warning. --- dist/bind/bin/named/query.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/bind/bin/named/query.c b/dist/bind/bin/named/query.c index 9f8445ccfe56..f3eb4f1655d6 100644 --- a/dist/bind/bin/named/query.c +++ b/dist/bind/bin/named/query.c @@ -1,4 +1,4 @@ -/* $NetBSD: query.c,v 1.1.1.4 2005/12/21 23:08:02 christos Exp $ */ +/* $NetBSD: query.c,v 1.2 2006/05/11 09:28:45 mrg Exp $ */ /* * Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC") @@ -2382,6 +2382,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype) zone = NULL; need_wildcardproof = ISC_FALSE; empty_wild = ISC_FALSE; + is_zone = ISC_FALSE; options = 0; if (event != NULL) { @@ -2392,7 +2393,6 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype) want_restart = ISC_FALSE; authoritative = ISC_FALSE; - is_zone = ISC_FALSE; qtype = event->qtype; if (qtype == dns_rdatatype_rrsig)