Commit eb919f27 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Fix typo.

parent 406e7976
Pipeline #4670 passed with stages
in 25 minutes and 33 seconds
......@@ -49,7 +49,7 @@
#include "mpmo_color.h"
#include "cdi_lockedIO.h"
int scan_par_obsolate(char *namelist, const char *name, int def);
int scan_par_obsolete(char *namelist, const char *name, int def);
void scan_code(char *namelist, struct Variable *vars, int maxCodes, int *numCodes);
int scan_par(int verbose, char *namelist, const char *name, int def);
int scan_time(int verbose, char *namelist, int *hours, int max_hours);
......@@ -1210,8 +1210,8 @@ after_parini(struct Control *globs, struct Variable *vars)
if (globs->Mean >= 2) afterAbort("Namelist parameter MEAN=%d out of bounds (0:1)", globs->Mean);
const auto fileFormat = scan_par(globs->Verbose, namelist, "format", -1);
const auto gribFormat = scan_par_obsolate(namelist, "grib", 0);
const auto cdfFormat = scan_par_obsolate(namelist, "netcdf", 0);
const auto gribFormat = scan_par_obsolete(namelist, "grib", 0);
const auto cdfFormat = scan_par_obsolete(namelist, "netcdf", 0);
if (gribFormat && cdfFormat) afterAbort("GRIB or NetCDF?");
......
......@@ -501,7 +501,7 @@ getNormOpt(void)
{
NormOpt normOpt(NormOpt::FRACAREA);
char *envstr = getenv("CDO_REMAP_NORMALIZE_OPT"); // obsolate
char *envstr = getenv("CDO_REMAP_NORMALIZE_OPT"); // obsolete
if (envstr && *envstr)
{
if (memcmp(envstr, "frac", 4) == 0)
......
......@@ -30,7 +30,7 @@ amatch(char *msr, const char *sub)
}
int
scan_par_obsolate(char *namelist, const char *name, int def)
scan_par_obsolete(char *namelist, const char *name, int def)
{
int value;
......
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