summaryrefslogtreecommitdiff
path: root/osdworker.c
diff options
context:
space:
mode:
authorStefan Schallenberg <infos@nafets.de>2013-09-11 22:22:07 +0200
committerStefan Schallenberg <infos@nafets.de>2013-09-11 22:22:07 +0200
commit02d155ebe1a7d27aea3a4c1d99d2f9bf91b619a6 (patch)
tree939c3e0a9e30cecb13977477c1f69e0e9bb59875 /osdworker.c
parent0b8bf3d58c09daa4ef7ec5bc9e02efad001af097 (diff)
downloadvdr-plugin-ffnetdev-02d155ebe1a7d27aea3a4c1d99d2f9bf91b619a6.tar.gz
vdr-plugin-ffnetdev-02d155ebe1a7d27aea3a4c1d99d2f9bf91b619a6.tar.bz2
Compiler warnings eliminatedHEADmaster
Diffstat (limited to 'osdworker.c')
-rw-r--r--osdworker.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/osdworker.c b/osdworker.c
index c928f03..16f0345 100644
--- a/osdworker.c
+++ b/osdworker.c
@@ -652,7 +652,6 @@ void cOSDWorker::Action(void) {
*/
//fprintf(stderr, "State: %d\n",state);
- int res;
switch (state) {
case NO_CLIENT: /* Accept connecting OSD clients */
@@ -686,7 +685,7 @@ void cOSDWorker::Action(void) {
case CLIENT_CONNECTED:
rfbProtocolVersionMsg pvmsg;
- res = m_OSDClient->Read(&pvmsg, sz_rfbProtocolVersionMsg);
+ m_OSDClient->Read(&pvmsg, sz_rfbProtocolVersionMsg);
#ifdef DEBUG
fprintf(stderr, "[ffnetdev] VNC: Client wants RFB protocol version %s\n", pvmsg);
#endif
@@ -729,7 +728,7 @@ void cOSDWorker::Action(void) {
break;
case AUTHENTICATED:
rfbClientInitMsg cimsg;
- res = m_OSDClient->Read(&cimsg, sz_rfbClientInitMsg);
+ m_OSDClient->Read(&cimsg, sz_rfbClientInitMsg);
#ifdef DEBUG
fprintf(stderr, "[ffnetdev] VNC: Client wants %s desktop(ignored).\n",
cimsg.shared ? "shared":"non-shared");