Avoid a compiler warning about Found not being used when assertions are
authorDuncan Sands <baldrick@free.fr>
Fri, 13 Sep 2013 08:16:06 +0000 (08:16 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 13 Sep 2013 08:16:06 +0000 (08:16 +0000)
disabled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190668 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/IPO/FunctionAttrs.cpp

index 20d168056caefddd2c857cfb9c99bdbc82d242ed..386cb7154aab38cf89cb90b1a6aeebd3680d7910 100644 (file)
@@ -367,6 +367,7 @@ namespace {
         }
       }
       assert(Found && "Capturing call-site captured nothing?");
+      (void)Found;
       return false;
     }