зеркало из https://github.com/mozilla/pjs.git
Bug 584999 remove unused nsresult rv in nsHttpChannel::ContinueOnStartRequest2
r=biesi
This commit is contained in:
Родитель
f86e7b6f1d
Коммит
291eb2e4a1
|
@ -1147,7 +1147,7 @@ nsHttpChannel::ProcessNormal()
|
|||
if (NS_SUCCEEDED(rv) && !succeeded) {
|
||||
PushRedirectAsyncFunc(&nsHttpChannel::ContinueProcessNormal);
|
||||
PRBool waitingForRedirectCallback;
|
||||
rv = ProcessFallback(&waitingForRedirectCallback);
|
||||
(void)ProcessFallback(&waitingForRedirectCallback);
|
||||
if (waitingForRedirectCallback) {
|
||||
// The transaction has been suspended by ProcessFallback.
|
||||
return NS_OK;
|
||||
|
@ -3307,7 +3307,7 @@ nsHttpChannel::AsyncProcessRedirection(PRUint32 redirectType)
|
|||
if (!NS_SecurityCompareURIs(mURI, mRedirectURI, PR_FALSE)) {
|
||||
PushRedirectAsyncFunc(&nsHttpChannel::ContinueProcessRedirectionAfterFallback);
|
||||
PRBool waitingForRedirectCallback;
|
||||
rv = ProcessFallback(&waitingForRedirectCallback);
|
||||
(void)ProcessFallback(&waitingForRedirectCallback);
|
||||
if (waitingForRedirectCallback)
|
||||
return NS_OK;
|
||||
PopRedirectAsyncFunc(&nsHttpChannel::ContinueProcessRedirectionAfterFallback);
|
||||
|
|
Загрузка…
Ссылка в новой задаче