Changes in directory llvm/lib/System/Win32:

Win32.h updated: 1.5 -> 1.6
---
Log message:

Fix this impl


---
Diffs of the changes:  (+1 -1)

 Win32.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/System/Win32/Win32.h
diff -u llvm/lib/System/Win32/Win32.h:1.5 llvm/lib/System/Win32/Win32.h:1.6
--- llvm/lib/System/Win32/Win32.h:1.5   Fri Jul  7 12:13:10 2006
+++ llvm/lib/System/Win32/Win32.h       Fri Jul  7 12:26:47 2006
@@ -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);



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to