Skip to content

Commit f034eb6

Browse files
authored
Auto merge of servo#29953 - Loirooriol:remove-unused-variable, r=jdm
Remove unused variable Just a remnant from servo#29850, it was causing a build warning. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2 parents fe5b494 + fe37b89 commit f034eb6

File tree

1 file changed

+0
-1
lines changed
  • components/layout_thread_2020

1 file changed

+0
-1
lines changed

components/layout_thread_2020/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,6 @@ impl LayoutThread {
866866

867867
let initial_viewport = data.window_size.initial_viewport;
868868
let device_pixel_ratio = data.window_size.device_pixel_ratio;
869-
let old_viewport_size = self.viewport_size;
870869
let current_screen_size = Size2D::new(
871870
Au::from_f32_px(initial_viewport.width),
872871
Au::from_f32_px(initial_viewport.height),

0 commit comments

Comments
 (0)