Removed superfluous creation of a BRoster.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6793 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7dc96e9455
commit
010983f10d
@ -52,7 +52,7 @@ bool OutputTeam( void * item_p )
|
||||
std::cout << info.flags;
|
||||
dec( std::cout );
|
||||
|
||||
// Output a signture
|
||||
// Output a signature
|
||||
std::cout
|
||||
<< " (" << info.signature << ')'
|
||||
<< std::endl
|
||||
@ -69,17 +69,13 @@ int main( int argc, char ** argv )
|
||||
{
|
||||
// Don't have an BApplication as it is a waste.
|
||||
|
||||
// Access Roster
|
||||
// - address automatically assigned to be_roster as it's a singleton
|
||||
new BRoster();
|
||||
|
||||
cout
|
||||
<< " path thread team port flags\n"
|
||||
"-- -------------------------------- ------ ---- ---- -----"
|
||||
<< std::endl
|
||||
;
|
||||
|
||||
// Retriev the running list.
|
||||
// Retrieve the running list.
|
||||
BList applist( 0 );
|
||||
be_roster->GetAppList( & applist );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user