Module: tools Branch: master Commit: ac81f268a30b068320468aca88d857924ab06e32 URL: https://source.winehq.org/git/tools.git/?a=commit;h=ac81f268a30b068320468aca...
Author: Francois Gouget fgouget@codeweavers.com Date: Wed Jan 17 01:23:16 2018 +0100
testbot/Janitor: Don't undefine variables that are going out of scope.
There is no point.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
testbot/bin/Janitor.pl | 4 ---- 1 file changed, 4 deletions(-)
diff --git a/testbot/bin/Janitor.pl b/testbot/bin/Janitor.pl index 4f0e4de..6ac22de 100755 --- a/testbot/bin/Janitor.pl +++ b/testbot/bin/Janitor.pl @@ -72,7 +72,6 @@ if ($JobPurgeDays != 0) } } } - $Jobs = undef; }
# Delete PatchSets that are more than a day old @@ -123,7 +122,6 @@ if ($JobPurgeDays != 0) } } } - $Patches = undef; }
# Archive old Jobs, that is remove all their associated files @@ -146,7 +144,6 @@ if ($JobArchiveDays != 0) $Job->Save(); } } - $Jobs = undef; }
# Purge the deleted users and VMs if they are not referenced anymore @@ -286,5 +283,4 @@ if ($JobPurgeDays != 0) } } } - $RecordGroups = undef; }