Get rid of a warning when compiling optimized. Uninitialized variable has

been initialized.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15565 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-08-07 15:19:31 +00:00
parent ecf8afdc20
commit b814e2d1c0
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@ bool MSSchedule::resourcesFree(MSchedGraphNode *node, int cycle) {
} }
bool MSSchedule::constructKernel(int II) { bool MSSchedule::constructKernel(int II) {
MSchedGraphNode *branchNode; MSchedGraphNode *branchNode = 0;
int stageNum = (schedule.rbegin()->first)/ II; int stageNum = (schedule.rbegin()->first)/ II;
DEBUG(std::cerr << "Number of Stages: " << stageNum << "\n"); DEBUG(std::cerr << "Number of Stages: " << stageNum << "\n");

View File

@ -133,7 +133,7 @@ bool MSSchedule::resourcesFree(MSchedGraphNode *node, int cycle) {
} }
bool MSSchedule::constructKernel(int II) { bool MSSchedule::constructKernel(int II) {
MSchedGraphNode *branchNode; MSchedGraphNode *branchNode = 0;
int stageNum = (schedule.rbegin()->first)/ II; int stageNum = (schedule.rbegin()->first)/ II;
DEBUG(std::cerr << "Number of Stages: " << stageNum << "\n"); DEBUG(std::cerr << "Number of Stages: " << stageNum << "\n");