https://gcc.gnu.org/g:0b3a3a66eb816b7c7e6bcb6f720813284e3eb0ef

commit r15-926-g0b3a3a66eb816b7c7e6bcb6f720813284e3eb0ef
Author: David Malcolm <dmalc...@redhat.com>
Date:   Thu May 30 08:42:01 2024 -0400

    analyzer: fix a -Wunused-parameter
    
    gcc/analyzer/ChangeLog:
            * infinite-loop.cc (looping_back_event::get_desc): Fix unused
            parameter warning introduced by me in r15-636-g770657d02c986c.
    
    Signed-off-by: David Malcolm <dmalc...@redhat.com>

Diff:
---
 gcc/analyzer/infinite-loop.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/analyzer/infinite-loop.cc b/gcc/analyzer/infinite-loop.cc
index 04346cdfdc3..a83b8130e43 100644
--- a/gcc/analyzer/infinite-loop.cc
+++ b/gcc/analyzer/infinite-loop.cc
@@ -171,7 +171,7 @@ public:
   {
   }
 
-  label_text get_desc (bool can_colorize) const final override
+  label_text get_desc (bool) const final override
   {
     return label_text::borrow ("looping back...");
   }

Reply via email to