Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
C-datadec
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
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
Duncan White
C-datadec
Commits
7fa7f7b1
Commit
7fa7f7b1
authored
Dec 15, 1997
by
css1dw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed embarrassing bug in print_all_params - null check
in the wrong place - failed to check properly!
parent
001bc34e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
decs.c
decs.c
+7
-6
No files found.
decs.c
View file @
7fa7f7b1
...
...
@@ -882,15 +882,16 @@ static void print_all_params( d, s ) declnlist d; shapelist s;
}
else
{
n
=
pl
->
item
->
num
;
for
(
p
=
s
->
params
;
--
n
;
p
=
p
->
next
)
for
(
p
=
s
->
params
;
p
!=
NULL
&&
--
n
;
p
=
p
->
next
)
;
if
(
p
==
NULL
)
{
if
(
p
==
NULL
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"datadec: bad printitem in shape %s of type %s
\n
"
,
s
->
name
,
d
->
name
);
exit
(
1
);
}
exit
(
1
);
}
print_param
(
s
,
p
,
d
->
Union
);
}
...
...
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