summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-24 14:48:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-24 14:48:36 +0000
commite01c5fc7024afdf8530cce1d4c787c132084b120 (patch)
tree482f49d3e2bc640bf6e451eeab4e97524baeae3c /sot
parent5b228decd52056710fb41a216d742960f167662c (diff)
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stg.cxx4
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 )