• Marko Mäkelä's avatar
    Use DBUG_ASSERT(ptr != NULL) to ease merging to 10.3 · 4387e3a1
    Marko Mäkelä authored
    In 10.3, DBUG_ASSERT() may expand to something that includes
    __builtin_expect(), which expects integer arguments, not pointers.
    To avoid any compiler warnings, let us use an explicit rather than
    implicit comparison to the null pointer.
    4387e3a1
ilist.h 6.27 KB