Use assert instead of abort

This commit is contained in:
Tatsuhiro Tsujikawa 2012-03-30 00:02:42 +09:00
parent ba56ed6c48
commit db04143f32

View File

@ -53,7 +53,7 @@ void spdylay_outbound_item_free(spdylay_outbound_item *item)
case SPDYLAY_NOOP:
/* We don't have any public API to add NOOP, so here is
unreachable. */
abort();
assert(0);
case SPDYLAY_PING:
spdylay_frame_ping_free(&frame->ping);
break;