[pushed:,r15-4841] analyzer: fix -Wunused-parameter warning [PR117373]

Message ID 20241101162732.2495829-1-dmalcolm@redhat.com
State Committed
Commit 36a92c3829ba7a2683c3b095356b9ed08978420a
Headers
Series [pushed:,r15-4841] analyzer: fix -Wunused-parameter warning [PR117373] |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gcc_build--master-arm fail Patch failed to apply

Commit Message

David Malcolm Nov. 1, 2024, 4:27 p.m. UTC
  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(-)
  

Patch

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;