aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Value.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-05-19 20:15:12 +0000
committerBill Wendling <isanbard@gmail.com>2008-05-19 20:15:12 +0000
commit13d57320bd212483463d4f8992d5787b29eda5df (patch)
tree4161a4c6087bd4741c341ac401969d3cf82fda65 /include/llvm/Value.h
parent9d60ba9d28c21145515878294b07c91622435632 (diff)
Remove warnings about unused parameters and shadowed variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Value.h')
-rw-r--r--include/llvm/Value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index 2d6351d530..efac8e88f7 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -232,7 +232,7 @@ inline std::ostream &operator<<(std::ostream &OS, const Value &V) {
return OS;
}
-void Use::init(Value *V, User *user) {
+void Use::init(Value *V, User *) {
Val = V;
if (V) V->addUse(*this);
}