Kaydet (Commit) a6f9e504 authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: reduce the scope of the variable

üst 6444836d
...@@ -1030,10 +1030,11 @@ BOOL RscFileTab::ChangeDef( const ByteString & rDefName, ...@@ -1030,10 +1030,11 @@ BOOL RscFileTab::ChangeDef( const ByteString & rDefName,
{ {
RscDefine * pDef = FindDef( rDefName ); RscDefine * pDef = FindDef( rDefName );
RscFile * pFile; RscFile * pFile;
ULONG lPos = 0;
if( pDef ){ if( pDef )
{
pFile = GetFile( pDef->GetFileKey() ); pFile = GetFile( pDef->GetFileKey() );
ULONG lPos = 0;
if( pFile ) if( pFile )
lPos = pFile->aDefLst.GetPos( pDef ); lPos = pFile->aDefLst.GetPos( pDef );
//Macros in den Expressions sind definiert ? //Macros in den Expressions sind definiert ?
......
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