Commit b7c8b62b authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

wcmd: Remove an unused variable (PVS-Studio).

parent 17e565db
......@@ -1046,7 +1046,6 @@ void WCMD_run_program (WCHAR *command, BOOL called)
WCHAR pathext[MAXSTRING];
WCHAR *firstParam;
BOOL extensionsupplied = FALSE;
BOOL launched = FALSE;
BOOL status;
DWORD len;
static const WCHAR envPath[] = {'P','A','T','H','\0'};
......@@ -1098,8 +1097,7 @@ void WCMD_run_program (WCHAR *command, BOOL called)
pathposn = pathtosearch;
WINE_TRACE("Searching in '%s' for '%s'\n", wine_dbgstr_w(pathtosearch),
wine_dbgstr_w(stemofsearch));
while (!launched && pathposn) {
while (pathposn) {
WCHAR thisDir[MAX_PATH] = {'\0'};
WCHAR *pos = NULL;
BOOL found = FALSE;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment