Bug 720957 - contentLength is unsed in nsJSONListener::OnDataAvailable. r=smaug

This commit is contained in:
Makoto Kato 2012-01-25 20:15:20 +09:00
parent 56918f262f
commit d7a6d0430a

View File

@ -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) {