About UT_ASSERT


Subject: About UT_ASSERT
From: Joaquin Cuenca Abela (cuenca@celium.net)
Date: Fri May 04 2001 - 07:29:00 CDT


in ie_exp.cpp, line 62, we have:

        UT_ASSERT(m_sniffers.addItem (s, &ndx) == UT_OK);

but if we define NDEBUG, UT_ASSERT will expand to nothing, thus in
production conditions it will be equivalent to:

 ;

when I think that it should be equivalent to:

 m_sniffers.addItem (s, &ndx);

Am I missing something?

Cheers,

-- 
Joaquín Cuenca Abela
cuenca@celium.net



This archive was generated by hypermail 2b25 : Sat May 26 2001 - 03:51:02 CDT