[PATCH 5/5] console-client: fix error handling
Fix the error handling in console_move_mouse. This also appeases the
compiler.
* console-client/console.c (console_move_mouse): Fix error handing.
---
console-client/console.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/console-client/console.c b/console-client/console.c
index a105f5e..2fb2fbe 100644
--- a/console-client/console.c
+++ b/console-client/console.c
@@ -181,6 +181,7 @@ console_move_mouse (mouse_event_t ev)
{
err = cons_vcons_move_mouse (vcons, ev);
ports_port_deref (vcons);
+ return err;
}
return 0;
--
1.7.10.4
Reply to: