From e10ad6bed8f3d4a8b1f510b753bacfdcb3e324a0 Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Mon, 7 Mar 2016 10:48:04 -0700 Subject: [PATCH] Removing duplicated errors, in support of https://github.com/Unidata/netcdf-c/issues/213 --- libsrc/ncx.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/libsrc/ncx.h b/libsrc/ncx.h index e414e3f119..7615dd7ea3 100644 --- a/libsrc/ncx.h +++ b/libsrc/ncx.h @@ -39,21 +39,6 @@ #define CRAYFLOAT 1 /* CRAY Floating point */ #endif -/* - * The integer return code for the conversion routines - * is 0 (ENOERR) when no error occurred, or NC_ERANGE as appropriate - * for an overflow conversion. - */ -#ifndef ENOERR -#define ENOERR 0 -#endif -#ifndef NC_ERANGE -#define NC_ERANGE (-60) /* N.B. must match value in netcdf.h */ -#endif -#ifndef NC_ENOMEM -#define NC_ENOMEM (-61) /* N.B. must match value in netcdf.h */ -#endif - /* * External sizes of the primitive elements.