The unified diff between revisions [7a3b7b90..] and [b0cf63e6..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'dbutil.h'

#
#
# patch "dbutil.h"
#  from [80bc2ed10e5685a75b4443d9eceadf5159889df9]
#    to [a25abeaa6c6edd0eb90f9c4b67c387a0dc8069e2]
#
============================================================
--- dbutil.h	80bc2ed10e5685a75b4443d9eceadf5159889df9
+++ dbutil.h	a25abeaa6c6edd0eb90f9c4b67c387a0dc8069e2
@@ -68,6 +68,10 @@ void setnonblocking(int fd);
 #define DEF_MP_INT(X) mp_int X = {0, 0, 0, NULL}

 /* Dropbear assertion */
+#ifndef NDEBUG
 #define dropbear_assert(X) do { if (!(X)) { fail_assert(#X, __FILE__, __LINE__); } } while (0)
+#else
+#define dropbear_assert(X)
+#endif

 #endif /* _DBUTIL_H_ */