[PATCH] testbot/Janitor: Don't undefine variables that are going out of scope.

Francois Gouget fgouget at codeweavers.com
Tue Jan 16 18:23:16 CST 2018


There is no point.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/Janitor.pl | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/testbot/bin/Janitor.pl b/testbot/bin/Janitor.pl
index 4f0e4de0..6ac22ded 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;
 }
-- 
2.15.1



More information about the wine-devel mailing list