From 647b036ed186836e920120765bf40d075facdd0c Mon Sep 17 00:00:00 2001 From: Andrew Ayer Date: Wed, 7 May 2025 09:55:45 -0400 Subject: [PATCH] Remove unreachable return statements --- monitor/monitor.go | 1 - monitor/process.go | 1 - 2 files changed, 2 deletions(-) diff --git a/monitor/monitor.go b/monitor/monitor.go index 3e03f6b..8561fc3 100644 --- a/monitor/monitor.go +++ b/monitor/monitor.go @@ -439,7 +439,6 @@ func downloadWorker(ctx context.Context, config *Config, ctlog *loglist.Log, cli case batchesOut <- batch: } } - return nil } func processWorker(ctx context.Context, config *Config, ctlog *loglist.Log, issuerGetter ctclient.IssuerGetter, batchesIn <-chan *batch, batchesOut *sequencer.Channel[batch]) error { diff --git a/monitor/process.go b/monitor/process.go index 72b36fa..3f259f0 100644 --- a/monitor/process.go +++ b/monitor/process.go @@ -40,7 +40,6 @@ func processLogEntry(ctx context.Context, config *Config, issuerGetter ctclient. default: return processMalformedLogEntry(ctx, config, entry, fmt.Errorf("unknown log entry type %d", leaf.TimestampedEntry.EntryType)) } - return nil } func processX509LogEntry(ctx context.Context, config *Config, issuerGetter ctclient.IssuerGetter, entry *LogEntry, cert *cttypes.ASN1Cert) error {