Fix unused variable warning in pstree(1).
This commit is contained in:
parent
cd8dcdec55
commit
4ed2bb1c50
|
@ -93,7 +93,6 @@ static void pstree(pid_t pid,
|
||||||
if ( show_pid || show_pgid )
|
if ( show_pid || show_pgid )
|
||||||
{
|
{
|
||||||
item_length += printf("(");
|
item_length += printf("(");
|
||||||
size_t begun_item_length = item_length;
|
|
||||||
if ( show_pid )
|
if ( show_pid )
|
||||||
item_length += printf("%" PRIiPID, pid);
|
item_length += printf("%" PRIiPID, pid);
|
||||||
if ( show_pid && show_pgid )
|
if ( show_pid && show_pgid )
|
||||||
|
|
Loading…
Reference in New Issue