Bug 1604011 - Remove dead assignment from StreamLoader::OnStopRequest. r=emilio,xidorn
authorAlex Henrie <alexhenrie24@gmail.com>
Sun, 15 Dec 2019 10:22:50 +0000
changeset 507020 273abf200022ad239b277942149e6268c4fec8b2
parent 507019 9b7cd94eaf0a2385f53791c982e2210bd6b96818
child 507021 307481f32d4403dae943b9ff26cd7a7e2eadf083
push id36920
push userdluca@mozilla.com
push dateSun, 15 Dec 2019 21:49:48 +0000
treeherdermozilla-central@7e6a4e221495 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio, xidorn
bugs1604011
milestone73.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1604011 - Remove dead assignment from StreamLoader::OnStopRequest. r=emilio,xidorn Differential Revision: https://phabricator.services.mozilla.com/D57235
layout/style/StreamLoader.cpp
--- a/layout/style/StreamLoader.cpp
+++ b/layout/style/StreamLoader.cpp
@@ -64,17 +64,16 @@ StreamLoader::OnStopRequest(nsIRequest* 
       return mStatus;
     }
 
     nsresult rv = mSheetLoadData->VerifySheetReadyToParse(aStatus, mBOMBytes,
                                                           bytes, channel);
     if (rv != NS_OK_PARSE_SHEET) {
       return rv;
     }
-    rv = NS_OK;
 
     // BOM detection generally happens during the write callback, but that won't
     // have happened if fewer than three bytes were received.
     if (mEncodingFromBOM.isNothing()) {
       HandleBOM();
       MOZ_ASSERT(mEncodingFromBOM.isSome());
     }