From d8e4a31c871f8deefce36ee51662d14dc0abecdd Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Tue, 29 Sep 2026 12:27:37 +1300 Subject: [PATCH] descriptor: remove orphaned dc_filter_garmin forward declaration The function was never defined and never referenced. All Garmin descriptors use NULL for the filter field, so no runtime filter is needed. The declaration also had a mismatched signature (non-const dc_descriptor_t *) compared to the dc_filter_t typedef and every other filter in the file. Signed-off-by: Michael Keller --- src/descriptor.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/descriptor.c b/src/descriptor.c index 16c4c372..61f7eea0 100644 --- a/src/descriptor.c +++ b/src/descriptor.c @@ -66,9 +66,6 @@ static int dc_filter_cressi (const dc_descriptor_t *descriptor, dc_transport_t t static int dc_filter_halcyon (const dc_descriptor_t *descriptor, dc_transport_t transport, const void *userdata); static int dc_filter_seac (const dc_descriptor_t *descriptor, dc_transport_t transport, const void *userdata); -// Not merged upstream yet -static int dc_filter_garmin (dc_descriptor_t *descriptor, dc_transport_t transport, const void *userdata); - static dc_status_t dc_descriptor_iterator_next (dc_iterator_t *iterator, void *item); struct dc_descriptor_t {