mirror of https://github.com/ecmwf/eccodes.git
Do not print PRE-RELEASE
This commit is contained in:
parent
49f3e1a0b3
commit
08ec4aff72
|
@ -230,9 +230,11 @@ void grib_print_api_version(FILE* out)
|
|||
ECCODES_MAJOR_VERSION,
|
||||
ECCODES_MINOR_VERSION,
|
||||
ECCODES_REVISION_VERSION);
|
||||
if (ECCODES_MAJOR_VERSION < 1) {
|
||||
fprintf(out, "%s", " PRE-RELEASE");
|
||||
}
|
||||
/*
|
||||
* if (ECCODES_MAJOR_VERSION < 1) {
|
||||
* fprintf(out, "%s", " PRE-RELEASE");
|
||||
* }
|
||||
*/
|
||||
}
|
||||
|
||||
static grib_context default_grib_context = {
|
||||
|
|
|
@ -62,7 +62,7 @@ int main( int argc,char* argv[])
|
|||
printf("\n");
|
||||
printf("eccodes Version %d.%d.%d",
|
||||
major,minor,revision);
|
||||
if (ECCODES_MAJOR_VERSION < 1) printf(" PRE-RELEASE");
|
||||
/* if (ECCODES_MAJOR_VERSION < 1) printf(" PRE-RELEASE"); */
|
||||
printf("\n");
|
||||
printf("\n");
|
||||
#if GRIB_PTHREADS
|
||||
|
|
Loading…
Reference in New Issue