removed unnecessary code

This commit is contained in:
Linus Dierheimer
2021-06-15 09:27:53 +02:00
parent bfd76ae455
commit 2bae720e00
-12
View File
@@ -16,16 +16,6 @@ void ffPrintShell(FFinstance* instance)
return;
}
FFstrbuf shell;
ffStrbufInit(&shell);
ffStrbufAppendS(&shell, result->shellExeName);
if(result->shellVersion.length > 0)
{
ffStrbufAppendC(&shell, ' ');
ffStrbufAppend(&shell, &result->shellVersion);
}
if(instance->config.shellFormat.length == 0)
{
ffPrintLogoAndKey(instance, FF_SHELL_MODULE_NAME, 0, &instance->config.shellKey);
@@ -51,6 +41,4 @@ void ffPrintShell(FFinstance* instance)
{FF_FORMAT_ARG_TYPE_STRBUF, &result->userShellVersion}
});
}
ffStrbufDestroy(&shell);
}