From 265b3f1e1e65cb05ad87d8734c54a8b1d2a798c2 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 28 Mar 2007 17:43:56 +0000 Subject: [PATCH] eliminate gcc warnings --- panda/src/downloader/httpChannel.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/panda/src/downloader/httpChannel.cxx b/panda/src/downloader/httpChannel.cxx index 95217531ba..c111f2cee5 100644 --- a/panda/src/downloader/httpChannel.cxx +++ b/panda/src/downloader/httpChannel.cxx @@ -1985,6 +1985,9 @@ run_reading_body() { _state = HTTPChannel::S_failure; _status_entry._status_code = HTTPChannel::SC_lost_connection; break; + + default: + break; } if (!_body_stream->is_closed()) { @@ -2116,6 +2119,9 @@ run_download_to_file() { _state = HTTPChannel::S_failure; _status_entry._status_code = HTTPChannel::SC_lost_connection; break; + + default: + break; } if (_body_stream->is_closed()) { @@ -2177,6 +2183,9 @@ run_download_to_ram() { _state = HTTPChannel::S_failure; _status_entry._status_code = HTTPChannel::SC_lost_connection; break; + + default: + break; } if (_body_stream->is_closed()) {