зеркало из https://github.com/mozilla/gecko-dev.git
Fix bustage (Sun workshop 5.0) / warning (gcc) caused by tor's checkin. Functions returning values should, well, return values. sr=tor
This commit is contained in:
Родитель
d4e116148d
Коммит
61cf64b757
|
@ -1350,7 +1350,7 @@ nsImageGTK::SetDecodedRect(PRInt32 x1, PRInt32 y1, PRInt32 x2, PRInt32 y2 )
|
||||||
for (int x=mDecodedX1; x<mDecodedX2; x++)
|
for (int x=mDecodedX1; x<mDecodedX2; x++)
|
||||||
if (*(alpha++)!=255) {
|
if (*(alpha++)!=255) {
|
||||||
mAlphaValid=PR_TRUE;
|
mAlphaValid=PR_TRUE;
|
||||||
return;
|
return NS_OK;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче