mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove unnecessary mut
on variables declared in ports/gonk/src/window.rs
Fixes #7048.
This commit is contained in:
parent
da06c2dda0
commit
140c39b78f
1 changed files with 2 additions and 2 deletions
|
@ -650,7 +650,7 @@ impl Window {
|
||||||
assert!(ret == 0, "Failed to get HWC module!");
|
assert!(ret == 0, "Failed to get HWC module!");
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut hwc_device: *mut hwc_composer_device;
|
let hwc_device: *mut hwc_composer_device;
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut device = ptr::null();
|
let mut device = ptr::null();
|
||||||
let cstr = CString::new("composer").unwrap();
|
let cstr = CString::new("composer").unwrap();
|
||||||
|
@ -675,7 +675,7 @@ impl Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut gralloc_mod = ptr::null();
|
let mut gralloc_mod = ptr::null();
|
||||||
let mut alloc_dev: *mut alloc_device;
|
let alloc_dev: *mut alloc_device;
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut device = ptr::null();
|
let mut device = ptr::null();
|
||||||
let cstr = CString::new("gralloc").unwrap();
|
let cstr = CString::new("gralloc").unwrap();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue