summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2013-07-19 16:23:54 +0000
committerSerge Pavlov <sepavloff@gmail.com>2013-07-19 16:23:54 +0000
commitebd21b30eb833a6942c4e82f890989a2462ab74f (patch)
tree7af156583fa112bd7b8f7a146783038ebb256562 /lib
parentdb92fb07169af6941dfe47439f9849d370f0eb0b (diff)
downloadllvm-ebd21b30eb833a6942c4e82f890989a2462ab74f.tar.gz
llvm-ebd21b30eb833a6942c4e82f890989a2462ab74f.tar.bz2
llvm-ebd21b30eb833a6942c4e82f890989a2462ab74f.tar.xz
Initialize TempFileHandle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Support/Windows/Path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Windows/Path.inc b/lib/Support/Windows/Path.inc
index 1be7433871..9936343167 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: {