Unverified Commit 38af0d26 authored by Robert Edmonds's avatar Robert Edmonds Committed by GitHub

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

Avoid "unused function parameter" compiler warning
parents 1afa3f67 a60f2680
...@@ -148,12 +148,14 @@ protobuf_c_version_number(void) ...@@ -148,12 +148,14 @@ protobuf_c_version_number(void)
static void * static void *
system_alloc(void *allocator_data, size_t size) system_alloc(void *allocator_data, size_t size)
{ {
(void)allocator_data;
return malloc(size); return malloc(size);
} }
static void static void
system_free(void *allocator_data, void *data) system_free(void *allocator_data, void *data)
{ {
(void)allocator_data;
free(data); free(data);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment