From 58742cde51f692c8b95b92da16f4f1e2b2e7d006 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 7 Oct 2008 10:00:21 -0700 Subject: Fixing a few warnings. --- lib/HttpServ.cc | 1 + lib/MailClient.cc | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/HttpServ.cc b/lib/HttpServ.cc index b67f5f3..ec320bc 100644 --- a/lib/HttpServ.cc +++ b/lib/HttpServ.cc @@ -951,4 +951,5 @@ String HttpResponse::code_to_string() { case HTTP_503_SERVICE_UNAVAILABLE: return "Service Unavailable"; } + return "Unknown return code " + String(return_code); } diff --git a/lib/MailClient.cc b/lib/MailClient.cc index 50e06c8..6ae1a73 100644 --- a/lib/MailClient.cc +++ b/lib/MailClient.cc @@ -147,7 +147,6 @@ String MailClient::getNext() { } int MailClient::Do() throw (GeneralException) { - int code; std::vector::iterator i; String n; -- cgit v1.2.3