aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2005-11-04 18:26:02 +0000
committerJim Laskey <jlaskey@mac.com>2005-11-04 18:26:02 +0000
commit54f997d23f8fbab68bdb70bd0bc8b0a956134dae (patch)
treea27a2d54ecbdbf1e4667dc4e393dd40124a7a8f7
parent764fe71e12b5b3e22f384c820b239ce36e5e7bdc (diff)
downloadexternal_llvm-54f997d23f8fbab68bdb70bd0bc8b0a956134dae.zip
external_llvm-54f997d23f8fbab68bdb70bd0bc8b0a956134dae.tar.gz
external_llvm-54f997d23f8fbab68bdb70bd0bc8b0a956134dae.tar.bz2
Fix a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24187 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAG.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
index 4ba9d0b..0b82a6a 100644
--- a/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
+++ b/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
@@ -132,6 +132,7 @@ private:
}
// No luck
+ Resource = 0;
return Better;
}