From b0f4abbc683b52abbd083064ba8a50348b2036fa Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Sun, 15 Dec 2019 10:22:50 +0000 Subject: [PATCH] Bug 1604011 - Remove dead assignment from StreamLoader::OnStopRequest. r=emilio,xidorn Differential Revision: https://phabricator.services.mozilla.com/D57235 --HG-- extra : moz-landing-system : lando --- layout/style/StreamLoader.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/layout/style/StreamLoader.cpp b/layout/style/StreamLoader.cpp index 96317dd0cd3d..7d015ff3a624 100644 --- a/layout/style/StreamLoader.cpp +++ b/layout/style/StreamLoader.cpp @@ -69,7 +69,6 @@ StreamLoader::OnStopRequest(nsIRequest* aRequest, nsresult aStatus) { 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.