diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-11 19:30:19 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-11 19:30:19 +0000 |
commit | e521ccb5bd1142b41723de519b15e13ab82914e1 (patch) | |
tree | 3a0e7db303581a37954d7f6c74588ef8c0bb9992 | |
parent | 87527c594f94ad72d8d1cb35b91f53e720d67cf1 (diff) | |
download | external_llvm-e521ccb5bd1142b41723de519b15e13ab82914e1.zip external_llvm-e521ccb5bd1142b41723de519b15e13ab82914e1.tar.gz external_llvm-e521ccb5bd1142b41723de519b15e13ab82914e1.tar.bz2 |
Add a cast to void to show that the return value is being
intentionally ignored.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100984 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/IVUsers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/IVUsers.cpp b/lib/Analysis/IVUsers.cpp index 9643d16..fbd3e70 100644 --- a/lib/Analysis/IVUsers.cpp +++ b/lib/Analysis/IVUsers.cpp @@ -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; } |