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

coverity#1027397 Logically dead code

Change-Id: Icc53c6fc52e9920ac35b5dc82ff064b8fdf258ca
üst 7587973b
...@@ -1045,7 +1045,7 @@ bool Region::Intersect( const Region& rRegion ) ...@@ -1045,7 +1045,7 @@ bool Region::Intersect( const Region& rRegion )
else else
{ {
// prepare new regionBand // prepare new regionBand
RegionBand* pNew = pCurrent ? new RegionBand(*pCurrent) : new RegionBand(); RegionBand* pNew = new RegionBand(*pCurrent);
// intersect with source // intersect with source
pNew->Intersect(*pSource); pNew->Intersect(*pSource);
......
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