Fix unused variable warning in pstree(1).

This commit is contained in:
Jonas 'Sortie' Termansen 2021-12-12 19:59:08 +01:00
parent cd8dcdec55
commit 4ed2bb1c50
1 changed files with 0 additions and 1 deletions

View File

@ -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 )