In bd258258 when adding a simple example to demonstrate NWFilter
APIs I've forgot to initialize $ret variable which is then used
(possibly undefined).
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
examples/index.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/index.php b/examples/index.php
index aa3ed51..01aa532 100644
--- a/examples/index.php
+++ b/examples/index.php
@@ -627,6 +627,7 @@
echo "<h2>Network filters</h2>";
echo "Here you can see all the network filters defined";
+ $ret = false;
if (array_key_exists('subaction', $_GET)) {
$uuid = $_GET['uuid'];
$name = $_GET['name'];
--
2.13.5