Fix bustage (Sun workshop 5.0) / warning (gcc) caused by tor's checkin. Functions returning values should, well, return values. sr=tor
git-svn-id: svn://10.0.0.236/trunk@84714 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1350,7 +1350,7 @@ nsImageGTK::SetDecodedRect(PRInt32 x1, PRInt32 y1, PRInt32 x2, PRInt32 y2 )
|
||||
for (int x=mDecodedX1; x<mDecodedX2; x++)
|
||||
if (*(alpha++)!=255) {
|
||||
mAlphaValid=PR_TRUE;
|
||||
return;
|
||||
return NS_OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user