diff --git a/public_html/deployment/classes/vcs.git.class.php b/public_html/deployment/classes/vcs.git.class.php
index b7bb0bcafcb7ecaea11eea7b1234f3fd665b6e37..af89c12a13283eef48f1ff3b892f399d830492cd 100644
--- a/public_html/deployment/classes/vcs.git.class.php
+++ b/public_html/deployment/classes/vcs.git.class.php
@@ -212,7 +212,6 @@ class vcs implements iVcs {
         $oCache = new AhCache($this->_getNameOfCacheModule(), "RemoteBranches");
 
         // list of cached branch keys
-        $aKeysToDelete = array();
         if ($oCache->isExpired() || $bForceNoCache) {
             $sWorkdir = dirname($this->_sTempDir) . '/fetchRemoteBranches/';
             $sGitCmd = 'export GIT_SSH="' . $this->_sWrapper . '" ; export PKEY="' . $this->_sKeyfile . '" ; ';