summaryrefslogtreecommitdiff
path: root/rsc
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 /rsc
parent5b228decd52056710fb41a216d742960f167662c (diff)
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/res/rscmgr.cxx1
-rw-r--r--rsc/source/rsc/rsc.cxx3
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 )
{