Francois Gouget : testbot/VMs: ListDirectoryInGuest() is not used so remove it.

Alexandre Julliard julliard at winehq.org
Wed Aug 29 14:55:24 CDT 2012


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

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Aug 29 18:34:46 2012 +0200

testbot/VMs: ListDirectoryInGuest() is not used so remove it.

---

 testbot/lib/WineTestBot/VMs.pm |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/testbot/lib/WineTestBot/VMs.pm b/testbot/lib/WineTestBot/VMs.pm
index 58f0dbc..fac32b5 100644
--- a/testbot/lib/WineTestBot/VMs.pm
+++ b/testbot/lib/WineTestBot/VMs.pm
@@ -469,28 +469,6 @@ sub CaptureScreenImage
   return (undef, $ImageSize, $ImageBytes);
 }
 
-sub ListDirectoryInGuest
-{
-  my $self = shift;
-  my $PathName = $_[0];
-
-  my ($ErrMessage, $VMHandle) = $self->GetVMHandle();
-  if (defined($ErrMessage))
-  {
-    return $ErrMessage;
-  }
-
-  $ErrMessage = $self->LoginInGuest($VMHandle, !1);
-  if (defined($ErrMessage))
-  {
-    return $ErrMessage;
-  }
-
-  my ($Err, @DirectoryContents) = VMListDirectoryInGuest($VMHandle, $PathName, 
-                                                         0);
-  return ($self->CheckError($Err), @DirectoryContents);
-}
-
 sub Status
 {
   my $self = shift;




More information about the wine-cvs mailing list