mirror of
https://github.com/protobuf-c/protobuf-c.git
synced 2025-01-14 01:07:57 +08:00
Merge pull request #453 from wolframroesler/no-unused-parameter
Avoid "unused function parameter" compiler warning
This commit is contained in:
commit
38af0d26ab
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user