1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

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

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 )