Fix Scrutinizer issue

- "The variable $names does not seem to be defined for all execution paths leading up to this point."
This commit is contained in:
Paul Gear
2014-03-14 09:08:32 +10:00
parent eee3645ffe
commit 44ef56c26e
+2 -2
View File
@@ -37,8 +37,8 @@ ORDER BY ipv4_address
// FIXME: Observium now uses ip_mac.ip_address in place of ipv4_mac.ipv4_address - why?
unset($names);
unset($ips);
$names = array();
$ips = array();
foreach (dbFetchRows($sql, array($deviceid)) as $entry)
{