mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
cmd: Remove variable copyFromDir which is not really used from WCMD_copy.
This commit is contained in:
parent
3ff0890c11
commit
0d527532fa
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user