diff --git a/misc-scripts/xref_projection/project_display_xrefs.pl b/misc-scripts/xref_projection/project_display_xrefs.pl
index 340b5e3c812e786e2db1f25e03e8c251b884ffb3..98f2371358f69b4d35939ee075775816650b473d 100644
--- a/misc-scripts/xref_projection/project_display_xrefs.pl
+++ b/misc-scripts/xref_projection/project_display_xrefs.pl
@@ -75,7 +75,6 @@ if (!$go_terms && !$names) {
 
 # only certain types of homology are considered
 my @homology_types_allowed = ("ortholog_one2one","apparent_ortholog_one2one");
-my @homology_types_allowed;
 if ($one_to_many) {
   push @homology_types_allowed, "ortholog_one2many","apparent_ortholog_one2many";
 }