Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
33e71c37
Commit
33e71c37
authored
May 15, 2017
by
Uwe Schulzweida
Browse files
gridInqXYIscSerial: remove check of grid type.
parent
217e93e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grid.c
View file @
33e71c37
...
...
@@ -1569,8 +1569,10 @@ static
int
gridInqXIscSerial
(
grid_t
*
gridptr
)
{
int
clen
=
gridptr
->
x
.
clength
;
/*
if ( gridptr->type != GRID_CHARXY )
Error("Axis type is 'char' but grid is not type 'GRID_CHARXY'.");
*/
return
clen
;
}
...
...
@@ -1665,8 +1667,10 @@ static
int
gridInqYIscSerial
(
grid_t
*
gridptr
)
{
int
clen
=
gridptr
->
y
.
clength
;
/*
if ( gridptr->type != GRID_CHARXY )
Error("Axis type is 'char' but grid is not type 'GRID_CHARXY'.");
*/
return
clen
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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