suppressions: drop unused parameter from type_is_suppressed
authorMatthias Maennich via libabigail <libabigail@sourceware.org>
Mon, 15 Apr 2019 17:05:19 +0000 (18:05 +0100)
committerDodji Seketeli <dodji@redhat.com>
Tue, 16 Apr 2019 14:11:01 +0000 (16:11 +0200)
Drop 'require_drop_property' as it is not used at all.
That fixes a clang warning.

 * include/abg-suppression-priv.h: drop unused argument from type_is_suppressed

Signed-off-by: Matthias Maennich <maennich@google.com>
src/abg-suppression-priv.h

index 45e6793..f157c35 100644 (file)
@@ -807,8 +807,7 @@ template <typename ReadContextType>
 bool
 type_is_suppressed(const ReadContextType&      ctxt,
                   const string&                type_name,
-                  const location&              type_location,
-                  bool require_drop_property = false)
+                  const location&              type_location)
 {
   bool type_is_private = false;
   return type_is_suppressed(ctxt, type_name, type_location, type_is_private);