mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
eliminate gcc warnings
This commit is contained in:
parent
f487846371
commit
265b3f1e1e
@ -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()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user