From 01a17792001bab5c4e343b753a58fb3c47bc1ce1 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Sun, 1 Sep 2019 16:04:51 +0000 Subject: [PATCH] Fix MSVC unreferenced formal parameter warning. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370615 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/raw_ostream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0