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()) {