Remove unreachable return statements
This commit is contained in:
parent
61508d8bf1
commit
647b036ed1
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue