aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Value.h
diff options
context:
space:
mode:
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);
}