André Hentschel : winemaker: Remove unused function.

Alexandre Julliard julliard at winehq.org
Thu Apr 23 11:27:24 CDT 2009


Module: wine
Branch: master
Commit: e8a5325196cf570011df81d66d6c7d7a907f2492
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e8a5325196cf570011df81d66d6c7d7a907f2492

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Apr 22 18:37:00 2009 +0200

winemaker: Remove unused function.

---

 tools/winemaker |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/tools/winemaker b/tools/winemaker
index 43efecc..ed9c5e5 100755
--- a/tools/winemaker
+++ b/tools/winemaker
@@ -397,28 +397,6 @@ sub is_absolute($)
 }
 
 ##
-# Performs a binary search looking for the specified item
-sub bsearch($$)
-{
-  my $array=$_[0];
-  my $item=$_[1];
-  my $last=@{$array}-1;
-  my $first=0;
-
-  while ($first<=$last) {
-    my $index=int(($first+$last)/2);
-    my $cmp=@$array[$index] cmp $item;
-    if ($cmp<0) {
-      $first=$index+1;
-    } elsif ($cmp>0) {
-      $last=$index-1;
-    } else {
-      return $index;
-    }
-  }
-}
-
-##
 # Retrieves the contents of the specified directory.
 # We either get it from the directories hashtable which acts as a
 # cache, or use opendir, readdir, closedir and store the result




More information about the wine-cvs mailing list