From 899f489fd466e479d96ea840218031f9997e550e Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 2 Aug 2000 21:03:50 +0000 Subject: [PATCH] Don't bother assigning the result of dns_c_ndcopts_getdefserver to the variable 'result', since the result of the operation is already discovered based on whether 'servername' gets set. --- bin/rndc/rndc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/rndc/rndc.c b/bin/rndc/rndc.c index d5a7dfced7..990808d05f 100644 --- a/bin/rndc/rndc.c +++ b/bin/rndc/rndc.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rndc.c,v 1.23 2000/08/01 14:50:15 tale Exp $ */ +/* $Id: rndc.c,v 1.24 2000/08/02 21:03:50 tale Exp $ */ /* * Principal Author: DCL @@ -362,7 +362,7 @@ main(int argc, char **argv) { (void)dns_c_ndcctx_getoptions(config, &configopts); if (servername == NULL && configopts != NULL) - result = dns_c_ndcopts_getdefserver(configopts, &servername); + (void)dns_c_ndcopts_getdefserver(configopts, &servername); if (servername != NULL) result = dns_c_ndcctx_getserver(config, servername, &server);