summaryrefslogtreecommitdiff
path: root/server/connectionVTP.c
diff options
context:
space:
mode:
authorschmirl <schmirl>2007-04-16 11:01:02 +0000
committerschmirl <schmirl>2007-04-16 11:01:02 +0000
commit3ceb716ea9492ba1eb3331882a44b0d733426752 (patch)
treef3e15c1644ea780e3325c7ad8449c157862cc7a1 /server/connectionVTP.c
parent69b754bef9e45c3f92be1e37c177c41a1fcba41c (diff)
downloadvdr-plugin-streamdev-3ceb716ea9492ba1eb3331882a44b0d733426752.tar.gz
vdr-plugin-streamdev-3ceb716ea9492ba1eb3331882a44b0d733426752.tar.bz2
Use compiler flag -Wall. Cleanup code as necessary.
(#171 Thanks to Rolf Ahrenberg) Modified Files: Makefile streamdev-server.c server/connection.h server/connectionHTTP.c server/connectionVTP.c tools/source.c
Diffstat (limited to 'server/connectionVTP.c')
-rw-r--r--server/connectionVTP.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/server/connectionVTP.c b/server/connectionVTP.c
index 18ea353..514c5a0 100644
--- a/server/connectionVTP.c
+++ b/server/connectionVTP.c
@@ -1,5 +1,5 @@
/*
- * $Id: connectionVTP.c,v 1.8 2007/03/02 15:27:07 schmirl Exp $
+ * $Id: connectionVTP.c,v 1.9 2007/04/16 11:01:02 schmirl Exp $
*/
#include "server/connectionVTP.h"
@@ -153,8 +153,6 @@ cLSTEHandler::~cLSTEHandler()
bool cLSTEHandler::Next(bool &Last)
{
- char *buffer;
-
if (m_Error != NULL) {
Last = true;
cString str(m_Error, true);
@@ -562,8 +560,6 @@ bool cConnectionVTP::Command(char *Cmd)
bool cConnectionVTP::CmdCAPS(char *Opts)
{
- char *buffer;
-
if (strcasecmp(Opts, "TS") == 0) {
m_NoTSPIDS = true;
return Respond(220, "Ignored, capability \"%s\" accepted for "