eliminate gcc warnings

This commit is contained in:
David Rose 2007-03-28 17:43:56 +00:00
parent f487846371
commit 265b3f1e1e

View File

@ -1985,6 +1985,9 @@ run_reading_body() {
_state = HTTPChannel::S_failure; _state = HTTPChannel::S_failure;
_status_entry._status_code = HTTPChannel::SC_lost_connection; _status_entry._status_code = HTTPChannel::SC_lost_connection;
break; break;
default:
break;
} }
if (!_body_stream->is_closed()) { if (!_body_stream->is_closed()) {
@ -2116,6 +2119,9 @@ run_download_to_file() {
_state = HTTPChannel::S_failure; _state = HTTPChannel::S_failure;
_status_entry._status_code = HTTPChannel::SC_lost_connection; _status_entry._status_code = HTTPChannel::SC_lost_connection;
break; break;
default:
break;
} }
if (_body_stream->is_closed()) { if (_body_stream->is_closed()) {
@ -2177,6 +2183,9 @@ run_download_to_ram() {
_state = HTTPChannel::S_failure; _state = HTTPChannel::S_failure;
_status_entry._status_code = HTTPChannel::SC_lost_connection; _status_entry._status_code = HTTPChannel::SC_lost_connection;
break; break;
default:
break;
} }
if (_body_stream->is_closed()) { if (_body_stream->is_closed()) {