moving definition of nc_set_log_level() to nothing

This commit is contained in:
Ed Hartnett 2018-07-16 12:09:40 -06:00
parent c4196ce5ec
commit 6a27bbcec6

View File

@ -42,6 +42,10 @@ void nc_log_hdf5(void);
#else /* LOGGING */
/* These definitions will be used unless LOGGING is defined. */
#ifndef ENABLE_SET_LOG_LEVEL
/* Define away any calls to nc_set_log_level(), if its not enabled. */
#define nc_set_log_level(e)
#endif /* ENABLE_SET_LOG_LEVEL */
#define LOG(e)
@ -54,11 +58,6 @@ void nc_log_hdf5(void);
#endif /* LOGGING */
#ifndef ENABLE_SET_LOG_LEVEL
/* Define away any calls to nc_set_log_level(), if its not enabled. */
#define nc_set_log_level(e)
#endif /* ENABLE_SET_LOG_LEVEL */
/* To log an error message (if 'LOGGING' is defined), set retval, and jump to exit. */
#define BAIL(e) \
do { \