Reduce scope

Change-Id: I6bdff92cee194d79af98227d48c68304ee56593b
This commit is contained in:
Julien Nabet
2013-02-13 20:40:20 +01:00
parent a5ad4e7459
commit 42f03b7568

View File

@@ -417,9 +417,8 @@ SvStream::SvStream( SvLockBytes* pLockBytesP )
ImpInit();
xLockBytes = pLockBytesP;
const SvStream* pStrm;
if( pLockBytesP ) {
pStrm = pLockBytesP->GetStream();
const SvStream* pStrm = pLockBytesP->GetStream();
if( pStrm ) {
SetError( pStrm->GetErrorCode() );
}