blob: 16da804f9809c296b9e15a41b48d9454415147d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- libnsfb-0.0.2/src/surface/vnc.c
+++ libnsfb-0.0.2/src/surface/vnc.c
@@ -486,7 +486,6 @@
static bool vnc_input(nsfb_t *nsfb, nsfb_event_t *event, int timeout)
{
rfbScreenInfoPtr vncscreen = nsfb->surface_priv;
- int ret;
if (vncscreen != NULL) {
@@ -496,7 +495,7 @@
event->type = NSFB_EVENT_CONTROL;
event->value.controlcode = NSFB_CONTROL_TIMEOUT;
- ret = rfbProcessEvents(vncscreen, timeout * 1000);
+ rfbProcessEvents(vncscreen, timeout * 1000);
return true;
}
|