remove no-op if statement (clippy::needless_if)

This commit is contained in:
Daniel Eades 2024-04-15 20:54:27 +01:00 committed by Jeremy Soller
parent 9544ba9397
commit cfa0087128

View file

@ -1181,7 +1181,6 @@ impl App {
.and_then(|profile_id| self.config.profiles.get(&profile_id))
{
Some(profile) => {
if !profile.tab_title.is_empty() {}
let mut shell = None;
if let Some(mut args) = shlex::split(&profile.command) {
if !args.is_empty() {