[pushed:,r15-4841] analyzer: fix -Wunused-parameter warning [PR117373]
Checks
Commit Message
Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
Pushed to trunk as r15-4841-g36a92c3829ba7a.
gcc/analyzer/ChangeLog:
PR analyzer/117373
* infinite-loop.cc
(infinite_loop_diagnostic::describe_final_event): Fix
-Wunused-parameter warning
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
---
gcc/analyzer/infinite-loop.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -223,7 +223,7 @@ public:
bool
describe_final_event (pretty_printer &pp,
- const evdesc::final_event &ev) final override
+ const evdesc::final_event &) final override
{
pp_string (&pp, "infinite loop here");
return true;