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:
parent
cd8dcdec55
commit
4ed2bb1c50
1 changed files with 0 additions and 1 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue