]> granicus.if.org Git - llvm/commitdiff
Fix MSVC unreferenced formal parameter warning. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 1 Sep 2019 16:04:51 +0000 (16:04 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 1 Sep 2019 16:04:51 +0000 (16:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370615 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/raw_ostream.h

index 4a6b51ac6092d312b7596358c809281277d3a945..0debc5da7a687705c73a0643a90f2365461640b9 100644 (file)
@@ -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