diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2018-09-21 23:01:22 +0300 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2018-09-21 23:01:22 +0300 |
commit | 546de61000835e41db6398413c0275f84b4f9860 (patch) | |
tree | 6d5061fa8ac4437c0dafcfd803f81c5674c863b7 /libcxxabi/src/private_typeinfo.cpp | |
parent | 00705a7f9525ebf49662634325dd435bce8fe12c (diff) |
[libc++abi] is_strcmp parameter to is_equal is unused for WIN32
Summary: Mark it as unused to avoid -Wunused-parameter.
Reviewers: EricWF, srhines, mstorsjo
Subscribers: christof, ldionne, libcxx-commits, cfe-commits
Differential Revision: https://reviews.llvm.org/D52368
llvm-svn: 342764
Diffstat (limited to 'libcxxabi/src/private_typeinfo.cpp')
-rw-r--r-- | libcxxabi/src/private_typeinfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxxabi/src/private_typeinfo.cpp b/libcxxabi/src/private_typeinfo.cpp index a0326a188c49..67a5a62dc802 100644 --- a/libcxxabi/src/private_typeinfo.cpp +++ b/libcxxabi/src/private_typeinfo.cpp @@ -64,6 +64,7 @@ is_equal(const std::type_info* x, const std::type_info* y, bool use_strcmp) return x == y; return strcmp(x->name(), y->name()) == 0; #else + (void) use_strcmp; return (x == y) || (strcmp(x->name(), y->name()) == 0); #endif } |