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 <dmalc...@redhat.com> --- 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 4abfb3cdc59c..ac589ed5dbdf 100644 --- a/gcc/analyzer/infinite-loop.cc +++ b/gcc/analyzer/infinite-loop.cc @@ -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; -- 2.26.3