diff --git a/lib/http_chunks.c b/lib/http_chunks.c
index 89c86091839ce6e509e755bdd5fa56ddb5368640..d4badeb9067b1dd4dfe295c5d69d103e75ca7677 100644
--- a/lib/http_chunks.c
+++ b/lib/http_chunks.c
@@ -214,10 +214,8 @@ CHUNKcode Curl_httpchunk_read(struct connectdata *conn,
          even if there's no more chunks to read */
       ch->dataleft = length;
       return CHUNKE_STOP; /* return stop */
-#if 0
     default:
       return CHUNKE_STATE_ERROR;
-#endif
     }
   }
   return CHUNKE_OK;