From afe7967b836c7fec00fa0d326961bab2fb314c77 Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Wed, 12 May 1999 19:47:43 +0000 Subject: [PATCH] initialize variables --- bin/tests/wire_test.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/tests/wire_test.c b/bin/tests/wire_test.c index 8ff5cf3ab0..fdb2641beb 100644 --- a/bin/tests/wire_test.c +++ b/bin/tests/wire_test.c @@ -258,6 +258,7 @@ main(int argc, char *argv[]) { dns_result_t result; isc_mem_t *mctx; + mctx = NULL; RUNTIME_CHECK(isc_mem_create(0, 0, &mctx) == ISC_R_SUCCESS); if (argc > 1) { @@ -308,6 +309,7 @@ main(int argc, char *argv[]) { isc_buffer_init(&source, b, sizeof b, ISC_BUFFERTYPE_BINARY); isc_buffer_add(&source, bp - b); + message = NULL; result = dns_message_create(mctx, &message, DNS_MESSAGE_INTENT_PARSE); CHECKRESULT(result, "dns_message_create failed");