summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-05-31 03:40:00 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-05-31 03:40:00 +0000
commit44c63540158fe25f33a14e2b4758fb4a88890fd9 (patch)
treeec654063502c6ddaa9256ed6e0b3dbe018b434c3 /utils
parente7b43ecdcd0a8685a60689f4881d7bfd00d955be (diff)
really fix the windows build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209964 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/KillTheDoctor/KillTheDoctor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/KillTheDoctor/KillTheDoctor.cpp b/utils/KillTheDoctor/KillTheDoctor.cpp
index feba2e54f6a..a0d314bf10a 100644
--- a/utils/KillTheDoctor/KillTheDoctor.cpp
+++ b/utils/KillTheDoctor/KillTheDoctor.cpp
@@ -210,7 +210,7 @@ static error_code GetFileNameFromHandle(HANDLE FileHandle,
return windows_error(::GetLastError());
else {
Name = Filename;
- return windows_error::success;
+ return error_code();
}
}
@@ -249,7 +249,7 @@ static std::string FindProgram(const std::string &Program, error_code &ec) {
break;
} else {
// We found the path! Return it.
- ec = windows_error::success;
+ ec = error_code();
break;
}
}