aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/DerivedTypes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h
index 4537400618..04a73fe8cf 100644
--- a/include/llvm/DerivedTypes.h
+++ b/include/llvm/DerivedTypes.h
@@ -292,7 +292,7 @@ public:
inline const Type *getElementType() const { return ContainedTys[0]; }
virtual bool indexValid(const Value *V) const;
- virtual bool indexValid(unsigned Idx) const {
+ virtual bool indexValid(unsigned) const {
return true;
}
@@ -302,7 +302,7 @@ public:
virtual const Type *getTypeAtIndex(const Value *) const {
return ContainedTys[0];
}
- virtual const Type *getTypeAtIndex(unsigned Idx) const {
+ virtual const Type *getTypeAtIndex(unsigned) const {
return ContainedTys[0];
}