Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
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
asn1c
Commits
5c5d7325
Commit
5c5d7325
authored
Sep 03, 2020
by
Evgeniy Isaev
Committed by
Mouse
Sep 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed `maybe-uninitialized` warning
parent
f2811e45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
skeletons/OBJECT_IDENTIFIER.c
skeletons/OBJECT_IDENTIFIER.c
+5
-2
No files found.
skeletons/OBJECT_IDENTIFIER.c
View file @
5c5d7325
...
...
@@ -147,7 +147,8 @@ static ssize_t
OBJECT_IDENTIFIER__dump_body
(
const
OBJECT_IDENTIFIER_t
*
st
,
asn_app_consume_bytes_f
*
cb
,
void
*
app_key
)
{
char
scratch
[
32
];
asn_oid_arc_t
arc0
,
arc1
;
asn_oid_arc_t
arc0
=
0
;
asn_oid_arc_t
arc1
=
0
;
size_t
produced
=
0
;
size_t
off
=
0
;
ssize_t
rd
;
...
...
@@ -217,6 +218,7 @@ OBJECT_IDENTIFIER__xer_body_decode(const asn_TYPE_descriptor_t *td, void *sptr,
}
else
if
(
num_arcs
==
0
)
{
return
XPBD_NOT_BODY_IGNORE
;
}
(
void
)
chunk_end
;
assert
(
endptr
==
chunk_end
);
if
((
size_t
)
num_arcs
>
sizeof
(
s_arcs
)
/
sizeof
(
s_arcs
[
0
]))
{
...
...
@@ -293,7 +295,8 @@ OBJECT_IDENTIFIER_print(const asn_TYPE_descriptor_t *td, const void *sptr,
ssize_t
OBJECT_IDENTIFIER_get_arcs
(
const
OBJECT_IDENTIFIER_t
*
st
,
asn_oid_arc_t
*
arcs
,
size_t
arc_slots
)
{
asn_oid_arc_t
arc0
,
arc1
;
asn_oid_arc_t
arc0
=
0
;
asn_oid_arc_t
arc1
=
0
;
size_t
num_arcs
=
0
;
size_t
off
;
ssize_t
rd
;
...
...
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