Browse Source

eliminate gcc warnings

David Rose 18 years ago
parent
commit
265b3f1e1e
1 changed files with 9 additions and 0 deletions
  1. 9 0
      panda/src/downloader/httpChannel.cxx

+ 9 - 0
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()) {