mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-18 17:29:28 +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
|
assertion. (view_file_load_data): Make sure the right datasource
|
||||||
is selected. (view_set_byte): This function is only expected to
|
is selected. (view_set_byte): This function is only expected to
|
||||||
be called when datasource == DS_FILE. Removed unused code.
|
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>
|
2005-06-28 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
|
@ -190,11 +190,13 @@ void refresh_screen (void *);
|
|||||||
/* C++ style type casts */
|
/* C++ style type casts */
|
||||||
#define const_cast(m_type, m_expr) ((m_type) (m_expr))
|
#define const_cast(m_type, m_expr) ((m_type) (m_expr))
|
||||||
|
|
||||||
|
#if 0
|
||||||
#ifdef MC_ENABLE_DEBUGGING_CODE
|
#ifdef MC_ENABLE_DEBUGGING_CODE
|
||||||
# undef NDEBUG
|
# undef NDEBUG
|
||||||
#else
|
#else
|
||||||
# define NDEBUG
|
# define NDEBUG
|
||||||
#endif
|
#endif
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user