mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2024-12-26 12:41:01 +08:00
Merge pull request #545 from rgriege/fix-clang-warning
Avoid "unused variable" compiler warning
This commit is contained in:
commit
cdab7b8a1a
@ -1923,6 +1923,7 @@ repeated_field_pack_to_buffer(const ProtobufCFieldDescriptor *field,
|
||||
buffer->append(buffer, rv, scratch);
|
||||
tmp = pack_buffer_packed_payload(field, count, array, buffer);
|
||||
assert(tmp == payload_len);
|
||||
(void)tmp;
|
||||
return rv + payload_len;
|
||||
} else {
|
||||
size_t siz;
|
||||
|
Loading…
x
Reference in New Issue
Block a user