[llvm-commits] CVS: llvm/tools/llvm-link/llvm-link.cpp

Misha Brukman brukman at cs.uiuc.edu
Sun Sep 12 16:01:34 PDT 2004



Changes in directory llvm/tools/llvm-link:

llvm-link.cpp updated: 1.41 -> 1.42
---
Log message:

Squelch compilation warnings on Sparc


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

Index: llvm/tools/llvm-link/llvm-link.cpp
diff -u llvm/tools/llvm-link/llvm-link.cpp:1.41 llvm/tools/llvm-link/llvm-link.cpp:1.42
--- llvm/tools/llvm-link/llvm-link.cpp:1.41	Fri Sep 10 23:32:42 2004
+++ llvm/tools/llvm-link/llvm-link.cpp	Sun Sep 12 18:01:24 2004
@@ -151,7 +151,7 @@
   }
 
   if (Filename.readable() && Filename.is_bytecode_file()) {
-    if (Result = GetModule(Filename))
+    if ((Result = GetModule(Filename)))
       return true;
   }
 
@@ -161,7 +161,7 @@
     sys::Path path = GetPathForLinkageItem(FN,LibPaths[I]);
     if (!path.is_empty()) {
       if (path.is_bytecode_file()) {
-        if (Result = GetModule(path)) {
+        if ((Result = GetModule(path))) {
           return true;
         } else {
           // We found file but its not a valid bytecode file so we 






More information about the llvm-commits mailing list