diff options
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/res/rscmgr.cxx | 1 | ||||
-rw-r--r-- | rsc/source/rsc/rsc.cxx | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/rsc/source/res/rscmgr.cxx b/rsc/source/res/rscmgr.cxx index c563a9d2a86b..7a44aa4d8921 100644 --- a/rsc/source/res/rscmgr.cxx +++ b/rsc/source/res/rscmgr.cxx @@ -612,7 +612,6 @@ ERRTYPE RscMgr::SetRef( const RSCINST & rInst, const RscId & rRefId ) RscMgrInst * pClassData; RscId aOldId, aId; ERRTYPE aError; - RSCINST aTmpI = rInst; if( rRefId.IsId() && ((rRefId.GetNumber() < 1) || (rRefId.GetNumber() > 0x7FFF)) ) diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx index 0ddc37f6da67..00871a8be16d 100644 --- a/rsc/source/rsc/rsc.cxx +++ b/rsc/source/rsc/rsc.cxx @@ -1226,7 +1226,6 @@ void RscCompiler::PreprocessSrsFile( const RscCmdLine::OutputFile& rOutputFile, SvFileStream aOStm( rSrsOutPath.GetFull(), STREAM_WRITE | STREAM_TRUNC ); ::std::vector< ByteString > aMissingImages; FILE* pSysListFile = rContext.aOutputSysList.getLength() ? fopen( rContext.aOutputSysList.getStr(), "ab" ) : NULL; - bool bRet = true; if( !aIStm.GetError() && !aOStm.GetError() ) { @@ -1336,8 +1335,6 @@ void RscCompiler::PreprocessSrsFile( const RscCmdLine::OutputFile& rOutputFile, aOStm.WriteLine( aLine ); } } - else - bRet = false; if( aMissingImages.size() > 0 ) { |