summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2011-06-01 13:06:26 +0200
committerChristian Beier <dontmind@freeshell.org>2011-06-01 13:06:26 +0200
commit17ce0c56281f55316685f194b34e5f99f4024a5f (patch)
tree1ef0710d6e365d5da97518f08f850b943290a348
parentddd9b5ac7bd12a778452b3aefbf9502e7a0a9779 (diff)
downloadlibvncserver-17ce0c56281f55316685f194b34e5f99f4024a5f.zip
libvncserver-17ce0c56281f55316685f194b34e5f99f4024a5f.tar.gz
Remove some unused variables.
-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;
OpenPOWER on IntegriCloud