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
f1677917
Commit
f1677917
authored
Feb 09, 2018
by
Bi-Ruei, Chiu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove 'missing braces' and 'unused-const-variable' warning
parent
b8a6be0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
libasn1compiler/asn1c_ioc.c
libasn1compiler/asn1c_ioc.c
+4
-1
No files found.
libasn1compiler/asn1c_ioc.c
View file @
f1677917
...
...
@@ -259,6 +259,9 @@ emit_ioc_table(arg_t *arg, asn1p_expr_t *context, asn1c_ioc_table_and_objset_t i
}
}
if
(
ioc_tao
.
ioct
->
rows
==
0
)
return
0
;
/* Emit the Information Object Set */
OUT
(
"static const asn_ioc_cell_t asn_IOS_%s_%d_rows[] = {
\n
"
,
MKID
(
ioc_tao
.
objset
),
ioc_tao
.
objset
->
_type_unique_index
);
...
...
@@ -285,7 +288,7 @@ emit_ioc_table(arg_t *arg, asn1p_expr_t *context, asn1c_ioc_table_and_objset_t i
OUT
(
"static const asn_ioc_set_t asn_IOS_%s_%d[] = {
\n
"
,
MKID
(
ioc_tao
.
objset
),
ioc_tao
.
objset
->
_type_unique_index
);
INDENT
(
+
1
);
OUT
(
"
%zu, %zu, asn_IOS_%s_%d_rows
\n
"
,
ioc_tao
.
ioct
->
rows
,
columns
,
OUT
(
"
{ %zu, %zu, asn_IOS_%s_%d_rows }
\n
"
,
ioc_tao
.
ioct
->
rows
,
columns
,
MKID
(
ioc_tao
.
objset
),
ioc_tao
.
objset
->
_type_unique_index
);
INDENT
(
-
1
);
OUT
(
"};
\n
"
);
...
...
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