Remove redundant return statement

This commit is contained in:
Admin Else
2026-03-29 14:35:46 +02:00
parent aefe850281
commit 322bd77f7f
-1
View File
@@ -46,7 +46,6 @@ func ServeClient(cNet net.Conn, factory Factory) {
slog.Error("Error while kicking client", "error", err, "client", c.Conn.RemoteAddr()) slog.Error("Error while kicking client", "error", err, "client", c.Conn.RemoteAddr())
} }
} }
return
} }
func StartServerWithFactory(listenAddr string, factory Factory) (err error) { func StartServerWithFactory(listenAddr string, factory Factory) (err error) {