summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@redhat.com>2021-12-21 15:08:39 +0100
committerDodji Seketeli <dodji@redhat.com>2022-01-03 15:17:13 +0100
commit10fda2aa65c2d63019c7b3af71451faa1a5fb26e (patch)
treeb98177d24dbb3e37c467a49824456bf0be49508f
parentctf-reader: Assert on ir::hash_as_canonical_type_or_constant (diff)
downloadlibabigail-10fda2aa65c2d63019c7b3af71451faa1a5fb26e.tar.gz
libabigail-10fda2aa65c2d63019c7b3af71451faa1a5fb26e.tar.bz2
libabigail-10fda2aa65c2d63019c7b3af71451faa1a5fb26e.tar.xz
suppression: Fix compilation warning on el7
* src/abg-suppression.cc (type_suppression::suppresses_diff): Remove the unused variable second_type_decl. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
-rw-r--r--src/abg-suppression.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/abg-suppression.cc b/src/abg-suppression.cc
index 48c73cf8..eab5fc1a 100644
--- a/src/abg-suppression.cc
+++ b/src/abg-suppression.cc
@@ -794,8 +794,6 @@ type_suppression::suppresses_diff(const diff* diff) const
794 794
795 const class_decl_sptr& first_type_decl = 795 const class_decl_sptr& first_type_decl =
796 klass_diff->first_class_decl(); 796 klass_diff->first_class_decl();
797 const class_decl_sptr& second_type_decl =
798 klass_diff->second_class_decl();
799 797
800 for (string_decl_base_sptr_map::const_iterator m = 798 for (string_decl_base_sptr_map::const_iterator m =
801 klass_diff->inserted_data_members().begin(); 799 klass_diff->inserted_data_members().begin();