Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
protobuf-c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
protobuf-c
Commits
38af0d26
Unverified
Commit
38af0d26
authored
Feb 18, 2021
by
Robert Edmonds
Committed by
GitHub
Feb 18, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #453 from wolframroesler/no-unused-parameter
Avoid "unused function parameter" compiler warning
parents
1afa3f67
a60f2680
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
protobuf-c/protobuf-c.c
protobuf-c/protobuf-c.c
+2
-0
No files found.
protobuf-c/protobuf-c.c
View file @
38af0d26
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment