mirror of
https://github.com/servo/servo.git
synced 2025-07-22 06:43:40 +01:00
Auto merge of #22217 - yawboakye:fix-duplicate-code, r=jdm
Remove duplicate code `req.pipeline_id` is already set with `init.pipeline_id` during initialization. - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22217) <!-- Reviewable:end -->
This commit is contained in:
commit
ac17f08d19
1 changed files with 0 additions and 1 deletions
|
@ -318,7 +318,6 @@ impl Request {
|
|||
Referrer::NoReferrer
|
||||
};
|
||||
req.referrer_policy = init.referrer_policy;
|
||||
req.pipeline_id = init.pipeline_id;
|
||||
req.redirect_mode = init.redirect_mode;
|
||||
let mut url_list = init.url_list;
|
||||
if url_list.is_empty() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue