[libc++abi] is_strcmp parameter to is_equal is unused for WIN32
authorPirama Arumuga Nainar <pirama@google.com>
Fri, 21 Sep 2018 20:01:22 +0000 (20:01 +0000)
committerPirama Arumuga Nainar <pirama@google.com>
Fri, 21 Sep 2018 20:01:22 +0000 (20:01 +0000)
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

libcxxabi/src/private_typeinfo.cpp

index a0326a1..67a5a62 100644 (file)
@@ -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
 }