summaryrefslogtreecommitdiff
path: root/src/safe_x11/event.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/safe_x11/event.rs')
-rw-r--r--src/safe_x11/event.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/safe_x11/event.rs b/src/safe_x11/event.rs
index 2519bad..8a4bc32 100644
--- a/src/safe_x11/event.rs
+++ b/src/safe_x11/event.rs
@@ -26,7 +26,7 @@ pub fn x11_fd(display: *mut Display) -> c_int {
pub fn next_xevent(display: *mut Display, fd: c_int) -> XEvent {
unsafe {
let mut last_event: XEvent = uninitialized();
- let retval = select_next_event(display, fd, &mut last_event) as i32;
+ select_next_event(display, fd, &mut last_event) as i32;
last_event
}
}