diff options
author | Christian Beier <dontmind@freeshell.org> | 2012-04-25 13:36:25 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2012-04-25 13:36:25 +0200 |
commit | 6f9a9160c4006aecfc8ca5248e7e4bf8154aff62 (patch) | |
tree | d431846a3e07b4bf8a71a6934959178392476b49 /libvncserver/websockets.c | |
parent | 413ca0dfef83b98f7b230e0596ac086d42eaad4e (diff) | |
download | libtdevnc-6f9a9160c4006aecfc8ca5248e7e4bf8154aff62.tar.gz libtdevnc-6f9a9160c4006aecfc8ca5248e7e4bf8154aff62.zip |
Fix some compiler warnings thrown with newer gcc.
Diffstat (limited to 'libvncserver/websockets.c')
-rw-r--r-- | libvncserver/websockets.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libvncserver/websockets.c b/libvncserver/websockets.c index 425bc15..8cd96d3 100644 --- a/libvncserver/websockets.c +++ b/libvncserver/websockets.c @@ -622,7 +622,8 @@ webSocketsDecodeHybi(rfbClientPtr cl, char *dst, int len) int i; unsigned char opcode; ws_ctx_t *wsctx = (ws_ctx_t *)cl->wsctx; - int flength, fin, fhlen; + int flength, fhlen; + /* int fin; */ /* not used atm */ // rfbLog(" <== %s[%d]: %d cl: %p, wsctx: %p-%p (%d)\n", __func__, gettid(), len, cl, wsctx, (char *)wsctx + sizeof(ws_ctx_t), sizeof(ws_ctx_t)); @@ -662,7 +663,7 @@ webSocketsDecodeHybi(rfbClientPtr cl, char *dst, int len) } opcode = header->b0 & 0x0f; - fin = (header->b0 & 0x80) >> 7; + /* fin = (header->b0 & 0x80) >> 7; */ /* not used atm */ flength = header->b1 & 0x7f; /* |