Remove unnecessary mut on variables declared in ports/gonk/src/window.rs

Fixes #7048.
This commit is contained in:
Nick Fitzgerald 2015-08-06 20:04:07 -07:00
parent da06c2dda0
commit 140c39b78f

View file

@ -650,7 +650,7 @@ impl Window {
assert!(ret == 0, "Failed to get HWC module!");
}
let mut hwc_device: *mut hwc_composer_device;
let hwc_device: *mut hwc_composer_device;
unsafe {
let mut device = ptr::null();
let cstr = CString::new("composer").unwrap();
@ -675,7 +675,7 @@ impl Window {
}
let mut gralloc_mod = ptr::null();
let mut alloc_dev: *mut alloc_device;
let alloc_dev: *mut alloc_device;
unsafe {
let mut device = ptr::null();
let cstr = CString::new("gralloc").unwrap();