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
e0dac8ed
Commit
e0dac8ed
authored
Jun 02, 2015
by
Thomas Jahns
🤸
Browse files
Conditionally compile conditionally used function.
parent
52fa38cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_gribapi.c
View file @
e0dac8ed
...
...
@@ -767,6 +767,7 @@ grib_handle* gribapiGetDiskRepresentation(size_t recsize, size_t* buffersize, un
}
#endif
#if defined (HAVE_LIBGRIB_API)
typedef
enum
{
CHECKTIME_OK
,
CHECKTIME_SKIP
,
CHECKTIME_STOP
,
CHECKTIME_INCONSISTENT
}
checkTimeResult
;
static
checkTimeResult
checkTime
(
stream_t
*
streamptr
,
compvar2_t
compVar
,
const
DateTime
*
verificationTime
,
const
DateTime
*
expectedVTime
)
{
//First determine whether the current record exists already.
...
...
@@ -793,6 +794,7 @@ static checkTimeResult checkTime(stream_t* streamptr, compvar2_t compVar, const
}
return
CHECKTIME_OK
;
}
#endif
#define gribWarning(text, nrecs, timestep, varname, param, level1, level2) do \
{ \
...
...
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