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 */
|
#else /* LOGGING */
|
||||||
|
|
||||||
/* These definitions will be used unless LOGGING is defined. */
|
/* 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)
|
#define LOG(e)
|
||||||
|
|
||||||
@ -54,11 +58,6 @@ void nc_log_hdf5(void);
|
|||||||
|
|
||||||
#endif /* LOGGING */
|
#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. */
|
/* To log an error message (if 'LOGGING' is defined), set retval, and jump to exit. */
|
||||||
#define BAIL(e) \
|
#define BAIL(e) \
|
||||||
do { \
|
do { \
|
||||||
|
Loading…
Reference in New Issue
Block a user