Commit 7bbd46ba authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

xcopy: Avoid an empty if-block.

parent 9834492d
......@@ -526,16 +526,11 @@ static int XCOPY_DoCopy(WCHAR *srcstem, WCHAR *srcspec,
/* Output a status message */
if (!skipFile) {
if (flags & OPT_QUIET) {
/* Skip message */
} else if (flags & OPT_FULL) {
const WCHAR infostr[] = {'%', '1', ' ', '-', '>', ' ',
'%', '2', '\n', 0};
XCOPY_wprintf(infostr, copyFrom, copyTo);
} else {
const WCHAR infostr[] = {'%', '1', '\n', 0};
XCOPY_wprintf(infostr, copyFrom);
if (!(flags & OPT_QUIET)) {
if (flags & OPT_FULL)
XCOPY_wprintf(L"%1 -> %2\n", copyFrom, copyTo);
else
XCOPY_wprintf(L"%1\n", copyFrom);
}
/* If allowing overwriting of read only files, remove any
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment