Kaydet (Commit) 1b6e87fc authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

remove confusing and potentially dangerous premature-optimization

Change-Id: Ia23f591519eba257441b725a219a1eddda937c39
üst 4c2f8fd7
......@@ -432,10 +432,11 @@ public:
Set of flags decribing the demanded information.
*/
VolumeInfo( sal_uInt32 nMask ): _nMask( nMask )
VolumeInfo( sal_uInt32 nMask )
: _nMask( nMask )
{
memset( &_aInfo, 0, sizeof( oslVolumeInfo ));
_aInfo.uStructSize = sizeof( oslVolumeInfo );
memset( &_aInfo.uValidFields, 0, sizeof( oslVolumeInfo ) - sizeof( sal_uInt32 ) );
_aInfo.pDeviceHandle = &_aDevice._aHandle;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment