xcopy: Avoid an empty if-block.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9834492d2f
commit
7bbd46ba3f
|
@ -526,16 +526,11 @@ static int XCOPY_DoCopy(WCHAR *srcstem, WCHAR *srcspec,
|
||||||
|
|
||||||
/* Output a status message */
|
/* Output a status message */
|
||||||
if (!skipFile) {
|
if (!skipFile) {
|
||||||
if (flags & OPT_QUIET) {
|
if (!(flags & OPT_QUIET)) {
|
||||||
/* Skip message */
|
if (flags & OPT_FULL)
|
||||||
} else if (flags & OPT_FULL) {
|
XCOPY_wprintf(L"%1 -> %2\n", copyFrom, copyTo);
|
||||||
const WCHAR infostr[] = {'%', '1', ' ', '-', '>', ' ',
|
else
|
||||||
'%', '2', '\n', 0};
|
XCOPY_wprintf(L"%1\n", copyFrom);
|
||||||
|
|
||||||
XCOPY_wprintf(infostr, copyFrom, copyTo);
|
|
||||||
} else {
|
|
||||||
const WCHAR infostr[] = {'%', '1', '\n', 0};
|
|
||||||
XCOPY_wprintf(infostr, copyFrom);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If allowing overwriting of read only files, remove any
|
/* If allowing overwriting of read only files, remove any
|
||||||
|
|
Loading…
Reference in New Issue