Remove needless returns detected by clippy in the compiler

This commit is contained in:
Eduardo Sánchez Muñoz 2024-09-09 12:22:00 +02:00
parent adf8d168af
commit 0b20ffcb63
38 changed files with 66 additions and 75 deletions

View file

@ -1484,7 +1484,6 @@ impl<'a> Linker for L4Bender<'a> {
fn export_symbols(&mut self, _: &Path, _: CrateType, _: &[String]) {
// ToDo, not implemented, copy from GCC
self.sess.dcx().emit_warn(errors::L4BenderExportingSymbolsUnimplemented);
return;
}
fn subsystem(&mut self, subsystem: &str) {