| commit | a8d4713798086ceffeb406392ddaad2faaf2aca5 | [log] [tgz] |
|---|---|---|
| author | Jim Stichnoth <stichnot@chromium.org> | Tue Sep 08 14:43:38 2015 -0700 |
| committer | Jim Stichnoth <stichnot@chromium.org> | Tue Sep 08 14:43:38 2015 -0700 |
| tree | 4819ef7d935f2ee5ef752f94fcd23ca28c6e307d | |
| parent | 5300bfe5c1b6dd711f77284691c920fc6c830873 [diff] [blame] |
Fix warnings produced by g++ on Windows. Scraped non-pragma related warnings from a recent trybot run: wget -O - 'http://build.chromium.org/p/tryserver.nacl/builders/nacl-toolchain-win7-pnacl-x86_64/builds/3221/steps/llvm_i686_w64_mingw32%20%28build%29/logs/stdio' | grep subzero | grep warning | grep -v pragma BUG= none R=ascull@google.com, jpp@chromium.org Review URL: https://codereview.chromium.org/1315193020.
diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp index 095994e..d57224b 100644 --- a/src/IceCfgNode.cpp +++ b/src/IceCfgNode.cpp
@@ -241,6 +241,7 @@ } } assert(Found); + (void)Found; // Repoint this node's in-edge. Found = false; for (CfgNode *&I : InEdges) { @@ -252,12 +253,14 @@ } } assert(Found); + (void)Found; // Repoint all suitable branch instructions' target and return. Found = false; for (Inst &I : Pred->getInsts()) if (!I.isDeleted() && I.repointEdges(this, NewNode)) Found = true; assert(Found); + (void)Found; return NewNode; }