From: Simon Pilgrim Date: Sun, 1 Sep 2019 16:04:51 +0000 (+0000) Subject: Fix MSVC unreferenced formal parameter warning. NFCI. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=01a17792001bab5c4e343b753a58fb3c47bc1ce1;p=llvm Fix MSVC unreferenced formal parameter warning. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370615 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h index 4a6b51ac609..0debc5da7a6 100644 --- a/include/llvm/Support/raw_ostream.h +++ b/include/llvm/Support/raw_ostream.h @@ -294,7 +294,7 @@ public: // Enable or disable colors. Once disable_colors() is called, // changeColor() has no effect until enable_colors() is called. - virtual void enable_colors(bool enable) {} + virtual void enable_colors(bool /*enable*/) {} //===--------------------------------------------------------------------===// // Subclass Interface