diff options
author | Eric Christopher <echristo@apple.com> | 2010-08-30 18:31:44 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-08-30 18:31:44 +0000 |
commit | 2027362e8d99df1780ba604cff624b116a4e6ecf (patch) | |
tree | 43bd49a0f4779434a5421d9f0353e99c6e0a568c | |
parent | fb29c4e59db1d7ce00757e5d2e965e869dcf76cf (diff) | |
download | llvm-2027362e8d99df1780ba604cff624b116a4e6ecf.tar.gz llvm-2027362e8d99df1780ba604cff624b116a4e6ecf.tar.bz2 llvm-2027362e8d99df1780ba604cff624b116a4e6ecf.tar.xz |
Kill a couple of unused variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112498 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/ADT/STLExtras.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h index 8dbf79031c..0b0346be2c 100644 --- a/include/llvm/ADT/STLExtras.h +++ b/include/llvm/ADT/STLExtras.h @@ -225,7 +225,7 @@ inline T *array_endof(T (&x)[N]) { /// Find the length of an array. template<class T, std::size_t N> -inline size_t array_lengthof(T (&x)[N]) { +inline size_t array_lengthof(T (&)[N]) { return N; } @@ -243,7 +243,7 @@ static inline int array_pod_sort_comparator(const void *P1, const void *P2) { /// get_array_pad_sort_comparator - This is an internal helper function used to /// get type deduction of T right. template<typename T> -static int (*get_array_pad_sort_comparator(const T &X)) +static int (*get_array_pad_sort_comparator(const T &)) (const void*, const void*) { return array_pod_sort_comparator<T>; } |