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
c9903aed
Commit
c9903aed
authored
Jan 30, 2017
by
André Hentschel
Committed by
Alexandre Julliard
Jan 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Remove dead assignments (clang).
Signed-off-by:
André Hentschel
<
nerv@dawncrow.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6b85b31b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
builtins.c
programs/cmd/builtins.c
+1
-1
wcmdmain.c
programs/cmd/wcmdmain.c
+0
-2
No files found.
programs/cmd/builtins.c
View file @
c9903aed
...
...
@@ -4109,7 +4109,7 @@ void WCMD_setshow_env (WCHAR *s) {
if
(
string
[
count
-
2
]
==
'\r'
)
string
[
count
-
2
]
=
'\0'
;
/* Under Windoze we get CRLF! */
WINE_TRACE
(
"set /p: Setting var '%s' to '%s'
\n
"
,
wine_dbgstr_w
(
s
),
wine_dbgstr_w
(
string
));
status
=
SetEnvironmentVariableW
(
s
,
string
);
SetEnvironmentVariableW
(
s
,
string
);
}
/* See if /A supplied, and if so calculate the results of all the expressions */
...
...
programs/cmd/wcmdmain.c
View file @
c9903aed
...
...
@@ -2527,8 +2527,6 @@ int wmain (int argc, WCHAR *argvW[])
/* Otherwise we now need to look in the path to see if we can find it */
}
else
{
p
=
thisArg
+
strlenW
(
thisArg
);
/* Does file exist with this name? */
if
(
SearchPathW
(
NULL
,
thisArg
,
NULL
,
sizeof
(
string
)
/
sizeof
(
WCHAR
),
string
,
NULL
)
!=
0
)
{
WINE_TRACE
(
"Found on path as '%s'
\n
"
,
wine_dbgstr_w
(
string
));
...
...
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