Avoid "unused variable" compiler warning

This commit is contained in:
Ryan Griege 2023-03-12 21:03:31 -05:00
parent abc67a11c6
commit aebf3a0b60

View File

@ -1923,6 +1923,7 @@ repeated_field_pack_to_buffer(const ProtobufCFieldDescriptor *field,
buffer->append(buffer, rv, scratch); buffer->append(buffer, rv, scratch);
tmp = pack_buffer_packed_payload(field, count, array, buffer); tmp = pack_buffer_packed_payload(field, count, array, buffer);
assert(tmp == payload_len); assert(tmp == payload_len);
(void)tmp;
return rv + payload_len; return rv + payload_len;
} else { } else {
size_t siz; size_t siz;