Commit 18eaa51a authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

xtypeIsInt: cleanup.

parent efd9fecb
...@@ -264,13 +264,11 @@ bool xtypeIsFloat(nc_type xtype) ...@@ -264,13 +264,11 @@ bool xtypeIsFloat(nc_type xtype)
static static
bool xtypeIsInt(nc_type xtype) bool xtypeIsInt(nc_type xtype)
{ {
const bool isInt = xtype == NC_SHORT || xtype == NC_INT const bool isInt = xtype == NC_SHORT || xtype == NC_INT || xtype == NC_BYTE
|| xtype == NC_BYTE
#ifdef HAVE_NETCDF4 #ifdef HAVE_NETCDF4
|| xtype == NC_USHORT || xtype == NC_UINT || xtype == NC_USHORT || xtype == NC_UINT || xtype == NC_UBYTE
|| xtype == NC_UBYTE
#endif #endif
; ;
return isInt; return isInt;
} }
......
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