From df19adaa71f6cf80b28be46ae612b9b7f07d5f51 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sun, 1 Sep 2019 16:04:38 +0000 Subject: [PATCH] Fix MSVC unreferenced formal parameter warning. NFCI. llvm-svn: 370614 --- llvm/include/llvm/ADT/StringExtras.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/ADT/StringExtras.h b/llvm/include/llvm/ADT/StringExtras.h index 16ac90bd6c89..ef1a11e0619b 100644 --- a/llvm/include/llvm/ADT/StringExtras.h +++ b/llvm/include/llvm/ADT/StringExtras.h @@ -345,7 +345,7 @@ inline void join_items_impl(std::string &Result, Sep Separator, const Arg1 &A1, join_items_impl(Result, Separator, std::forward(Items)...); } -inline size_t join_one_item_size(char C) { return 1; } +inline size_t join_one_item_size(char) { return 1; } inline size_t join_one_item_size(const char *S) { return S ? ::strlen(S) : 0; } template inline size_t join_one_item_size(const T &Str) {