Commit 62ab6ab1 authored by Nicolas Le Cam's avatar Nicolas Le Cam Committed by Alexandre Julliard

winetest: Only call GetTempPath once.

parent 30915066
......@@ -658,9 +658,6 @@ run_tests (char *logname)
if (logfile == INVALID_HANDLE_VALUE)
report (R_FATAL, "Could not open logfile: %u", GetLastError());
if (!GetTempPathA( MAX_PATH, tmppath ))
report (R_FATAL, "Can't name temporary dir (check %%TEMP%%).");
/* try stable path for ZoneAlarm */
strcpy( tempdir, tmppath );
strcat( tempdir, "wct" );
......
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