From 4b0e71db2d479ceeb01fd96eb939847bc695c03c Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 7 Apr 2006 01:52:06 +0000 Subject: [PATCH] Initialize $interface_channels to silence PHPEclipse --- etc/inc/interfaces.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 48a8db9fa3..08a7be6b29 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1519,6 +1519,7 @@ function get_wireless_modes($interface) $stack_list = "$awk -F\"Channel \" '{print \$2 \"\\\n\" \$3 }'"; $format_list = "$awk '{print \$5 \" \" \$6 \",\" \$1}'"; + $interface_channels = ""; exec("$chan_list | $stack_list | sort -u | $format_list 2>&1", $interface_channels); $interface_channel_count = count($interface_channels);