mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
* global.h: Don't use MC_ENABLE_DEBUGGING_CODE to decide whether
to enable or disable assertions. Just use the default value.
This commit is contained in:
parent
7f25b3154b
commit
6e5508ef14
@ -5,6 +5,8 @@
|
||||
assertion. (view_file_load_data): Make sure the right datasource
|
||||
is selected. (view_set_byte): This function is only expected to
|
||||
be called when datasource == DS_FILE. Removed unused code.
|
||||
* global.h: Don't use MC_ENABLE_DEBUGGING_CODE to decide whether
|
||||
to enable or disable assertions. Just use the default value.
|
||||
|
||||
2005-06-28 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
|
@ -190,11 +190,13 @@ void refresh_screen (void *);
|
||||
/* C++ style type casts */
|
||||
#define const_cast(m_type, m_expr) ((m_type) (m_expr))
|
||||
|
||||
#if 0
|
||||
#ifdef MC_ENABLE_DEBUGGING_CODE
|
||||
# undef NDEBUG
|
||||
#else
|
||||
# define NDEBUG
|
||||
#endif
|
||||
#include <assert.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user