Remove unreachable return statements

This commit is contained in:
Andrew Ayer 2025-05-07 09:55:45 -04:00
parent 61508d8bf1
commit 647b036ed1
2 changed files with 0 additions and 2 deletions

View File

@ -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 {

View File

@ -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 {