summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-28 14:54:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-28 15:35:52 +0000
commit47bf12afa00a528128ee702c30d9c41b57de02af (patch)
tree1c0c34f7601d392d8da5b365d46033721b0276ac /sot
parentd1d05703ac29cfa5afcff94ecb45181bc3651c68 (diff)
coverity#1078520 Logically dead code
Change-Id: I91ff819bbbca9f74236bcec725b98f8065a84a50
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/storage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx
index 2f5c915c7e2a..5f18003b104a 100644
--- a/sot/source/sdstor/storage.cxx
+++ b/sot/source/sdstor/storage.cxx
@@ -387,7 +387,7 @@ void SotStorage::CreateStorage( bool bForceUCBStorage, StreamMode nMode, Storage
}
else
{
- m_pOwnStg = new Storage( m_aName, nMode, (nStorageMode & STORAGE_TRANSACTED) ? false : true );
+ m_pOwnStg = new Storage( m_aName, nMode, false );
SetError( ERRCODE_IO_NOTSUPPORTED );
}
}