projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c72a3a
)
Fix this impl
author
Chris Lattner
<sabre@nondot.org>
Fri, 7 Jul 2006 17:26:47 +0000
(17:26 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 7 Jul 2006 17:26:47 +0000
(17:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29055
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Win32/Win32.h
patch
|
blob
|
history
diff --git
a/lib/System/Win32/Win32.h
b/lib/System/Win32/Win32.h
index d1029916605fcdf7a053f6266cf05cc598602bed..ef2d66fee42cfc2abab64a1ec422e6c5cb9ebefe 100644
(file)
--- a/
lib/System/Win32/Win32.h
+++ b/
lib/System/Win32/Win32.h
@@
-25,7
+25,7
@@
#include <string>
inline bool GetError(const std::string &Prefix, std::string *Dest) {
- if (Dest == 0) return;
+ if (Dest == 0) return
true
;
char *buffer = NULL;
FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER|FORMAT_MESSAGE_FROM_SYSTEM,
NULL, GetLastError(), 0, (LPSTR)&buffer, 1, NULL);