Add a cast to void to show that the return value is being

intentionally ignored.

llvm-svn: 100984
This commit is contained in:
Dan Gohman 2010-04-11 19:30:19 +00:00
parent 7841a6ecd2
commit 008a38b1d6
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ bool IVUsers::runOnLoop(Loop *l, LPPassManager &LPM) {
// them by stride. Start by finding all of the PHI nodes in the header for
// this loop. If they are induction variables, inspect their uses.
for (BasicBlock::iterator I = L->getHeader()->begin(); isa<PHINode>(I); ++I)
AddUsersIfInteresting(I);
(void)AddUsersIfInteresting(I);
return false;
}