i guess this is too rude

git-svn-id: https://protobuf-c.googlecode.com/svn/trunk@180 00440858-1255-0410-a3e6-75ea37f81c3a
This commit is contained in:
lahiker42 2009-03-10 02:51:10 +00:00
parent 73f34af0d7
commit cb95ca9c64

View File

@ -1483,7 +1483,8 @@ protobuf_c_message_unpack (const ProtobufCMessageDescriptor *desc,
} }
case PROTOBUF_C_WIRE_TYPE_START_GROUP: case PROTOBUF_C_WIRE_TYPE_START_GROUP:
case PROTOBUF_C_WIRE_TYPE_END_GROUP: case PROTOBUF_C_WIRE_TYPE_END_GROUP:
PROTOBUF_C_ASSERT_NOT_REACHED (); UNPACK_ERROR (("unsupported group tag at offset %u", (unsigned)(at-data)));
goto error_cleanup;
case PROTOBUF_C_WIRE_TYPE_32BIT: case PROTOBUF_C_WIRE_TYPE_32BIT:
if (rem < 4) if (rem < 4)
{ {