summaryrefslogtreecommitdiffstats
path: root/libvncserver
diff options
context:
space:
mode:
Diffstat (limited to 'libvncserver')
-rw-r--r--libvncserver/main.c1
-rw-r--r--libvncserver/sockets.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/libvncserver/main.c b/libvncserver/main.c
index bae4db4..0edf994 100644
--- a/libvncserver/main.c
+++ b/libvncserver/main.c
@@ -1071,7 +1071,6 @@ rfbProcessEvents(rfbScreenInfoPtr screen,long usec)
{
rfbClientIteratorPtr i;
rfbClientPtr cl,clPrev;
- struct timeval tv;
rfbBool result=FALSE;
extern rfbClientIteratorPtr
rfbGetClientIteratorWithClosed(rfbScreenInfoPtr rfbScreen);
diff --git a/libvncserver/sockets.c b/libvncserver/sockets.c
index c7dc35f..188a8fd 100644
--- a/libvncserver/sockets.c
+++ b/libvncserver/sockets.c
@@ -218,8 +218,6 @@ rfbCheckFds(rfbScreenInfoPtr rfbScreen,long usec)
struct sockaddr_in addr;
socklen_t addrlen = sizeof(addr);
char buf[6];
- const int one = 1;
- int sock;
rfbClientIteratorPtr i;
rfbClientPtr cl;
int result = 0;