Hi all,

what i discuss with Tor

i mean the construct 
         (void) bSuccess;
         assert(bSuccess);
is a little bit ugly
 
In <assert.h>
 
#ifdef  NDEBUG
 
#define assert(_Expression)     ((void)0)
 
#else
 
Why '((void)0)' better empty or
 
we define this
 
#ifdef  NDEBUG
 
#define assert(_Expression)     ((void) (Expression) )
 
#else
 
 
But I am not really sure for work in all situations, but we can do define a 
special macro for this situation
 
 
Juergen


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to