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
29507275
Unverified
Commit
29507275
authored
Mar 29, 2024
by
Mouse
Committed by
GitHub
Mar 29, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update asn1print.c
Address compiler warnings on uninitialized variables
parent
52f46700
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
libasn1print/asn1print.c
libasn1print/asn1print.c
+4
-4
No files found.
libasn1print/asn1print.c
View file @
29507275
...
...
@@ -61,7 +61,7 @@ static int safe_printf(const char *fmt, ...) {
/* Pedantically check fwrite's return value. */
static
size_t
safe_fwrite
(
const
void
*
ptr
,
size_t
size
)
{
size_t
ret
;
size_t
ret
=
0
;
switch
(
print_method_
)
{
case
PRINT_STDOUT
:
...
...
@@ -82,7 +82,7 @@ static size_t safe_fwrite(const void *ptr, size_t size) {
*/
int
asn1print
(
asn1p_t
*
asn
,
enum
asn1print_flags
flags
)
{
asn1p_module_t
*
mod
;
asn1p_module_t
*
mod
=
NULL
;
int
modno
=
0
;
if
(
asn
==
NULL
)
{
...
...
@@ -111,7 +111,7 @@ asn1print(asn1p_t *asn, enum asn1print_flags flags) {
static
int
asn1print_module
(
asn1p_t
*
asn
,
asn1p_module_t
*
mod
,
enum
asn1print_flags
flags
)
{
asn1p_expr_t
*
tc
;
asn1p_expr_t
*
tc
=
NULL
;
if
(
flags
&
APF_PRINT_XML_DTD
)
safe_printf
(
"<!-- ASN.1 module
\n
"
);
...
...
@@ -169,7 +169,7 @@ asn1print_module(asn1p_t *asn, asn1p_module_t *mod, enum asn1print_flags flags)
static
int
asn1print_oid
(
int
prior_len
,
asn1p_oid_t
*
oid
,
enum
asn1print_flags
flags
)
{
size_t
accum
=
prior_len
;
int
ac
;
int
ac
=
0
;
(
void
)
flags
;
/* Unused argument */
...
...
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