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
b660368a
Commit
b660368a
authored
Sep 03, 2020
by
Evgeniy Isaev
Committed by
Mouse
Sep 23, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed `unused-variable` warning on release build
parent
b34f7bf1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
skeletons/BIT_STRING.c
skeletons/BIT_STRING.c
+1
-0
skeletons/OCTET_STRING.c
skeletons/OCTET_STRING.c
+1
-0
skeletons/asn_random_fill.c
skeletons/asn_random_fill.c
+1
-0
No files found.
skeletons/BIT_STRING.c
View file @
b660368a
...
@@ -271,6 +271,7 @@ BIT_STRING_compare(const asn_TYPE_descriptor_t *td, const void *aptr,
...
@@ -271,6 +271,7 @@ BIT_STRING_compare(const asn_TYPE_descriptor_t *td, const void *aptr,
const
BIT_STRING_t
*
b
=
BIT_STRING__compactify
(
bptr
,
&
compact_b
);
const
BIT_STRING_t
*
b
=
BIT_STRING__compactify
(
bptr
,
&
compact_b
);
const
asn_OCTET_STRING_specifics_t
*
specs
=
td
->
specifics
;
const
asn_OCTET_STRING_specifics_t
*
specs
=
td
->
specifics
;
(
void
)
specs
;
assert
(
specs
&&
specs
->
subvariant
==
ASN_OSUBV_BIT
);
assert
(
specs
&&
specs
->
subvariant
==
ASN_OSUBV_BIT
);
if
(
a
&&
b
)
{
if
(
a
&&
b
)
{
...
...
skeletons/OCTET_STRING.c
View file @
b660368a
...
@@ -2199,6 +2199,7 @@ OCTET_STRING_compare(const asn_TYPE_descriptor_t *td, const void *aptr,
...
@@ -2199,6 +2199,7 @@ OCTET_STRING_compare(const asn_TYPE_descriptor_t *td, const void *aptr,
const
OCTET_STRING_t
*
a
=
aptr
;
const
OCTET_STRING_t
*
a
=
aptr
;
const
OCTET_STRING_t
*
b
=
bptr
;
const
OCTET_STRING_t
*
b
=
bptr
;
(
void
)
specs
;
assert
(
!
specs
||
specs
->
subvariant
!=
ASN_OSUBV_BIT
);
assert
(
!
specs
||
specs
->
subvariant
!=
ASN_OSUBV_BIT
);
if
(
a
&&
b
)
{
if
(
a
&&
b
)
{
...
...
skeletons/asn_random_fill.c
View file @
b660368a
...
@@ -43,6 +43,7 @@ asn_random_between(intmax_t lb, intmax_t rb) {
...
@@ -43,6 +43,7 @@ asn_random_between(intmax_t lb, intmax_t rb) {
uintmax_t
value
=
0
;
uintmax_t
value
=
0
;
uintmax_t
got_entropy
=
0
;
uintmax_t
got_entropy
=
0
;
(
void
)
intmax_max
;
assert
(
RAND_MAX
>
0xffffff
);
/* Seen 7ffffffd! */
assert
(
RAND_MAX
>
0xffffff
);
/* Seen 7ffffffd! */
assert
(
range
<
intmax_max
);
assert
(
range
<
intmax_max
);
...
...
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