mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
moving definition of nc_set_log_level() to nothing
This commit is contained in:
parent
c4196ce5ec
commit
6a27bbcec6
@ -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 { \
|
||||
|
Loading…
Reference in New Issue
Block a user