Merge pull request #453 from wolframroesler/no-unused-parameter

Avoid "unused function parameter" compiler warning
This commit is contained in:
Robert Edmonds 2021-02-18 21:36:05 -05:00 committed by GitHub
commit 38af0d26ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,12 +148,14 @@ protobuf_c_version_number(void)
static void *
system_alloc(void *allocator_data, size_t size)
{
(void)allocator_data;
return malloc(size);
}
static void
system_free(void *allocator_data, void *data)
{
(void)allocator_data;
free(data);
}