summaryrefslogtreecommitdiffstats
path: root/x11vnc/connections.c
diff options
context:
space:
mode:
authorrunge <runge>2009-01-04 04:56:53 +0000
committerrunge <runge>2009-01-04 04:56:53 +0000
commit91174efbb8e2fb09520477af6593f99b865777b0 (patch)
tree796e0213305556909052c8ea203c048eab732353 /x11vnc/connections.c
parent4fdb4cc67f1563156593e5b3deca80acf35f39ed (diff)
downloadlibtdevnc-91174efbb8e2fb09520477af6593f99b865777b0.tar.gz
libtdevnc-91174efbb8e2fb09520477af6593f99b865777b0.zip
x11vnc: fix compiler warnings.
Diffstat (limited to 'x11vnc/connections.c')
-rw-r--r--x11vnc/connections.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/x11vnc/connections.c b/x11vnc/connections.c
index e759707..ee1ba1d 100644
--- a/x11vnc/connections.c
+++ b/x11vnc/connections.c
@@ -2833,6 +2833,7 @@ static void turn_off_truecolor_ad(rfbClientPtr client) {
*/
rfbBool password_check_chat_helper(rfbClientPtr cl, const char* response, int len) {
+ if (response || len) {}
if (cl != chat_window_client) {
rfbLog("invalid client during chat_helper login\n");
return FALSE;
@@ -2851,12 +2852,14 @@ rfbBool password_check_chat_helper(rfbClientPtr cl, const char* response, int le
}
enum rfbNewClientAction new_client_chat_helper(rfbClientPtr client) {
+ if (client) {}
client->clientGoneHook = client_gone_chat_helper;
rfbLog("new chat helper\n");
return(RFB_CLIENT_ACCEPT);
}
void client_gone_chat_helper(rfbClientPtr client) {
+ if (client) {}
rfbLog("finished chat helper\n");
chat_window_client = NULL;
}