cmd: Avoid dead assignment (Clang).
This commit is contained in:
parent
5ed423f53b
commit
15f65a0792
|
@ -838,7 +838,7 @@ static void handleExpansion(WCHAR *cmd, BOOL justFors,
|
|||
/* Replace use of %* if in batch program*/
|
||||
} else if (!justFors && context && *(p+1)=='*') {
|
||||
WCHAR *startOfParms = NULL;
|
||||
t = WCMD_parameter(context -> command, 1, &startOfParms, NULL);
|
||||
WCMD_parameter(context -> command, 1, &startOfParms, NULL);
|
||||
if (startOfParms != NULL)
|
||||
WCMD_strsubstW(p, p+2, startOfParms, -1);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue