From 8abb1df6b81f38fc4717353af57e2952548c5baf Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 30 May 2018 11:55:46 +0200 Subject: buildmaster/todos.php: fix warnings about unknown variables --- buildmaster/todos.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildmaster/todos.php b/buildmaster/todos.php index d2c42dc..d6ad5f8 100644 --- a/buildmaster/todos.php +++ b/buildmaster/todos.php @@ -19,7 +19,7 @@ if (isset($_GET["graph"])) { $knot_rows[$row["id"]] = $row["file"]. " (line ".$row["line"]."):\\n".str_replace("\"","\\\"",$row["description"]); - unset($knots); + $knots=""; foreach ($knot_rows as $knot) $knots=$knots . "\"" . $knot . "\";\n"; @@ -42,7 +42,7 @@ if (isset($_GET["graph"])) { $count++; } - unset($edges); + $edges=""; foreach ($link_rows as $link) $edges=$edges . "\"" . $link["depending_on"] . "\" -> \"" . $link["dependent"] . "\";\n"; } -- cgit v1.2.3