diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-24 14:48:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-24 14:48:36 +0000 |
commit | e01c5fc7024afdf8530cce1d4c787c132084b120 (patch) | |
tree | 482f49d3e2bc640bf6e451eeab4e97524baeae3c /sot | |
parent | 5b228decd52056710fb41a216d742960f167662c (diff) |
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stg.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx index 2c4b8e977dad..2af1da460d9b 100644 --- a/sot/source/sdstor/stg.cxx +++ b/sot/source/sdstor/stg.cxx @@ -578,12 +578,8 @@ BaseStorage* Storage::OpenStorage( const String& rName, StreamMode m, BOOL bDire { if( !Validate() || !ValidateMode( m ) ) return new Storage( pIo, NULL, m ); - BOOL bSetAutoCommit = FALSE; if( bDirect && !pEntry->bDirect ) - { - bSetAutoCommit = TRUE; bDirect = FALSE; - } StgDirEntry* p = pIo->pTOC->Find( *pEntry, rName ); if( !p ) |