mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: a bit more fancy way to initialized struct
Older g++ is not smart enough to figure this out, so add a bit more push.
This commit is contained in:
parent
4c0354fe0f
commit
1a8a33ae9b
@ -988,7 +988,7 @@ struct TestCase {
|
||||
|
||||
TestCase( Journal &j, Options opt, std::string path, std::string _name, std::string _flavour )
|
||||
: child( path ), name( _name ), flavour( _flavour ),
|
||||
iobuf( NULL ), usage( { 0 } ), status( 0 ), timeout( false ),
|
||||
iobuf( NULL ), usage( (struct rusage) { { 0 } } ), status( 0 ), timeout( false ),
|
||||
pid( 0 ), start( 0 ), end( 0 ), silent_start( 0 ),
|
||||
last_update( 0 ), last_heartbeat( 0 ), options( opt ), journal( &j )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user