Gerald Pfeifer : cmd: Remove variable copyFromDir which is not really used from WCMD_copy.

Alexandre Julliard julliard at winehq.org
Mon May 10 11:59:13 CDT 2010


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Fri May  7 21:59:08 2010 +0200

cmd: Remove variable copyFromDir which is not really used from WCMD_copy.

---

 programs/cmd/builtins.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c
index 0573114..7a4f9a1 100644
--- a/programs/cmd/builtins.c
+++ b/programs/cmd/builtins.c
@@ -175,7 +175,6 @@ void WCMD_copy (void) {
   DWORD len;
   static const WCHAR copyCmdW[] = {'C','O','P','Y','C','M','D','\0'};
   BOOL copyToDir = FALSE;
-  BOOL copyFromDir = FALSE;
   WCHAR srcspec[MAX_PATH];
   DWORD attribs;
   WCHAR drive[10];
@@ -204,7 +203,6 @@ void WCMD_copy (void) {
   /* If a directory, then add \* on the end when searching */
   if (attribs & FILE_ATTRIBUTE_DIRECTORY) {
     strcatW(srcpath, slashW);
-    copyFromDir = TRUE;
     strcatW(srcspec, slashW);
     strcatW(srcspec, starW);
   } else {




More information about the wine-cvs mailing list