[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Nov 8 18:50:15 PST 2002


Changes in directory llvm/lib/Transforms/Instrumentation/ProfilePaths:

ProfilePaths.cpp updated: 1.22 -> 1.23

---
Log message:

Fix warning


---
Diffs of the changes:

Index: llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
diff -u llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp:1.22 llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp:1.23
--- llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp:1.22	Sat Oct 12 15:33:47 2002
+++ llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp	Fri Nov  8 18:49:30 2002
@@ -87,7 +87,7 @@
   std::vector<Edge> edges;
 
   Node *tmp;
-  Node *exitNode, *startNode;
+  Node *exitNode = 0, *startNode = 0;
 
   // The nodes must be uniquesly identified:
   // That is, no two nodes must hav same BB*





More information about the llvm-commits mailing list