From 10fda2aa65c2d63019c7b3af71451faa1a5fb26e Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Tue, 21 Dec 2021 15:08:39 +0100 Subject: [PATCH] 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 --- src/abg-suppression.cc | 2 -- 1 file changed, 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 const class_decl_sptr& first_type_decl = klass_diff->first_class_decl(); - const class_decl_sptr& second_type_decl = - klass_diff->second_class_decl(); for (string_decl_base_sptr_map::const_iterator m = klass_diff->inserted_data_members().begin(); -- 2.43.5