Fix some scrutinizer coding style issues

This commit is contained in:
Mike Rostermund
2015-08-04 18:34:24 +02:00
parent e7d87d6b0a
commit 5369112d48
7 changed files with 14 additions and 8 deletions
+3 -1
View File
@@ -653,7 +653,9 @@ function discover_mempool(&$valid, $device, $index, $type, $descr, $precision='1
}
else {
echo '.';
$update_data['mempool_descr'] = $descr;
$update_data = array(
'mempool_descr' => $descr,
);
if (!empty($entPhysicalIndex)) {
$update_data['entPhysicalIndex'] = $entPhysicalIndex;