Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7bbd46ba
Commit
7bbd46ba
authored
Oct 21, 2020
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xcopy: Avoid an empty if-block.
Signed-off-by:
Michael Stefaniuc
<
mstefani@winehq.org
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9834492d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
10 deletions
+5
-10
xcopy.c
programs/xcopy/xcopy.c
+5
-10
No files found.
programs/xcopy/xcopy.c
View file @
7bbd46ba
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment