cmd: Remove dead assignments (clang).
This commit is contained in:
parent
e431d89ed2
commit
5188f08bf4
|
@ -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];
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue