1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

Remove unused parameter. Some clients might use -Werror when compiling and

cause drama.

llvm-svn: 51980
This commit is contained in:
Bill Wendling 2008-06-05 07:24:08 +00:00
parent 6559c2b294
commit 70db1e2064

View File

@ -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];
}