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
6bf28484
Commit
6bf28484
authored
Jun 02, 2015
by
Thomas Jahns
🤸
Browse files
Conditionally compile conditionally used function.
parent
e0dac8ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_gribapi.c
View file @
6bf28484
...
...
@@ -682,6 +682,7 @@ compvar2_t gribapiVarSet(int param, int level1, int level2, int leveltype, int t
}
#endif
#ifdef HAVE_LIBGRIB_API
static
int
gribapiVarCompare
(
compvar2_t
compVar
,
record_t
record
,
int
flag
)
{
...
...
@@ -706,7 +707,6 @@ int gribapiVarCompare(compvar2_t compVar, record_t record, int flag)
return
(
rstatus
);
}
#if defined (HAVE_LIBGRIB_API)
static
void
ensureBufferSize
(
size_t
requiredSize
,
size_t
*
curSize
,
unsigned
char
**
buffer
)
{
if
(
*
curSize
<
requiredSize
)
{
...
...
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