Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/buildmaster/todos.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-30 11:55:46 +0200
committerErich Eckner <git@eckner.net>2018-05-30 11:55:46 +0200
commit8abb1df6b81f38fc4717353af57e2952548c5baf (patch)
tree58c4145c8349a50e880e66ea64c6a4dc0de728ed /buildmaster/todos.php
parent8581b39422d40cf8ad5fef54fc1940d07d32cbe9 (diff)
buildmaster/todos.php: fix warnings about unknown variables
Diffstat (limited to 'buildmaster/todos.php')
-rw-r--r--buildmaster/todos.php4
1 files 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";
}