From 9e79fca1f2f2175a290a7550897478443f94ae9f Mon Sep 17 00:00:00 2001 From: Stuart Wyatt Date: Thu, 9 Apr 2015 11:39:29 -0700 Subject: BIND - remove redundant variable initialization --- config/bind/bind.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/config/bind/bind.inc b/config/bind/bind.inc index 50025947..167f0af3 100644 --- a/config/bind/bind.inc +++ b/config/bind/bind.inc @@ -131,7 +131,6 @@ function bind_sync() if (file_exists(BIND_LOCALBASE."/etc/rndc-confgen.pfsense")) { $rndc_conf = file(BIND_LOCALBASE."/etc/rndc-confgen.pfsense"); $confgen = "rndc.conf"; - $rndc_bindconf = ""; foreach ($rndc_conf as $line) { if ($confgen == "rndc.conf") { if (!preg_match("/^#/", $line)) { -- cgit v1.2.3