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
304a70e9
Commit
304a70e9
authored
Nov 13, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove warnings
parent
288e95d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
skeletons/constr_SET_OF.c
skeletons/constr_SET_OF.c
+1
-2
No files found.
skeletons/constr_SET_OF.c
View file @
304a70e9
...
@@ -320,7 +320,6 @@ static int _el_buf_cmp(const void *ap, const void *bp) {
...
@@ -320,7 +320,6 @@ static int _el_buf_cmp(const void *ap, const void *bp) {
else
else
common_len
=
b
->
length
;
common_len
=
b
->
length
;
//constr_SET_OF.c:315:13: runtime error: null pointer passed as argument 1, which is declared to never be null
if
(
a
->
buf
&&
b
->
buf
)
{
if
(
a
->
buf
&&
b
->
buf
)
{
ret
=
memcmp
(
a
->
buf
,
b
->
buf
,
common_len
);
ret
=
memcmp
(
a
->
buf
,
b
->
buf
,
common_len
);
}
}
...
@@ -489,8 +488,8 @@ SET_OF_encode_der(const asn_TYPE_descriptor_t *td, const void *sptr,
...
@@ -489,8 +488,8 @@ SET_OF_encode_der(const asn_TYPE_descriptor_t *td, const void *sptr,
SET_OF__encode_sorted_free
(
encoded_els
,
list
->
count
);
SET_OF__encode_sorted_free
(
encoded_els
,
list
->
count
);
if
(
edx
==
list
->
count
)
{
if
(
edx
==
list
->
count
)
{
assert
(
computed_size
==
(
size_t
)
encoding_size
);
asn_enc_rval_t
erval
;
asn_enc_rval_t
erval
;
assert
(
computed_size
==
(
size_t
)
encoding_size
);
erval
.
encoded
=
computed_size
;
erval
.
encoded
=
computed_size
;
ASN__ENCODED_OK
(
erval
);
ASN__ENCODED_OK
(
erval
);
}
else
{
}
else
{
...
...
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