From 3ceb716ea9492ba1eb3331882a44b0d733426752 Mon Sep 17 00:00:00 2001 From: schmirl Date: Mon, 16 Apr 2007 11:01:02 +0000 Subject: 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 --- server/connectionHTTP.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'server/connectionHTTP.c') diff --git a/server/connectionHTTP.c b/server/connectionHTTP.c index a526da9..5f0beef 100644 --- a/server/connectionHTTP.c +++ b/server/connectionHTTP.c @@ -1,5 +1,5 @@ /* - * $Id: connectionHTTP.c,v 1.10 2006/01/26 19:40:18 lordjaxom Exp $ + * $Id: connectionHTTP.c,v 1.11 2007/04/16 11:01:02 schmirl Exp $ */ #include @@ -41,6 +41,8 @@ bool cConnectionHTTP::Command(char *Cmd) } Dprintf("header\n"); return true; + default: + break; } return false; // ??? shouldn't happen } @@ -153,7 +155,7 @@ bool cConnectionHTTP::CmdGET(const std::string &Opts) { const char *sp = Opts.c_str(), *ptr = sp, *ep; const cChannel *chan; - int apid = 0, pos; + int apid = 0; ptr = skipspace(ptr); while (*ptr == '/') -- cgit v1.2.3