From ebd21b30eb833a6942c4e82f890989a2462ab74f Mon Sep 17 00:00:00 2001 From: Serge Pavlov Date: Fri, 19 Jul 2013 16:23:54 +0000 Subject: [PATCH] Initialize TempFileHandle. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186684 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Support/Windows/Path.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc index 1be74338711..99363431676 100644 --- a/lib/Support/Windows/Path.inc +++ b/lib/Support/Windows/Path.inc @@ -185,7 +185,7 @@ retry_random_path: random_path_utf16.push_back(0); random_path_utf16.pop_back(); - HANDLE TempFileHandle; + HANDLE TempFileHandle = INVALID_HANDLE_VALUE; switch (Type) { case FS_File: { -- 2.34.1