From 62ab6ab1c5847ac0f8765fa66c51d7df24bc82f9 Mon Sep 17 00:00:00 2001 From: Nicolas Le Cam Date: Sun, 31 May 2009 13:33:17 +0200 Subject: [PATCH] winetest: Only call GetTempPath once. --- programs/winetest/main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/programs/winetest/main.c b/programs/winetest/main.c index 69496bdc08e..381328cd16d 100644 --- a/programs/winetest/main.c +++ b/programs/winetest/main.c @@ -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" ); -- 2.11.4.GIT