diff --git a/include/llvm/Support/ValueHandle.h b/include/llvm/Support/ValueHandle.h index 3fdef6b5450..7e5bc1b4cf4 100644 --- a/include/llvm/Support/ValueHandle.h +++ b/include/llvm/Support/ValueHandle.h @@ -394,7 +394,7 @@ public: /// Called when a new Use is added to the use-list of this->getValPtr(), /// after the Use has been appended to the list. Other VH kinds would ignore /// this callback, but clients can use it to trigger re-analysis of Values. - virtual void addedUse(Use &U) {} + virtual void addedUse(Use &) {} }; // Specialize simplify_type to allow CallbackVH to participate in