interface: Fix -Wuninitialized in RegionSupport.
Also trim trailing spaces...
This commit is contained in:
@@ -1524,14 +1524,14 @@ int
|
||||
BRegion::Support::XXorRegion(const BRegion* sra, const BRegion* srb,
|
||||
BRegion* dr)
|
||||
{
|
||||
BRegion* tra;
|
||||
BRegion* trb;
|
||||
BRegion* tra = NULL;
|
||||
BRegion* trb = NULL;
|
||||
|
||||
if ((! (tra = CreateRegion())) || (! (trb = CreateRegion())))
|
||||
{
|
||||
DestroyRegion(tra);
|
||||
DestroyRegion(trb);
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
(void) XSubtractRegion(sra,srb,tra);
|
||||
(void) XSubtractRegion(srb,sra,trb);
|
||||
|
||||
Reference in New Issue
Block a user