mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 720957 - contentLength is unsed in nsJSONListener::OnDataAvailable. r=smaug
This commit is contained in:
parent
56918f262f
commit
d7a6d0430a
@ -634,8 +634,6 @@ nsJSONListener::OnDataAvailable(nsIRequest *aRequest, nsISupports *aContext,
|
||||
nsIInputStream *aStream,
|
||||
PRUint32 aOffset, PRUint32 aLength)
|
||||
{
|
||||
PRUint32 contentLength;
|
||||
aStream->Available(&contentLength);
|
||||
nsresult rv = NS_OK;
|
||||
|
||||
if (mNeedsConverter && mSniffBuffer.Length() < 4) {
|
||||
|
Loading…
Reference in New Issue
Block a user