Skip to content

Commit 546de61

Browse files
committedSep 21, 2018
[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
1 parent 00705a7 commit 546de61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎libcxxabi/src/private_typeinfo.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ is_equal(const std::type_info* x, const std::type_info* y, bool use_strcmp)
6464
return x == y;
6565
return strcmp(x->name(), y->name()) == 0;
6666
#else
67+
(void) use_strcmp;
6768
return (x == y) || (strcmp(x->name(), y->name()) == 0);
6869
#endif
6970
}

0 commit comments

Comments
 (0)
Please sign in to comment.