Commit 6bf28484 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Conditionally compile conditionally used function.

parent e0dac8ed
......@@ -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 )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment