mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-27 13:31:02 +08:00
Avoid "unused variable" compiler warning
This commit is contained in:
parent
abc67a11c6
commit
aebf3a0b60
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user