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
spbro
protobuf-c
Commits
cdab7b8a
Unverified
Commit
cdab7b8a
authored
Jul 02, 2023
by
Robert Edmonds
Committed by
GitHub
Jul 02, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #545 from rgriege/fix-clang-warning
Avoid "unused variable" compiler warning
parents
8fd6cf4b
aebf3a0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
protobuf-c/protobuf-c.c
protobuf-c/protobuf-c.c
+1
-0
No files found.
protobuf-c/protobuf-c.c
View file @
cdab7b8a
...
@@ -1923,6 +1923,7 @@ repeated_field_pack_to_buffer(const ProtobufCFieldDescriptor *field,
...
@@ -1923,6 +1923,7 @@ repeated_field_pack_to_buffer(const ProtobufCFieldDescriptor *field,
buffer
->
append
(
buffer
,
rv
,
scratch
);
buffer
->
append
(
buffer
,
rv
,
scratch
);
tmp
=
pack_buffer_packed_payload
(
field
,
count
,
array
,
buffer
);
tmp
=
pack_buffer_packed_payload
(
field
,
count
,
array
,
buffer
);
assert
(
tmp
==
payload_len
);
assert
(
tmp
==
payload_len
);
(
void
)
tmp
;
return
rv
+
payload_len
;
return
rv
+
payload_len
;
}
else
{
}
else
{
size_t
siz
;
size_t
siz
;
...
...
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