diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-06-05 07:24:08 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-06-05 07:24:08 +0000 |
commit | 12c846f5d2adc88e3aa43500128475c9ba2e9228 (patch) | |
tree | 7dc1a06a35b9a186944ca9850149ec07f2aeec82 /include/llvm/DerivedTypes.h | |
parent | bc5786ba47089ee38bc3fab88af17d96db7ea9dd (diff) | |
download | external_llvm-12c846f5d2adc88e3aa43500128475c9ba2e9228.zip external_llvm-12c846f5d2adc88e3aa43500128475c9ba2e9228.tar.gz external_llvm-12c846f5d2adc88e3aa43500128475c9ba2e9228.tar.bz2 |
Remove unused parameter. Some clients might use -Werror when compiling and
cause drama.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51980 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DerivedTypes.h')
-rw-r--r-- | include/llvm/DerivedTypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/DerivedTypes.h b/include/llvm/DerivedTypes.h index 4537400..04a73fe 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]; } |