diff options
author | Christian Beier <dontmind@freeshell.org> | 2011-06-01 13:06:26 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2011-06-01 13:06:26 +0200 |
commit | 17ce0c56281f55316685f194b34e5f99f4024a5f (patch) | |
tree | 1ef0710d6e365d5da97518f08f850b943290a348 | |
parent | ddd9b5ac7bd12a778452b3aefbf9502e7a0a9779 (diff) | |
download | libvncserver-17ce0c56281f55316685f194b34e5f99f4024a5f.zip libvncserver-17ce0c56281f55316685f194b34e5f99f4024a5f.tar.gz |
Remove some unused variables.
-rw-r--r-- | libvncserver/main.c | 1 | ||||
-rw-r--r-- | libvncserver/sockets.c | 2 |
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; |