From 3715301fe3d49a0255788d1157a4c8e12ee97711 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 5 Jan 2021 14:15:54 +0100 Subject: [PATCH] Drop always false condition The previous if conditional branch would have been taken in case this condition would be true, --- linux/LinuxProcessList.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c index 434d070e..bfd1cc99 100644 --- a/linux/LinuxProcessList.c +++ b/linux/LinuxProcessList.c @@ -1455,7 +1455,7 @@ static bool LinuxProcessList_recurseProcTree(LinuxProcessList* this, openat_arg_ proc->basenameOffset = -1; setCommand(proc, command, commLen); } else if (Process_isThread(proc)) { - if (settings->showThreadNames || Process_isKernelThread(proc) || (proc->state == 'Z' && proc->basenameOffset == 0)) { + if (settings->showThreadNames || Process_isKernelThread(proc)) { proc->basenameOffset = -1; setCommand(proc, command, commLen); } else if (settings->showThreadNames) {