summaryrefslogtreecommitdiff
path: root/ci.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-12-06 12:57:45 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-12-06 12:57:45 +0100
commit6a208294bef44f588e067383aa2e35af1aa23a16 (patch)
tree463f2aa875c26a6d0df507c2559a9bb821111082 /ci.c
parent1b973fd8ebb0a5dca7c82fac0651c33ecb7edd50 (diff)
downloadvdr-6a208294bef44f588e067383aa2e35af1aa23a16.tar.gz
vdr-6a208294bef44f588e067383aa2e35af1aa23a16.tar.bz2
Several code modifications to avoid compiler warnings
Diffstat (limited to 'ci.c')
-rw-r--r--ci.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/ci.c b/ci.c
index 8db1853c..c2d4415f 100644
--- a/ci.c
+++ b/ci.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: ci.c 2.3 2009/08/16 13:21:07 kls Exp $
+ * $Id: ci.c 2.4 2009/12/05 15:51:12 kls Exp $
*/
#include "ci.h"
@@ -1424,6 +1424,15 @@ bool cCiTransportConnection::Process(cTPDU *TPDU)
SendTPDU(T_DTC_REPLY);
state = stIDLE;
return true;
+ case T_RCV:
+ case T_CREATE_TC:
+ case T_CTC_REPLY:
+ case T_DTC_REPLY:
+ case T_NEW_TC:
+ case T_TC_ERROR:
+ break;
+ default:
+ esyslog("ERROR: unknown TPDU tag: 0x%02X (%s)", TPDU->Tag(), __FUNCTION__);
}
}
else if (timer.TimedOut())
@@ -1443,6 +1452,8 @@ bool cCiTransportConnection::Process(cTPDU *TPDU)
state = stIDLE;
}
return true;
+ default:
+ esyslog("ERROR: unknown state: %d (%s)", state, __FUNCTION__);
}
return true;
}
@@ -1668,6 +1679,8 @@ void cCamSlot::Process(cTPDU *TPDU)
NewConnection();
resendPmt = caProgramList.Count() > 0;
break;
+ default:
+ esyslog("ERROR: unknown module status %d (%s)", ms, __FUNCTION__);
}
lastModuleStatus = ms;
}