diff options
author | David Malcolm <dmalcolm@redhat.com> | 2023-09-07 16:17:56 -0400 |
---|---|---|
committer | David Malcolm <dmalcolm@redhat.com> | 2023-09-07 16:17:56 -0400 |
commit | 18f1f79ec5b1f1b3e3c43ff5645a9a5671655221 (patch) | |
tree | e711218bce432722966bd77bda655bb893d8c447 /gcc/analyzer | |
parent | cf2ae3fff4ee9bf884b122ee6cd83bffd791a16f (diff) | |
download | gcc-18f1f79ec5b1f1b3e3c43ff5645a9a5671655221.zip gcc-18f1f79ec5b1f1b3e3c43ff5645a9a5671655221.tar.gz gcc-18f1f79ec5b1f1b3e3c43ff5645a9a5671655221.tar.bz2 |
analyzer: fix -Wunused-parameter warnings
gcc/analyzer/ChangeLog:
* region-model.h: fix -Wunused-parameter warnings
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
Diffstat (limited to 'gcc/analyzer')
-rw-r--r-- | gcc/analyzer/region-model.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/analyzer/region-model.h b/gcc/analyzer/region-model.h index 625f688..1ac3a32 100644 --- a/gcc/analyzer/region-model.h +++ b/gcc/analyzer/region-model.h @@ -793,8 +793,8 @@ class region_model_context class noop_region_model_context : public region_model_context { public: - bool warn (std::unique_ptr<pending_diagnostic> d, - const stmt_finder *custom_finder) override { return false; } + bool warn (std::unique_ptr<pending_diagnostic>, + const stmt_finder *) override { return false; } void add_note (std::unique_ptr<pending_note>) override; void add_event (std::unique_ptr<checker_event>) override; void on_svalue_leak (const svalue *) override {} @@ -1200,7 +1200,7 @@ class test_region_model_context : public noop_region_model_context { public: bool warn (std::unique_ptr<pending_diagnostic> d, - const stmt_finder *custom_finder) final override + const stmt_finder *) final override { m_diagnostics.safe_push (d.release ()); return true; |