cmd: Remove dead assignments (clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6b85b31b00
commit
c9903aedcb
|
@ -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 */
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue