mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 10:24:58 +02:00
removed unnecessary code
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user