winetest: Only call GetTempPath once.

oldstable
Nicolas Le Cam 2009-05-31 13:33:17 +02:00 committed by Alexandre Julliard
parent 3091506609
commit 62ab6ab1c5
1 changed files with 0 additions and 3 deletions

View File

@ -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" );