From 4ed2bb1c5001d70d46692e6c7d9f0df3b8a78c01 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Sun, 12 Dec 2021 19:59:08 +0100 Subject: [PATCH] Fix unused variable warning in pstree(1). --- utils/pstree.c | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/pstree.c b/utils/pstree.c index 4bb069c1..858e757a 100644 --- a/utils/pstree.c +++ b/utils/pstree.c @@ -93,7 +93,6 @@ static void pstree(pid_t pid, if ( show_pid || show_pgid ) { item_length += printf("("); - size_t begun_item_length = item_length; if ( show_pid ) item_length += printf("%" PRIiPID, pid); if ( show_pid && show_pgid )