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
5188f08b
Commit
5188f08b
authored
Dec 19, 2012
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Dec 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Remove dead assignments (clang).
parent
e431d89e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
builtins.c
programs/cmd/builtins.c
+0
-1
wcmdmain.c
programs/cmd/wcmdmain.c
+0
-5
No files found.
programs/cmd/builtins.c
View file @
5188f08b
...
...
@@ -440,7 +440,6 @@ static BOOL WCMD_ManualCopy(WCHAR *srcname, WCHAR *dstname, BOOL ascii, BOOL app
}
/* Loop copying data from source to destination until EOF read */
ok
=
TRUE
;
do
{
char
buffer
[
MAXSTRING
];
...
...
programs/cmd/wcmdmain.c
View file @
5188f08b
...
...
@@ -1157,8 +1157,6 @@ void WCMD_run_program (WCHAR *command, BOOL called)
static
const
WCHAR
batExt
[]
=
{
'.'
,
'b'
,
'a'
,
't'
,
'\0'
};
static
const
WCHAR
cmdExt
[]
=
{
'.'
,
'c'
,
'm'
,
'd'
,
'\0'
};
launched
=
TRUE
;
/* Special case BAT and CMD */
if
(
ext
&&
(
!
strcmpiW
(
ext
,
batExt
)
||
!
strcmpiW
(
ext
,
cmdExt
)))
{
BOOL
oldinteractive
=
interactive
;
...
...
@@ -2404,9 +2402,6 @@ int wmain (int argc, WCHAR *argvW[])
* parameters after the /C or /K by pretending there was a single space */
if
(
argPos
==
NULL
)
argPos
=
(
WCHAR
*
)
spaceW
;
/* Build the command to execute - It is what is left in argPos */
len
=
strlenW
(
argPos
);
/* Take a copy */
cmd
=
heap_strdupW
(
argPos
);
...
...
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