Remove some dead argument names which irritates GCC at certain warning levels.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23979 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2005-10-25 17:59:28 +00:00
parent 304a564c1f
commit 70cfe13f19
4 changed files with 4 additions and 4 deletions

View File

@@ -101,7 +101,7 @@ public:
void removeDeadConstantUsers();
// Methods for support type inquiry through isa, cast, and dyn_cast:
static inline bool classof(const GlobalValue *T) { return true; }
static inline bool classof(const GlobalValue *) { return true; }
static inline bool classof(const Value *V) {
return V->getValueType() == Value::FunctionVal ||
V->getValueType() == Value::GlobalVariableVal;